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

All Implemented Interfaces:

GeronimoPasswordCredentialLoginModule stores the user name and password in a GeronimoPasswordCredential. This allows an application to retrieve the subject through jacc or the geronimo specific ContextManager and find out what the password was. I can't think of any other reason to use it right now. 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  List<String> supportedOptions     
Method from org.apache.geronimo.security.realm.providers.GeronimoPasswordCredentialLoginModule 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.GeronimoPasswordCredentialLoginModule 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