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

All Implemented Interfaces:

This login module should only be used if the user is already authenticated, such as from client cert or openid, and the only remaining task is to add group information. A LoginModule that reads groups from a file on disk. The file should be formatted using standard Java properties syntax. Expects to be run by a GenericSecurityRealm (doesn't work on its own).

This login module does not check security credentials so the lifecycle methods must return true to indicate success or throw a LoginException if the user is not known or supplied in the callback.

Field Summary
public static final  String GROUPS_URI     
public static final  List<String> supportedOptions     
final  Map<String> groups     
Method from org.apache.geronimo.security.realm.providers.PropertiesFileNoPasswordLoginModule Summary:
abort,   commit,   initialize,   loadProperties,   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.PropertiesFileNoPasswordLoginModule Detail:
 public boolean abort() throws LoginException 
 public boolean commit() throws LoginException 
 public  void initialize(Subject subject,
    CallbackHandler callbackHandler,
    Map sharedState,
    Map options) 
 public  void loadProperties(ServerInfo serverInfo,
    URI groupURI) throws GeronimoSecurityException 
 public boolean login() throws LoginException 
    This LoginModule is not to be ignored. So, this method should never return false.
 public boolean logout() throws LoginException