com.ibm.wsspi.wssecurity.auth.token

Class LTPATokenWrapper

  • All Implemented Interfaces:
    PropagationToken, Token, java.lang.Cloneable


    public class LTPATokenWrapper
    extends LTPAToken
    This class is a token object implementation for LTPA tokens. It extends the WSSToken class, which implements the Token class. It will typically be created by the LTPATokenGenerator and process by the LTPATokenConsumer. Protected by com.ibm.websphere.security.WebSphereRuntimePermission("wssecurity.LTPATokenWrapper.getWSCredential") Java 2 Security permission.
    See Also:
    WSSToken, Token
    • Constructor Detail

      • LTPATokenWrapper

        public LTPATokenWrapper(java.lang.String tokenId,
                        byte[] cred,
                        java.lang.String username,
                        char[] password,
                        org.w3c.dom.Element elem)
        Constructor
        Parameters:
        tokenId - The token identifier
        cred - A byte[] containing the credential
        username - The username string; may be null if there is no username
        password - The password as a char[]; may be null if there is no password
        elem - A token element; may be null if there is no token element
      • LTPATokenWrapper

        public LTPATokenWrapper(java.lang.String tokenId,
                        byte[] cred)
        Constructor
        Parameters:
        tid - The token identifier
        cred - A byte[] containing the credential
      • LTPATokenWrapper

        public LTPATokenWrapper(java.lang.String tokenId,
                        byte[] cred,
                        com.ibm.websphere.security.cred.WSCredential wsCred,
                        com.ibm.websphere.security.auth.WSPrincipal princ)
        Constructor
        Parameters:
        tid - The token identifier
        cred - A byte[] containing the credential
        wsc]Cred - A WSCredential object
    • Method Detail

      • getWSCredential

        public com.ibm.websphere.security.cred.WSCredential getWSCredential()
        Protected by Java 2 Security permission com.ibm.websphere.security.WebSphereRuntimePermission("wssecurity.LTPATokenWrapper.getWSCredential")
      • getWSPrincipal

        public com.ibm.websphere.security.auth.WSPrincipal getWSPrincipal()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class LTPAToken
IBM WebSphere Application ServerTM
Release 9.0