Method clearCredential simply clears the credentials associated
with a given Session - this is typically done before a new
authentication is attempted.
Method finishInitiatorAuthentication basically says 'we've
authenticated successfully' and calls the tuningprofile
method (exposed by SASLProfile's extension of the core
class TuningProfile) which sets the local credential.
Method finishListenerAuthentication basically says 'some peer has
authenticated successfully' and calls the tuningprofile
method (exposed by SASLProfile's extension of the core
class TuningProfile) which sets the peer credential.
Method foldHash is provided for implementations, as the value
of the message digest hash must be folding into 64 bits before
it can be used by the SASLOTPProfile and its supporting classes.
foldHash(byte[]) -
Method in class org.beepcore.beep.profile.sasl.otp.algorithm.md5.MD5
foldHash(byte[]) -
Method in class org.beepcore.beep.profile.sasl.otp.algorithm.sha1.SHA1
Method getUser This method is provided as a means
for users of the OTP databases to retrieve the information
contained in them, in the form of an instance of
UserDatabase.
Method getUser This method is provided as a means
for users of the OTP databases to retrieve the information
contained in them, in the form of an instance of
UserDatabase.
This object is used to represent exceptions and errors relative
to the order in which OTP authentication is supposed to take
place, such as messages being sent out of order, that sort of thing.
This exception is used when a user attempts to authenticate via
SASL OTP and it is determined that the user has no more valid
hashes left in their OTP database.
Method receiveEvent is implemented here so the SASLSessionTable
can receive events when a session is terminated (so that it
can update its information about what sessions are actively
authenticated etc.
Method receiveEvent is implemented here so the SASLSessionTable
can receive events when a session is reset (so that it
can update its information about what sessions are actively
authenticated etc.
This class represents errors associated with either the
non-existence of a SASL OTP database for a given user,
or errors associated with reading or parsing of
the said database.