Package org.eclipse.jetty.jaas.spi
Class PropertyFileLoginModule
java.lang.Object
org.eclipse.jetty.jaas.spi.AbstractLoginModule
org.eclipse.jetty.jaas.spi.PropertyFileLoginModule
- All Implemented Interfaces:
- LoginModule
PropertyFileLoginModule
- 
Nested Class SummaryNested classes/interfaces inherited from class org.eclipse.jetty.jaas.spi.AbstractLoginModuleAbstractLoginModule.JAASUser
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinitialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Use a PropertyUserStore to read the authentication and authorizaton information contained in the file named by the option "file".Methods inherited from class org.eclipse.jetty.jaas.spi.AbstractLoginModuleabort, commit, configureCallbacks, getCallbackHandler, getCurrentUser, getSubject, isAuthenticated, isCommitted, isIgnored, login, logout, setAuthenticated, setCallbackHandler, setCommitted, setCurrentUser, setSubject
- 
Field Details- 
DEFAULT_FILENAME- See Also:
 
 
- 
- 
Constructor Details- 
PropertyFileLoginModulepublic PropertyFileLoginModule()
 
- 
- 
Method Details- 
initializepublic void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Use a PropertyUserStore to read the authentication and authorizaton information contained in the file named by the option "file".- Specified by:
- initializein interface- LoginModule
- Overrides:
- initializein class- AbstractLoginModule
- Parameters:
- subject- the subject
- callbackHandler- the callback handler
- sharedState- the shared state map
- options- the options map
- See Also:
 
- 
getUser- Specified by:
- getUserin class- AbstractLoginModule
- Parameters:
- userName- the user name
- Throws:
- Exception- if unable to get the user information
 
 
-