Package com.gigaspaces.security.ldap
Class XAPLdapAuthoritiesPopulator
java.lang.Object
org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator
com.gigaspaces.security.ldap.XAPLdapAuthoritiesPopulator
- All Implemented Interfaces:
org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
public class XAPLdapAuthoritiesPopulator
extends org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator
-
Constructor Summary
ConstructorsConstructorDescriptionXAPLdapAuthoritiesPopulator(org.springframework.ldap.core.ContextSource contextSource, String groupSearchBase) Constructor for group search scenarios. -
Method Summary
Modifier and TypeMethodDescriptionSet<org.springframework.security.core.GrantedAuthority>getGroupMembershipRoles(String userDn, String username) Methods inherited from class org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator
getAdditionalRoles, getContextSource, getGrantedAuthorities, getGroupRoleAttribute, getGroupSearchBase, getGroupSearchFilter, getLdapTemplate, getRolePrefix, isConvertToUpperCase, setAuthorityMapper, setConvertToUpperCase, setDefaultRole, setGroupRoleAttribute, setGroupSearchFilter, setIgnorePartialResultException, setRolePrefix, setSearchSubtree
-
Constructor Details
-
XAPLdapAuthoritiesPopulator
public XAPLdapAuthoritiesPopulator(org.springframework.ldap.core.ContextSource contextSource, String groupSearchBase) Constructor for group search scenarios. userRoleAttributes may still be set as a property.- Parameters:
contextSource- supplies the contexts used to search for user roles.groupSearchBase- if this is an empty string the search will be performed from the root DN of the context factory. If null, no search will be performed.
-
-
Method Details