Interface RolePlayer


  • public interface RolePlayer
    This interface represents the thing which provides us with the SOAP roles in a given context. Used to search through SOAP header blocks.
    • Method Detail

      • getRoles

        List<String> getRoles()
        Get a list of the roles supported. NOTE: the "next" role is automatically supported, and the "none" role (for SOAP 1.2) is automatically disallowed. The roles returned should only be the non-standard ones, since the ultimate destination role is also handled by the isUltimateDestination method below.
        Returns:
        a List containing URI Strings, one per custom role supported, or null
      • isUltimateDestination

        boolean isUltimateDestination()
        Are we the ultimate destination?
        Returns:
        true if this is the ultimate destination, false if an intermediary.