Home » openjdk-7 » javax.security » auth » message » callback » [javadoc | source]
public class: PasswordValidationCallback [javadoc | source]

All Implemented Interfaces:

Callback for PasswordValidation.
 public PasswordValidationCallback(Subject subject,
    String username,
    char[] password) 
    Create a new PasswordValidationCallback.
    username - the username to authenticate
    password - the user�s password, which may be null.
Method from javax.security.auth.message.callback.PasswordValidationCallback Summary:
clearPassword,   getPassword,   getResult,   getSubject,   getUsername,   setResult
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.security.auth.message.callback.PasswordValidationCallback Detail:
 public  void clearPassword() 
    Clear the password.
 public char[] getPassword() 
    Get the password. Note that this method returns a reference to the password. If a clone of the array is created it is the caller�s responsibility to zero out the password information after it is no longer needed.
 public boolean getResult() 
    Get the authentication result.
 public Subject getSubject() 
 public String getUsername() 
    Get the username.
 public  void setResult(boolean result) 
    Set the authentication result.