|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.security.auth.message.callback.PasswordValidationCallback
public class PasswordValidationCallback
Callback for PasswordValidation.
| Constructor Summary | |
|---|---|
PasswordValidationCallback(Subject subject,
String username,
char[] password)
Create a new PasswordValidationCallback. |
|
| Method Summary | |
|---|---|
void |
clearPassword()
Clear the password. |
char[] |
getPassword()
Get the password. |
boolean |
getResult()
Get the authentication result. |
Subject |
getSubject()
|
String |
getUsername()
Get the username. |
void |
setResult(boolean result)
Set the authentication result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasswordValidationCallback(Subject subject,
String username,
char[] password)
username - the username to authenticatepassword - the user�s password, which may be null.| Method Detail |
|---|
public void clearPassword()
public char[] getPassword()
public Subject getSubject()
public boolean getResult()
public String getUsername()
public void setResult(boolean result)
result - true if authentication succeeded, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||