public class PropertiesLoginModule extends PropertiesLoader implements LoginModule
PropertiesLoader.FileNameKey
Modifier and Type | Field and Description |
---|---|
static String |
ROLE_FILE_PROP_NAME |
static String |
USER_FILE_PROP_NAME |
debug
Constructor and Description |
---|
PropertiesLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
boolean |
commit() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
init, load, resetUsersAndGroupsCache
public static final String USER_FILE_PROP_NAME
public static final String ROLE_FILE_PROP_NAME
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
Copyright © 2019 JBoss by Red Hat. All rights reserved.