|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jdmk.security.sasl.AuthenticateCallback
public class AuthenticateCallback
This callback is used by SaslServer to verify the
authentication identity and password with the system authentication database.
| Constructor Summary | |
|---|---|
AuthenticateCallback(String authenticationID,
char[] password)
Constructs an instance of AuthenticateCallback. |
|
| Method Summary | |
|---|---|
void |
clearPassword()
Clear the password to check. |
String |
getAuthenticationID()
Returns the authentication identity to check. |
char[] |
getPassword()
Returns the password to check. |
boolean |
isAuthenticated()
Determines whether the authentication identity and password have been successfully verified by the system authentication database. |
void |
setAuthenticated(boolean ok)
Sets whether the authentication succeeded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticateCallback(String authenticationID,
char[] password)
authenticationID - The authentication identity.password - The password. This method makes a copy of the input
password before storing it.| Method Detail |
|---|
public String getAuthenticationID()
public char[] getPassword()
public boolean isAuthenticated()
setAuthenticated(boolean)public void setAuthenticated(boolean ok)
ok - true if authentication succeeded; false
otherwise.isAuthenticated()public void clearPassword()
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||