com.sun.xml.wss.impl.callback
Class PasswordValidationCallback

java.lang.Object
  extended by com.sun.xml.wss.impl.callback.XWSSCallback
      extended by 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
static class PasswordValidationCallback.DerivedKeyPasswordRequest
           
static class PasswordValidationCallback.DerivedKeyPasswordValidator
           
static class PasswordValidationCallback.DigestPasswordRequest
          Represents a validation request when the password in the username token is in digested form.
static class PasswordValidationCallback.DigestPasswordValidator
          Implements WSS digest Password Validation.
static class PasswordValidationCallback.PasswordValidationException
           
static interface PasswordValidationCallback.PasswordValidator
          Interface for validating password.
static class PasswordValidationCallback.PlainTextPasswordRequest
          Represents a validation request when the password in the username token is in plain text.
static interface PasswordValidationCallback.Request
           
static class PasswordValidationCallback.WsitDigestPasswordValidator
           
 
Constructor Summary
PasswordValidationCallback(PasswordValidationCallback.Request request)
           
 
Method Summary
 RealmAuthenticationAdapter getRealmAuthenticationAdapter()
           
 PasswordValidationCallback.Request getRequest()
           
 boolean getResult()
           
 PasswordValidationCallback.PasswordValidator getValidator()
           
 void setRealmAuthentcationAdapter(RealmAuthenticationAdapter adapter)
           
 void setValidator(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.