Class FromGroupSearchLDAPGroupMembershipStrategy

    • Constructor Detail

      • FromGroupSearchLDAPGroupMembershipStrategy

        @DataBoundConstructor
        public FromGroupSearchLDAPGroupMembershipStrategy​(String filter)
    • Method Detail

      • getFilter

        public String getFilter()
      • setAuthoritiesPopulator

        public void setAuthoritiesPopulator​(org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator authoritiesPopulator)
        Description copied from class: LDAPGroupMembershipStrategy
        Override this method if you want to change the configuration of the LdapAuthoritiesPopulator.
        Overrides:
        setAuthoritiesPopulator in class LDAPGroupMembershipStrategy
        Parameters:
        authoritiesPopulator - the LdapAuthoritiesPopulator to use (and abuse).
      • getGrantedAuthorities

        public Collection<? extends org.springframework.security.core.GrantedAuthority> getGrantedAuthorities​(org.springframework.ldap.core.DirContextOperations userData,
                                                                                                              String username)
        Description copied from class: LDAPGroupMembershipStrategy
        Returns the GrantedAuthoritys that the specified user belongs to.
        Specified by:
        getGrantedAuthorities in class LDAPGroupMembershipStrategy
        Parameters:
        userData - as in
        Returns:
        the GrantedAuthoritys that the specified user belongs to.