Class STSClientUserToken

  • All Implemented Interfaces:
    ClientUserToken, com.sun.xml.ws.security.Token

    public class STSClientUserToken
    extends Object
    implements ClientUserToken
    This class implements ClientUserToken for on behalf of token that will be used to pass end user OpenAM SSO Token to the STS service.
    • Constructor Detail

      • STSClientUserToken

        public STSClientUserToken()
        Creates a new instance of STSClientUserToken
    • Method Detail

      • parse

        public void parse​(Element element)
                   throws FAMSTSException
        Description copied from interface: ClientUserToken
        Parses the custom token element. This method is used at the receiving end (STS server side).
        Specified by:
        parse in interface ClientUserToken
        Parameters:
        element - the custom token element
        Throws:
        FAMSTSException - if the token element cannot be parsed.
      • getTokenValue

        public Element getTokenValue()
        Specified by:
        getTokenValue in interface com.sun.xml.ws.security.Token
      • getTokenId

        public String getTokenId()
      • toString

        public String toString()
        Description copied from interface: ClientUserToken
        Returns the java.lang.String representation of this client user token.
        Specified by:
        toString in interface ClientUserToken
        Overrides:
        toString in class Object
        Returns:
        the string format for this client user token.
      • getType

        public String getType()
        Specified by:
        getType in interface com.sun.xml.ws.security.Token
      • getAppTokenID

        public String getAppTokenID()
        Returns the Application/Client token value.
        Returns:
        the Application/Client token value.