com.ibm.wsspi.wssecurity.auth.token

Class LTPATokenWrapper

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.token.WSSToken
  3. extended bycom.ibm.wsspi.wssecurity.auth.token.LTPAToken
  4. extended bycom.ibm.wsspi.wssecurity.auth.token.LTPATokenWrapper
All implemented interfaces:
PropagationToken, Token, java.lang.Cloneable

  1. public class LTPATokenWrapper
  2. 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

Nested Class Summary

Nested classes/interfaces inherited from class com.ibm.wsspi.wssecurity.auth.token.WSSToken
WSSToken.AttributesEnumerator

Field Summary

Fields inherited from class com.ibm.wsspi.wssecurity.auth.token.WSSToken
_attributes, _callerChecked, _error, _keyInfoType, _processed, _referenced, _tokenelem, _tokenId, _trusted, _usedTokenConsumer, _usedTokenGenerator, _usedToLogin, _version, _vtype

Constructor Summary

Constructor and Description
LTPATokenWrapper(java.lang.String tokenId,byte[] cred)
Constructor
LTPATokenWrapper(java.lang.String tokenId,byte[] cred,java.lang.String username,char[] password,org.w3c.dom.Element elem)
Constructor
LTPATokenWrapper(java.lang.String tokenId,byte[] cred,com.ibm.websphere.security.cred.WSCredential wsCred,com.ibm.websphere.security.auth.WSPrincipal princ)
Constructor

Method Summary

Modifier and Type Method and Description
  1. com.ibm.websphere.security.cred.WSCredential
getWSCredential()
Protected by Java 2 Security permission com.ibm.websphere.security.WebSphereRuntimePermission("wssecurity.LTPATokenWrapper.getWSCredential")
  1. com.ibm.websphere.security.auth.WSPrincipal
getWSPrincipal()
  1. java.lang.String
toString()
Methods inherited from class com.ibm.wsspi.wssecurity.auth.token.LTPAToken
equals, getBytes, getExpiration, getPrincipal, getUniqueID, hashCode, isValid, setBytes
Methods inherited from class com.ibm.wsspi.wssecurity.auth.token.WSSToken
addAttribute, clone, getAttributeNames, getAttributes, getCallerChecked, getElement, getError, getId, getKeyInfoType, getName, getType, getUsedTokenConsumer, getUsedTokenGenerator, getUsedToLogin, getVersion, isForwardable, isProcessed, isReadOnly, isReferenced, isTrusted, setCallerChecked, setElement, setError, setId, setKeyInfoType, setProcessed, setReadOnly, setReferenced, setTrusted, setType, setType, setUsedTokenConsumer, setUsedTokenGenerator, setUsedToLogin
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

LTPATokenWrapper

  1. public LTPATokenWrapper(java.lang.String tokenId,
  2. byte[] cred,
  3. java.lang.String username,
  4. char[] password,
  5. 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

  1. public LTPATokenWrapper(java.lang.String tokenId,
  2. byte[] cred)
Constructor

LTPATokenWrapper

  1. public LTPATokenWrapper(java.lang.String tokenId,
  2. byte[] cred,
  3. com.ibm.websphere.security.cred.WSCredential wsCred,
  4. com.ibm.websphere.security.auth.WSPrincipal princ)
Constructor

Method Detail

getWSCredential

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

getWSPrincipal

  1. public com.ibm.websphere.security.auth.WSPrincipal getWSPrincipal( )

toString

  1. public java.lang.String toString( )
Overrides:
toString in class LTPAToken