|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.sasl.VerifyPasswordCallback
public class VerifyPasswordCallback
This callback isused by SaslServer to determine if a password supplied by a client is verified. Under most circumstances the PasswordCallback should be used instead, but its use requires the underlying sercurity services have access to the stored password to perform a comparison. The security service provider instantiate and pass a VerifyPasswordCallback to the handle method of a CallbackHandler to verify password information.
PasswordCallback
,
CallbackHandler
,
Serialized FormConstructor Summary | |
---|---|
VerifyPasswordCallback(char[] password)
Construct a VerifyPasswordCallback . |
Method Summary | |
---|---|
void |
clearPassword()
Clear the retrieved password. |
char[] |
getPassword()
Get the retrieved password. |
boolean |
getVerified()
Determines wether the password is verified. |
void |
setVerified(boolean verified)
Indicate if this password is verified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VerifyPasswordCallback(char[] password)
VerifyPasswordCallback
.
password
- the password to verify.Method Detail |
---|
public char[] getPassword()
public void clearPassword()
public void setVerified(boolean verified)
verified
- true if the password is verified; false otherwisepublic boolean getVerified()
|
Openfire 3.4.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |