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:
javax.security.auth.callback.Callback

public class PasswordValidationCallback
extends XWSSCallback
implements javax.security.auth.callback.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.


Nested Class Summary
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
           
 
Constructor Summary
PasswordValidationCallback(PasswordValidationCallback.Request request)
           
 
Method Summary
 PasswordValidationCallback.Request getRequest()
           
 boolean getResult()
           
 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
equals, 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.



Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.