Peter Mularien (Migrated from SEC-1311) said:
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.
Luke Taylor said:
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 syntax is only really intended for test data anyway.