spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.82k stars 5.9k forks source link

SEC-1966: LdapServerBeanDefinitionParser is making decision based on unresolved value of url attribute #2191

Open spring-projects-issues opened 12 years ago

spring-projects-issues commented 12 years ago

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.

spring-projects-issues commented 12 years ago

Ritesh said:

Its type could be changed from bug to improvement.

Thanks