|
||||||||||
| 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 javax.security.sasl.SaslServer to verify the
authentication identity and password with the system authentication database.
| Constructor Summary | |
|---|---|
AuthenticateCallback(java.lang.String authenticationID,
char[] password)
Constructs an instance of AuthenticateCallback. |
|
| Method Summary | |
|---|---|
void |
clearPassword()
Clear the password to check. |
java.lang.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(java.lang.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 java.lang.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 01-ea opendmk-1.0-b01-ea 2010.10.20_19:39:55_UTC |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||