Package com.sun.xml.wss.impl.callback
Class PasswordValidationCallback
- java.lang.Object
-
- com.sun.xml.wss.impl.callback.XWSSCallback
-
- com.sun.xml.wss.impl.callback.PasswordValidationCallback
-
- All Implemented Interfaces:
Callback
public class PasswordValidationCallback extends XWSSCallback implements Callback
This Callback is intended for Username-Password validation. A validator that implements the PasswordValidator interface should be set on the callback by the callback handler.Note: A validator for WSS Digested Username-Password is provided as part of this callback.
- Author:
- XWS-Security Team
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPasswordValidationCallback.DerivedKeyPasswordRequeststatic classPasswordValidationCallback.DerivedKeyPasswordValidatorstatic classPasswordValidationCallback.DigestPasswordRequestRepresents a validation request when the password in the username token is in digested form.static classPasswordValidationCallback.DigestPasswordValidatorImplements WSS digest Password Validation.static classPasswordValidationCallback.PasswordValidationExceptionstatic interfacePasswordValidationCallback.PasswordValidatorInterface for validating password.static classPasswordValidationCallback.PlainTextPasswordRequestRepresents a validation request when the password in the username token is in plain text.static interfacePasswordValidationCallback.Requeststatic classPasswordValidationCallback.WsitDigestPasswordValidator
-
Constructor Summary
Constructors Constructor Description PasswordValidationCallback(PasswordValidationCallback.Request request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealmAuthenticationAdaptergetRealmAuthenticationAdapter()PasswordValidationCallback.RequestgetRequest()booleangetResult()PasswordValidationCallback.PasswordValidatorgetValidator()voidsetRealmAuthentcationAdapter(RealmAuthenticationAdapter adapter)voidsetValidator(PasswordValidationCallback.PasswordValidator validator)This method must be invoked by the CallbackHandler while handling this callback.-
Methods inherited from class com.sun.xml.wss.impl.callback.XWSSCallback
getRuntimeProperties
-
-
-
-
Constructor Detail
-
PasswordValidationCallback
public PasswordValidationCallback(PasswordValidationCallback.Request request)
-
-
Method Detail
-
getResult
public boolean getResult()
-
getRequest
public PasswordValidationCallback.Request getRequest()
-
setValidator
public void setValidator(PasswordValidationCallback.PasswordValidator validator)
This method must be invoked by the CallbackHandler while handling this callback.
-
getValidator
public PasswordValidationCallback.PasswordValidator getValidator()
-
setRealmAuthentcationAdapter
public void setRealmAuthentcationAdapter(RealmAuthenticationAdapter adapter)
-
getRealmAuthenticationAdapter
public RealmAuthenticationAdapter getRealmAuthenticationAdapter()
-
-