public class LTPATokenWrapper extends LTPAToken
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.WSSToken.AttributesEnumerator_attributes, _callerChecked, _error, _keyInfoType, _processed, _referenced, _tokenelem, _tokenId, _trusted, _usedTokenConsumer, _usedTokenGenerator, _usedToLogin, _version, _vtype| 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
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.websphere.security.cred.WSCredential |
getWSCredential()
Protected by Java 2 Security permission
com.ibm.websphere.security.WebSphereRuntimePermission("wssecurity.LTPATokenWrapper.getWSCredential")
|
com.ibm.websphere.security.auth.WSPrincipal |
getWSPrincipal() |
java.lang.String |
toString() |
equals, getBytes, getExpiration, getPrincipal, getUniqueID, hashCode, isValid, setBytesaddAttribute, 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, setUsedToLoginpublic LTPATokenWrapper(java.lang.String tokenId,
byte[] cred,
java.lang.String username,
char[] password,
org.w3c.dom.Element elem)
tokenId - The token identifiercred - A byte[] containing the credentialusername - The username string; may be null if there is no usernamepassword - The password as a char[]; may be null if there is no passwordelem - A token element; may be null if there is no token elementpublic LTPATokenWrapper(java.lang.String tokenId,
byte[] cred)
tid - The token identifiercred - A byte[] containing the credentialpublic LTPATokenWrapper(java.lang.String tokenId,
byte[] cred,
com.ibm.websphere.security.cred.WSCredential wsCred,
com.ibm.websphere.security.auth.WSPrincipal princ)
tid - The token identifiercred - A byte[] containing the credentialwsc]Cred - A WSCredential objectpublic com.ibm.websphere.security.cred.WSCredential getWSCredential()
public com.ibm.websphere.security.auth.WSPrincipal getWSPrincipal()