Spring Security
  1. Spring Security
  2. SEC-1311

The default of "root" for the embedded LDAP server as "dc=springframework,dc=org" should be removed.

    Details

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

      Description

      I admit this is very trivial, but it really seems helpful to no one (except the LDAP unit tests to have the default "root" attribute set to "dc=springframework,dc=org" for the embedded LDAP server. Instead, it should be blank, and throw a configuration error if not defined. My guess would be that in 99% of cases, users will not use this default. Relevant code would be in "LdapServerBeanDefinitionParser", where the default is hard-coded.

        Activity

        Hide
        Luke Taylor added a comment -

        I don't really see the problem with having a default value. If users want to use a different value it is trivial to alter. The <ldap-server /> syntax is only really intended for test data anyway.

        Show
        Luke Taylor added a comment - I don't really see the problem with having a default value. If users want to use a different value it is trivial to alter. The <ldap-server /> syntax is only really intended for test data anyway.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Peter Mularien
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: