org.mortbay.jetty.plus.jaas.spi
public class PropertyFileLoginModule extends AbstractLoginModule
AbstractLoginModule.JAASUserInfo| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_FILENAME |
static java.util.Map |
fileMap |
| Constructor and Description |
|---|
PropertyFileLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
UserInfo |
getUserInfo(java.lang.String username)
Don't implement this as we want to pre-fetch all of the
users.
|
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
Read contents of the configured property file.
|
void |
loadProperties(java.lang.String filename) |
abort, commit, configureCallbacks, getCallbackHandler, getCurrentUser, getSubject, isAuthenticated, isCommitted, login, logout, setAuthenticated, setCallbackHandler, setCommitted, setCurrentUser, setSubjectpublic static final java.lang.String DEFAULT_FILENAME
public static final java.util.Map fileMap
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map sharedState,
java.util.Map options)
initialize in interface javax.security.auth.spi.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 void loadProperties(java.lang.String filename)
public UserInfo getUserInfo(java.lang.String username) throws java.lang.Exception
getUserInfo in class AbstractLoginModuleusername - java.lang.Exceptionorg.mortbay.jetty.plus.jaas.spi.AbstractLoginModule#lazyLoadUser(java.lang.String)Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.