Interface LdapAuthoritiesPopulator

    • Method Detail

      • getGrantedAuthorities

        java.util.Collection<? extends GrantedAuthority> getGrantedAuthorities​(org.springframework.ldap.core.DirContextOperations userData,
                                                                               java.lang.String username)
        Get the list of authorities for the user.
        Parameters:
        userData - the context object which was returned by the LDAP authenticator.
        Returns:
        the granted authorities for the given user.