public class RemoteHostTrustLoginModule extends UsernamePasswordLoginModule
callbackHandler, jbossModuleName, log, loginOk, options, principalClassModuleName, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass| Constructor and Description |
|---|
RemoteHostTrustLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRealHost() |
protected Group[] |
getRoleSets()
Overriden by subclasses to return the Groups that correspond to the
to the role sets assigned to the user.
|
protected String |
getUsersPassword()
bogus password
|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
Initialize this LoginModule.
|
protected boolean |
validatePassword(String inputPassword,
String expectedPassword)
A hook that allows subclasses to change the validation of the input
password against the expected password.
|
createPasswordHash, getCredentials, getIdentity, getUnauthenticatedIdentity, getUsername, getUsernameAndPassword, getValidateError, login, safeClose, setValidateErrorabort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getUseFirstPass, logoutpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
initialize in interface LoginModuleinitialize in class UsernamePasswordLoginModuleoptions - -
trustedHosts: a comma delimited list of trusted hosts allowed to pass principals without credentials and be "trusted"
roles: automatically granted to any users authenticatedsubject - the Subject to update after a successful login.callbackHandler - the CallbackHandler that will be used to obtain the
the user identity and credentials.sharedState - a Map shared between all configured login module instancesprotected boolean validatePassword(String inputPassword, String expectedPassword)
UsernamePasswordLoginModulevalidatePassword in class UsernamePasswordLoginModuleprotected String getUsersPassword() throws LoginException
getUsersPassword in class UsernamePasswordLoginModuleLoginExceptionprotected String getRealHost()
protected Group[] getRoleSets() throws LoginException
AbstractServerLoginModulegetRoleSets in class AbstractServerLoginModuleLoginExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.