org.jboss.security.mapping.providers.role
public class LdapRolesMappingProvider extends AbstractRolesMappingProvider
Modifier and Type | Field and Description |
---|---|
protected String |
bindCredential |
protected String |
bindDN |
protected Map<String,Object> |
options |
protected boolean |
parseRoleNameFromDN |
protected int |
recursion |
protected String |
roleAttributeID |
protected boolean |
roleAttributeIsDN |
protected String |
roleFilter |
protected String |
roleNameAttributeID |
protected String |
rolesCtxDN |
protected int |
searchScope |
protected int |
searchTimeLimit |
result
Constructor and Description |
---|
LdapRolesMappingProvider() |
Modifier and Type | Method and Description |
---|---|
protected InitialLdapContext |
constructInitialLdapContext(String dn,
Object credential) |
void |
init(Map<String,Object> options) |
void |
performMapping(Map<String,Object> contextMap,
RoleGroup mappedObject) |
protected void |
rolesSearch(InitialLdapContext ctx,
SearchControls constraints,
String user,
int recursionMax,
int nesting,
RoleGroup roleGroup) |
getCallerPrincipal, setMappingResult, supports
protected String bindDN
protected String bindCredential
protected String rolesCtxDN
protected String roleFilter
protected String roleAttributeID
protected String roleNameAttributeID
protected boolean roleAttributeIsDN
protected boolean parseRoleNameFromDN
protected int recursion
protected int searchTimeLimit
protected int searchScope
protected InitialLdapContext constructInitialLdapContext(String dn, Object credential) throws NamingException
NamingException
protected void rolesSearch(InitialLdapContext ctx, SearchControls constraints, String user, int recursionMax, int nesting, RoleGroup roleGroup) throws NamingException
NamingException
Copyright © 2015 JBoss Inc.. All Rights Reserved.