public class SimpleUsersLoginModule extends PropertiesUsersLoginModule
LoginModule
that stores username and password as options.Modifier and Type | Field and Description |
---|---|
protected static Set<String> |
invalidProperties |
callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass
Constructor and Description |
---|
SimpleUsersLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkOptions()
This login module cannot participate in the checking of valid options
in AbstractServerLoginModule.
|
protected Properties |
createUsers(Map<String,?> options)
A hook to allow subclasses to create the users Properties map.
|
protected boolean |
isValidEntry(String key) |
createRoles, getRoleSets
getUsersPassword, initialize, loadRoles, loadUsers, login, parseGroupMembers
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, safeClose, setValidateError, validatePassword
abort, addValidOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getUseFirstPass, logout
protected Properties createUsers(Map<String,?> options) throws IOException
UsersRolesLoginModule
createUsers
in class UsersRolesLoginModule
options
- - the login module options passed to initializeIOException
- - thrown on failure to load the propertiesprotected boolean isValidEntry(String key)
protected void checkOptions()
checkOptions
in class AbstractServerLoginModule
Copyright © 2017 JBoss by Red Hat. All rights reserved.