Class AMTokenProvider

  • All Implemented Interfaces:
    TokenProvider

    public class AMTokenProvider
    extends Object
    implements TokenProvider
    This class implements the TokenProvider interface to generate the WS-Security tokens.

    This token provider is the default implementation which uses the default XMLSignatureManager and the KeyProvider for token generation.

    • Constructor Detail

      • AMTokenProvider

        public AMTokenProvider​(SSOToken token)
                        throws SSOException
        Default constructor
        Parameters:
        token - Single sign-on token
        Throws:
        SSOException - if the single sign on token is invalid.
    • Method Detail

      • init

        public void init​(SecurityTokenSpec tokenSpec)
        Initialize the AMTokenProvider to generate the necessary security token.
        Specified by:
        init in interface TokenProvider
        Parameters:
        tokenSpec - the token specification required to generate the security token.