|
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.Object | +--gnu.crypto.sasl.plain.PlainAuthInfoProvider
The PLAIN mechanism authentication information provider implementation.
| Field Summary |
|---|
| Fields inherited from interface gnu.crypto.sasl.plain.PlainRegistry |
|---|
DEFAULT_PASSWORD_FILE, DIR_FIELD, GECOS_FIELD, GID_FIELD, PASSWORD_FILE, SHELL_FIELD, UID_FIELD |
| Constructor Summary | |
|---|---|
PlainAuthInfoProvider()
|
|
| Method Summary | |
|---|---|
void |
activate(java.util.Map context)
Activates (initialises) this provider instance. |
boolean |
contains(java.lang.String userName)
Checks if a user with a designated name is known to this provider. |
java.util.Map |
getConfiguration(java.lang.String mode)
A provider may operate in more than mode; e.g. |
java.util.Map |
lookup(java.util.Map userID)
Returns a collection of information about a designated user. |
void |
passivate()
Passivates (releases) this provider instance. |
void |
update(java.util.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 PlainAuthInfoProvider()
| Method Detail |
public void activate(java.util.Map context)
throws AuthenticationException
IAuthInfoProvider
activate in interface IAuthInfoProvidercontext - a collection of name-value bindings describing the
activation context.
AuthenticationException - if an exception occurs during the operation.
public void passivate()
throws AuthenticationException
IAuthInfoProvider
passivate in interface IAuthInfoProviderAuthenticationException - if an exception occurs during the operation.
public boolean contains(java.lang.String userName)
throws AuthenticationException
IAuthInfoProvider
contains in interface IAuthInfoProvideruserName - the name of a user to check.
true if the user with the designated name is known to
this provider; false otherwise.
AuthenticationException - if an exception occurs during the operation.
public java.util.Map lookup(java.util.Map userID)
throws AuthenticationException
IAuthInfoProvider
lookup in interface IAuthInfoProvideruserID - a map of name-to-value bindings that fully describe a user.
AuthenticationException - if an exception occurs during the operation.
public void update(java.util.Map userCredentials)
throws AuthenticationException
IAuthInfoProvider
update in interface IAuthInfoProvideruserCredentials - a map of name-to-value bindings that fully describe
a user, including per new credentials.
AuthenticationException - if an exception occurs during the operation.
public java.util.Map getConfiguration(java.lang.String mode)
throws AuthenticationException
IAuthInfoProvider
getConfiguration in interface IAuthInfoProvidermode - a unique identifier describing the operational mode.
AuthenticationException - if an exception occurs during the operation.
|
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 | ||||||||||