public class AdvancedADLoginModule extends AdvancedLdapLoginModule
allowEmptyPassword, baseCtxDN, baseFilter, bindAuthentication, bindCredential, bindDn, jaasSecurityDomain, recurseRoles, referralUserAttributeIDToCheck, roleAttributeID, roleAttributeIsDN, roleFilter, roleNameAttributeID, rolesCtxDN, roleSearchControls, searchTimeLimit, userSearchControls
callbackHandler, log, loginOk, options, principalClassName, sharedState, subject, unauthenticatedIdentity, useFirstPass
Constructor and Description |
---|
AdvancedADLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected Properties |
createBaseProperties() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
Initialize the login module.
|
protected void |
rolesSearch(LdapContext searchContext,
String dn) |
authenticate, canonicalize, constructLdapContext, findUserDN, getRoleSets, innerLogin, loadRoleByRoleNameAttributeID, login, obtainRole, recurseRolesSearch, traceLdapEnv
getCredential, getIdentity, processIdentityAndCredential, setIdentity
abort, addValidOptions, checkOptions, commit, createGroup, createIdentity, getCallerPrincipalGroup, getUnauthenticatedIdentity, getUseFirstPass, logout
public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options)
AbstractServerLoginModule
initialize
in interface LoginModule
initialize
in class AdvancedLdapLoginModule
subject
- 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 instancesoptions
- the parameters passed to the login module.protected Properties createBaseProperties()
createBaseProperties
in class AdvancedLdapLoginModule
protected void rolesSearch(LdapContext searchContext, String dn) throws LoginException
rolesSearch
in class AdvancedLdapLoginModule
LoginException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.