Package com.sun.xml.wss.impl.callback
Class PasswordValidationCallback.DigestPasswordRequest
java.lang.Object
com.sun.xml.wss.impl.callback.PasswordValidationCallback.DigestPasswordRequest
- All Implemented Interfaces:
PasswordValidationCallback.Request
- Enclosing class:
- PasswordValidationCallback
public static class PasswordValidationCallback.DigestPasswordRequest
extends Object
implements PasswordValidationCallback.Request
Represents a validation request when the password in the username token
is in digested form.
-
Constructor Summary
ConstructorsConstructorDescriptionDigestPasswordRequest(String userName, String digest, String nonce, String created) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetNonce()voidsetPassword(String password) This method must be invoked by the CallbackHandler while handling Callback initialized with DigestPasswordRequest.
-
Constructor Details
-
DigestPasswordRequest
Constructor.- Parameters:
userName-java.lang.Stringrepresenting Username.digest-java.lang.StringBase64 encoded form of Digested Password.nonce-java.lang.Stringrepresentation of unique Nonce used for calculating Digested password.created-java.security.Stringrepresentation of created time used for password digest calculation.
-
-
Method Details
-
setPassword
This method must be invoked by the CallbackHandler while handling Callback initialized with DigestPasswordRequest. -
getPassword
-
getUsername
-
getDigest
-
getNonce
-
getCreated
-