Spring Security
  1. Spring Security
  2. SEC-1222

Provide a constructor for LdapUserDetailsService that does not require an LdapAuthoritiesPopulator.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 3.0.0 RC1
    • Component/s: LDAP
    • Labels:
      None

      Description

      LdapAuthenticationProvider provides a constructor that does not require an LdapAuthoritiesPopulator. LdapUserDetailsService should provide such a constructor as well. The reason is that the LdapAuthoritiesPopulator might not be necessary since roles might be fetched via the UserDetailsContextMapper. LdapAuthenticationProvider uses a NullAuthoritiesPopulator internally. This could be re-used.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Mat Lowery
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: