|
For the latest news and information visit The GNU Crypto project |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.crypto.sasl.crammd5.CramMD5AuthInfoProvider
The CRAM-MD5 mechanism authentication information provider implementation.
Constructor Summary | |
---|---|
CramMD5AuthInfoProvider()
|
Method Summary | |
---|---|
void |
activate(Map context)
Activates (initialises) this provider instance. |
boolean |
contains(String userName)
Checks if a user with a designated name is known to this provider. |
Map |
getConfiguration(String mode)
A provider may operate in more than mode; e.g. |
Map |
lookup(Map userID)
Returns a collection of information about a designated user. |
void |
passivate()
Passivates (releases) this provider instance. |
void |
update(Map userCredentials)
Updates the credentials of a designated user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CramMD5AuthInfoProvider()
Method Detail |
public void activate(Map context) throws AuthenticationException
IAuthInfoProvider
activate
in interface IAuthInfoProvider
context
- a collection of name-value bindings describing the
activation context.
AuthenticationException
public void passivate() throws AuthenticationException
IAuthInfoProvider
passivate
in interface IAuthInfoProvider
AuthenticationException
public boolean contains(String userName) throws AuthenticationException
IAuthInfoProvider
contains
in interface IAuthInfoProvider
userName
- the name of a user to check.
true
if the user with the designated name is known to
this provider; false
otherwise.
AuthenticationException
public Map lookup(Map userID) throws AuthenticationException
IAuthInfoProvider
lookup
in interface IAuthInfoProvider
userID
- a map of name-to-value bindings that fully describe a user.
AuthenticationException
public void update(Map userCredentials) throws AuthenticationException
IAuthInfoProvider
update
in interface IAuthInfoProvider
userCredentials
- a map of name-to-value bindings that fully describe
a user, including per new credentials.
AuthenticationException
public Map getConfiguration(String mode) throws AuthenticationException
IAuthInfoProvider
getConfiguration
in interface IAuthInfoProvider
mode
- a unique identifier describing the operational mode.
AuthenticationException
|
For the latest news and information visit The GNU Crypto project |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |