com.ibm.websphere.wssecurity.wssapi.token
Interface UsernameToken
All Superinterfaces:
- public interface UsernameToken
- extends SecurityToken
It defined by OASIS Web Services Security Username Token Profile 1.0.
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
TokenQname
Represents the QName of this class, <wsc:UsernameToken>.
|
|
ValueType
Represents the value type.
|
Fields inherited from interface com.ibm.websphere.wssecurity.wssapi.token.SecurityToken |
---|
DECRYPTING_KEY, ENCRYPTING_KEY, REF_EMBEDDED, REF_KEYID, REF_STR, REF_THUMBPRINT, SIGNING_KEY, VERIFING_KEY |
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getCreatedTime()
Returns created time stamp.
|
|
getNonce()
Returns nonce.
|
|
getPassword()
Returns the password.
|
|
getUsername()
Returns the username.
|
Methods inherited from interface com.ibm.websphere.wssecurity.wssapi.token.SecurityToken |
---|
getId, getKey, getKeyIdentifier, getKeyIdentifierEncodingType, getKeyIdentifierValueType, getKeyName, getPrincipal, getReferenceURI, getThumbprint, getThumbprintEncodingType, getThumbprintValueType, getTokenQname, getValueType, getXML |
Field Detail
ValueType
- static final javax.xml.namespace.QName ValueType
Represents the value type.
- ValueType:"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"
TokenQname
- static final javax.xml.namespace.QName TokenQname
Represents the QName of this class, <wsc:UsernameToken>.
- NamespaceURI: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
- LocalPart: "UsernameToken"
Method Detail
getUsername
- java.lang.String getUsername()
Returns the username.
Returns:
user name
getPassword
- char[] getPassword()
Returns the password.
Returns:
password
getCreatedTime
- java.util.Date getCreatedTime()
Returns created time stamp.
Returns:
created timestamp
getNonce
- byte[] getNonce()
Returns nonce.
Returns:
nonce