public class PasswordValidationCallback extends Object implements Callback
Constructor and Description |
---|
PasswordValidationCallback(Subject subject,
String username,
char[] password)
Create a new PasswordValidationCallback.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 otherwiseCopyright © 2012 JBoss by Red Hat. All Rights Reserved.