|
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 | ||||||||||
The visible methods of any authentication information provider.
| 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. |
| Method Detail |
public void activate(java.util.Map context)
throws AuthenticationException
context - a collection of name-value bindings describing the
activation context.
AuthenticationException - if an exception occurs during the operation.
public void passivate()
throws AuthenticationException
AuthenticationException - if an exception occurs during the operation.
public boolean contains(java.lang.String userName)
throws AuthenticationException
userName - 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
userID - 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
userCredentials - 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
mode - 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 | ||||||||||