Home » geronimo-2.2-source-release » org.apache.geronimo.security.realm.providers » [javadoc | source]
public class: NamedUsernamePasswordCredentialLoginModule [javadoc | source]

All Implemented Interfaces:

Inserts named Username/Password credential into private credentials of Subject.

If either the username or password is not passed in the callback handler, then the credential is not placed into the Subject. This login module does not check credentials so it should never be able to cause a login to succeed. Therefore the lifecycle methods must return false to indicate success or throw a LoginException to indicate failure.

Field Summary
public static final  String CREDENTIAL_NAME     
public static final  String CREDENTIAL_NAME_LONG     
public static final  List<String> supportedOptions     
Method from org.apache.geronimo.security.realm.providers.NamedUsernamePasswordCredentialLoginModule Summary:
abort,   commit,   initialize,   login,   logout
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.security.realm.providers.NamedUsernamePasswordCredentialLoginModule Detail:
 public boolean abort() throws LoginException 
 public boolean commit() throws LoginException 
 public  void initialize(Subject subject,
    CallbackHandler callbackHandler,
    Map sharedState,
    Map options) 
 public boolean login() throws LoginException 
 public boolean logout() throws LoginException