Reputation: 1733
I am configuring spring security ldap. But in spring-security.xml, m getting this warning
Referenced bean 'org.springframework.security.securityContextSource' not found
on <security:authentication-manager>
line
Can anyone tell me, what can be the problem???
Upvotes: 0
Views: 1448
Reputation: 919
In addition to the dependency requirement, make sure your ldap.xml
configuration file (in which I expect your bean is actually declared) is referenced in web.xml
, but from the sounds of things, Michael's answer is probably correct.
Upvotes: 0
Reputation: 10319
Please ensure you have in dependencies spring-ldap-core. Example for 3.1.3
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
<version>3.1.3.RELEASE</version>
</dependency>
Upvotes: 1