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

    Constructors
    Constructor
    Description
    XAPLdapAuthoritiesPopulator(org.springframework.ldap.core.ContextSource contextSource, String groupSearchBase)
    Constructor for group search scenarios.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.springframework.security.core.GrantedAuthority>
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

    • getGroupMembershipRoles

      public Set<org.springframework.security.core.GrantedAuthority> getGroupMembershipRoles(String userDn, String username)
      Overrides:
      getGroupMembershipRoles in class org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator