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

All Implemented Interfaces:

Writes audit records to a file for all authentication activity. Currently doesn't perform too well; perhaps the file management should be centralized and the IO objects kept open across many requests. It would also be nice to write in a more convenient XML format. This module does not write any Principals into the Subject. To enable this login module, set your primary login module to REQUIRED or OPTIONAL, and list this module after it (with any setting). 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 LOG_FILE_OPTION     
public static final  List<String> supportedOptions     
Method from org.apache.geronimo.security.realm.providers.FileAuditLoginModule 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.FileAuditLoginModule 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