|
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 javax.security.sasl.AuthenticationException
context
- a collection of name-value bindings describing the
activation context.
javax.security.sasl.AuthenticationException
- if an exception occurs during the operation.public void passivate() throws javax.security.sasl.AuthenticationException
javax.security.sasl.AuthenticationException
- if an exception occurs during the operation.public boolean contains(java.lang.String userName) throws javax.security.sasl.AuthenticationException
userName
- the name of a user to check.
true
if the user with the designated name is known to
this provider; false
otherwise.
javax.security.sasl.AuthenticationException
- if an exception occurs during the operation.public java.util.Map lookup(java.util.Map userID) throws javax.security.sasl.AuthenticationException
userID
- a map of name-to-value bindings that fully describe a user.
javax.security.sasl.AuthenticationException
- if an exception occurs during the operation.public void update(java.util.Map userCredentials) throws javax.security.sasl.AuthenticationException
userCredentials
- a map of name-to-value bindings that fully describe
a user, including per new credentials.
javax.security.sasl.AuthenticationException
- if an exception occurs during the operation.public java.util.Map getConfiguration(java.lang.String mode) throws javax.security.sasl.AuthenticationException
mode
- a unique identifier describing the operational mode.
javax.security.sasl.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 |