Modifier and Type | Method and Description |
---|---|
long |
getCreatedTimeInMillis()
Deprecated.
returns the Created in milliseconds time format
|
String |
getNonce()
Deprecated.
returns the nonce, as encoded in the token
|
String |
getPassword()
Deprecated.
Returns the token's password, if available.
|
String |
getPasswordDigest()
Deprecated.
returns the password digest, as encoded in the token
|
String |
getPasswordType()
Deprecated.
returns the password type for the token.
|
UserInfo |
getUserInfo()
Deprecated.
Returns the UserInfo contained in the UsernameToken
|
String |
getUsername()
Deprecated.
Returns the tokens username.
|
void |
setGenerateNonce(boolean nonce)
Deprecated.
|
void |
setId(String id)
Deprecated.
Sets the ID attribute of the UsernameToken.
|
boolean |
verifyDigest(String password)
Deprecated.
If the token contains a digest, this method will verify the digest against
the provided password
|
getCertificate, getCertificateChain, getId, getPrivateKey, getPublicKey, getSecretKey
String getUsername()
String getPassword()
String getPasswordDigest()
String getPasswordType()
void setId(String id) throws SecurityProcessingException
id
- SecurityProcessingException
boolean verifyDigest(String password) throws NoSuchAlgorithmException
password
- NoSuchAlgorithmException
UserInfo getUserInfo()
void setGenerateNonce(boolean nonce)
String getNonce()
long getCreatedTimeInMillis()