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, setSubject
public static final String DEFAULT_FILENAME
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
initialize
in class AbstractLoginModule
subject
- 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 AbstractLoginModule
userName
- Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.