gnu.crypto.sasl
public interface IAuthInfoProvider
Version: $Revision: 1.2 $
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.
|
Parameters: context a collection of name-value bindings describing the activation context.
Throws: AuthenticationException if an exception occurs during the operation.
Parameters: userName the name of a user to check.
Returns: true
if the user with the designated name is known to
this provider; false
otherwise.
Throws: AuthenticationException if an exception occurs during the operation.
Parameters: mode a unique identifier describing the operational mode.
Returns: a collection of name-to-value bindings describing the designated mode.
Throws: AuthenticationException if an exception occurs during the operation.
Parameters: userID a map of name-to-value bindings that fully describe a user.
Returns: a collection of information about the designated user.
Throws: AuthenticationException if an exception occurs during the operation.
Throws: AuthenticationException if an exception occurs during the operation.
Parameters: userCredentials a map of name-to-value bindings that fully describe a user, including per new credentials.
Throws: AuthenticationException if an exception occurs during the operation.