Class NullLdapAuthoritiesPopulator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<GrantedAuthority> getGrantedAuthorities​(org.springframework.ldap.core.DirContextOperations userDetails, java.lang.String username)
      Get the list of authorities for the user.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullLdapAuthoritiesPopulator

        public NullLdapAuthoritiesPopulator()
    • Method Detail

      • getGrantedAuthorities

        public java.util.Collection<GrantedAuthority> getGrantedAuthorities​(org.springframework.ldap.core.DirContextOperations userDetails,
                                                                            java.lang.String username)
        Description copied from interface: LdapAuthoritiesPopulator
        Get the list of authorities for the user.
        Specified by:
        getGrantedAuthorities in interface LdapAuthoritiesPopulator
        Parameters:
        userDetails - the context object which was returned by the LDAP authenticator.
        Returns:
        the granted authorities for the given user.