|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.beepcore.beep.profile.sasl.otp.database.UserDatabaseImpl
This class is an implementation of UserDatabase interface. It uses the java.util.Property class, which uses the local filesystem, to store SASL OTP user databases.
| Method Summary | |
java.lang.String |
getAlgorithmName()
Method getAlgorithmName |
java.lang.String |
getAuthenticator()
Method getLastHash |
byte[] |
getLastHash()
Method getLastHash |
java.lang.String |
getLastHashAsString()
Method getLastHash |
java.lang.String |
getSeed()
Method getLastHash |
int |
getSequence()
Method getLastHash |
void |
updateLastHash(java.lang.String hash)
Method updateLastHash |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getAlgorithmName()
getAlgorithmName in interface UserDatabase
public byte[] getLastHash()
throws SASLException
getLastHash in interface UserDatabaseSASLExceptionpublic java.lang.String getLastHashAsString()
getLastHashAsString in interface UserDatabasepublic java.lang.String getSeed()
getSeed in interface UserDatabasepublic int getSequence()
getSequence in interface UserDatabasepublic java.lang.String getAuthenticator()
getAuthenticator in interface UserDatabase
public void updateLastHash(java.lang.String hash)
throws SASLException
updateLastHash in interface UserDatabasehash - String is the new hash value to be stored
in the user database, for use in comparison the next time
they try to authenticate.
SASLException - in the event that the update causes
an exception to be thrown during the OTP database update.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||