Class RelToken

    • Constructor Detail

      • RelToken

        public RelToken​(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
                        Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
                        com.sun.xml.ws.policy.AssertionSet nestedAlternative)
        Creates a new instance of RelToken
    • Method Detail

      • getTokenType

        public String getTokenType()
        Description copied from interface: RelToken
        returns the type of the token.
        Specified by:
        getTokenType in interface RelToken
        Returns:
        one of WSS_REL_V10_TOKEN10,WSS_REL_V20_TOKEN10,WSS_REL_V10_TOKEN11,WSS_REL_V20_TOKEN11
      • getTokenRefernceType

        public Iterator getTokenRefernceType()
        Description copied from interface: RelToken
        returns a Iterator over the token reference types to be used.
        Specified by:
        getTokenRefernceType in interface RelToken
        Returns:
        either REQUIRE_KEY_IDENTIFIER_REFERENCE
      • isRequireDerivedKeys

        public boolean isRequireDerivedKeys()
        Description copied from interface: RelToken
        returns true if RequiredDerivedKey element is present under REL Token.
        Specified by:
        isRequireDerivedKeys in interface RelToken
        Returns:
        true if RequireDerviedKeys element is present under REL Token or false.
      • getIncludeToken

        public String getIncludeToken()
        Description copied from interface: Token
        returns the token inclusion value
        Specified by:
        getIncludeToken in interface Token
        Returns:
        one of ONCE,NEVER,ALWAYS_TO_RECIPIENT,ALWAYS
      • getTokenId

        public String getTokenId()
        Description copied from interface: Token
        Unique Id assigned to the token.
        Specified by:
        getTokenId in interface Token
        Returns:
        String representation of the token id.