javax.security.auth.message.callback
Class PasswordValidationCallback

java.lang.Object
  extended by javax.security.auth.message.callback.PasswordValidationCallback
All Implemented Interfaces:
Callback

public class PasswordValidationCallback
extends Object
implements Callback

Callback that enables an authentication module to supply a username and password (to a runtime?) and determine if the result of validation.

Version:
$Rev: 617352 $ $Date: 2008-01-31 21:16:16 -0800 (Thu, 31 Jan 2008) $

Constructor Summary
PasswordValidationCallback(Subject subject, String username, char[] password)
           
 
Method Summary
 void clearPassword()
           
 char[] getPassword()
           
 boolean getResult()
           
 Subject getSubject()
           
 String getUsername()
           
 void setResult(boolean result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordValidationCallback

public PasswordValidationCallback(Subject subject,
                                  String username,
                                  char[] password)
Method Detail

getSubject

public Subject getSubject()

getUsername

public String getUsername()

getPassword

public char[] getPassword()

clearPassword

public void clearPassword()

getResult

public boolean getResult()

setResult

public void setResult(boolean result)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.