public class PropertiesUsersLoginModule extends UsersRolesLoginModule
LoginModule that uses a properties file to store username and password for authentication.
No roles are mapped.callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass| Constructor and Description |
|---|
PropertiesUsersLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected Properties |
createRoles(Map<String,?> options)
A hook to allow subclasses to create the roles Properties map.
|
protected Group[] |
getRoleSets()
Create the set of roles the user belongs to by parsing the roles.properties
data for username=role1,role2,...
|
createUsers, getUsersPassword, initialize, loadRoles, loadUsers, login, parseGroupMemberscreatePasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, safeClose, setValidateError, validatePasswordabort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getUseFirstPass, logoutprotected Group[] getRoleSets() throws LoginException
UsersRolesLoginModulegetRoleSets in class UsersRolesLoginModuleLoginExceptionprotected Properties createRoles(Map<String,?> options) throws IOException
UsersRolesLoginModulecreateRoles in class UsersRolesLoginModuleoptions - - the login module options passed to initializeIOException - - thrown on failure to load the propertiesCopyright © 2017 JBoss by Red Hat. All rights reserved.