public class ReloadablePropertyFileLoginModule
extends org.eclipse.jetty.jaas.spi.AbstractLoginModule
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_FILENAME |
| Constructor and Description |
|---|
ReloadablePropertyFileLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
debug(java.lang.String message)
Default behavior to emit to System.err
|
org.eclipse.jetty.jaas.spi.UserInfo |
getUserInfo(java.lang.String userName) |
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options)
Read contents of the configured property file.
|
boolean |
isDebug() |
boolean |
isReloadEnabled() |
void |
setReloadEnabled(boolean enabled) |
public static final java.lang.String DEFAULT_FILENAME
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options)
initialize in interface javax.security.auth.spi.LoginModuleinitialize in class org.eclipse.jetty.jaas.spi.AbstractLoginModulesubject - the subjectcallbackHandler - the callback handlersharedState - the shared state mapoptions - the options mapLoginModule.initialize(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler, java.util.Map,
java.util.Map)public org.eclipse.jetty.jaas.spi.UserInfo getUserInfo(java.lang.String userName)
throws java.lang.Exception
getUserInfo in class org.eclipse.jetty.jaas.spi.AbstractLoginModuleuserName - the user namejava.lang.Exception - if unable to get the user informationpublic boolean isReloadEnabled()
public void setReloadEnabled(boolean enabled)
public boolean isDebug()
protected void debug(java.lang.String message)
message -