Class PropertyUserStoreManager
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.security.jaas.PropertyUserStoreManager
- All Implemented Interfaces:
- LifeCycle
PropertyUserStoreManager
Maintains a map of PropertyUserStores, keyed off the location of the property file containing
the authentication and authorization information.
This class is used to enable the PropertyUserStores to be cached and shared. This is essential
for the PropertyFileLoginModules, whose lifecycle is controlled by the JAAS api and instantiated
afresh whenever a user needs to be authenticated. Without this class, every PropertyFileLoginModule
instantiation would re-read and reload in all the user information just to authenticate a single user.
- 
Nested Class SummaryNested classes/interfaces inherited from class AbstractLifeCycleAbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface LifeCycleLifeCycle.Listener
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddPropertyUserStore(String file, PropertyUserStore store) protected voiddoStart()Method to override to start the lifecycleprotected voiddoStop()Method to override to stop the lifecyclegetPropertyUserStore(String file) Methods inherited from class AbstractLifeCycleaddEventListener, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString
- 
Constructor Details- 
PropertyUserStoreManagerpublic PropertyUserStoreManager()
 
- 
- 
Method Details- 
getPropertyUserStore
- 
addPropertyUserStore
- 
doStartDescription copied from class:AbstractLifeCycleMethod to override to start the lifecycle- Overrides:
- doStartin class- AbstractLifeCycle
- Throws:
- Exception- If there was a problem starting. Will cause a transition to FAILED state
 
- 
doStopDescription copied from class:AbstractLifeCycleMethod to override to stop the lifecycle- Overrides:
- doStopin class- AbstractLifeCycle
- Throws:
- Exception- If there was a problem stopping. Will cause a transition to FAILED state
 
 
-