|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.security.sasl.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()
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |