Please see http://stackoverflow.com/questions/10483032/spring-property-file-empty-values and its accepted answer. LdapServerBeanDefinitionParser is calling createEmbeddedServer based on unresolved value of URL when placeholder or SpEL expressions are used to specify value of attribute in element. This decision to create embedded server should be moved elsewhere (may be within org.springframework.security.ldap.DefaultSpringSecurityContextSource?) after attribute values are resolved.
Ritesh (Migrated from SEC-1966) said:
Please see http://stackoverflow.com/questions/10483032/spring-property-file-empty-values and its accepted answer. LdapServerBeanDefinitionParser is calling createEmbeddedServer based on unresolved value of URL when placeholder or SpEL expressions are used to specify value of attribute in element. This decision to create embedded server should be moved elsewhere (may be within org.springframework.security.ldap.DefaultSpringSecurityContextSource?) after attribute values are resolved.