public class MemoryUsersRolesLoginModule extends UsersRolesLoginModule
callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass
Constructor and Description |
---|
MemoryUsersRolesLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected Properties |
createRoles(Map<String,?> options)
Provide the users map obtained during initialize
|
protected Properties |
createUsers(Map<String,?> options)
Provide the users map obtained during initialize
|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
Override the UsersRolesLoginModule initialize to look for a users
and roles options specifying the
|
getRoleSets, getUsersPassword, loadRoles, loadUsers, login, parseGroupMembers
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, safeClose, setValidateError, validatePassword
abort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getUseFirstPass, logout
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
initialize
in class UsersRolesLoginModule
subject
- callbackHandler
- sharedState
- options
- protected Properties createUsers(Map<String,?> options)
createUsers
in class UsersRolesLoginModule
options
- - the login module options passed to initializeprotected Properties createRoles(Map<String,?> options) throws IOException
createRoles
in class UsersRolesLoginModule
options
- - the login module options passed to initializeIOException
- - thrown on failure to load the propertiesCopyright © 2019 JBoss by Red Hat. All rights reserved.