public class PropertyFileLoginModule extends AbstractLoginModule
AbstractLoginModule.JAASUserInfo| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FILENAME |
| Constructor and Description |
|---|
PropertyFileLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
UserInfo |
getUserInfo(String userName)
Don't implement this as we want to pre-fetch all of the users.
|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
Read contents of the configured property file.
|
abort, commit, configureCallbacks, getCallbackHandler, getCurrentUser, getSubject, isAuthenticated, isCommitted, isIgnored, login, logout, setAuthenticated, setCallbackHandler, setCommitted, setCurrentUser, setSubjectpublic static final String DEFAULT_FILENAME
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class AbstractLoginModulesubject - callbackHandler - sharedState - options - LoginModule.initialize(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler, java.util.Map,
java.util.Map)public UserInfo getUserInfo(String userName) throws Exception
getUserInfo in class AbstractLoginModuleuserName - ExceptionCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.