public class FileLoginModule extends AbstractLoginModule
PASSWORD_FILE JVM system property. If this property is not set
an attempt will be made to read a users.properties file under
catalina.base/conf directory.
© Copyright 2010 Sans Pareil Technologies, Inc.
| Modifier and Type | Field and Description |
|---|---|
static String |
PASSWORD_FILE
The JVM system property that specifies the location of the properties file.
|
callbackHandler, logger, options, principal, role, sharedState, subject| Constructor and Description |
|---|
FileLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
login()
Attempts to authenticate the subject against data stored in a
simple properties file.
|
abort, commit, initialize, logoutpublic static final String PASSWORD_FILE
public boolean login()
throws LoginException
LoginExceptionLoginModule.login()