|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents all the information associated with a given user for SASL OTP, including password hashes, seeds, and the sequence number. It is designed to be implemented by classes that provide real-world storage for this information.
Method Summary | |
java.lang.String |
getAlgorithmName()
Method getAlgorithmName returns the algorithm associated with this particular user and OTP database. |
java.lang.String |
getAuthenticator()
Method getAuthenticator |
byte[] |
getLastHash()
Method getLastHash |
java.lang.String |
getLastHashAsString()
Method getLastHashAsString |
java.lang.String |
getSeed()
Method getSeed |
int |
getSequence()
Method getSequence |
void |
updateLastHash(java.lang.String hash)
Method updateLastHash |
Method Detail |
public java.lang.String getAlgorithmName()
public byte[] getLastHash() throws SASLException
SASLException
public java.lang.String getLastHashAsString()
public java.lang.String getSeed()
public int getSequence()
public java.lang.String getAuthenticator()
public void updateLastHash(java.lang.String hash) throws SASLException
hash
- String is the new hash value to be stored
in the user database.
SASLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |