Good afternoon fellow Roosters!
I have a simple Roo project that has served me well. However, I decided to add on LDAP authentication to the application and this is when trouble came to paradise.
I simply added the following dependencies to the POM:
and then I added to the applicationContext-security:Code:<dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap-core</artifactId> <version>1.3.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap-core-tiger</artifactId> <version>1.3.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap-test</artifactId> <version>1.3.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap-ldif-core</artifactId> <version>1.3.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap-ldif-batch</artifactId> <version>1.3.1.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.ldap</groupId> <artifactId>spring-ldap-odm</artifactId> <version>1.3.1.RELEASE</version> </dependency>
While this configuration might not be complete or even correct, the error I get at startup is:Code:<ldap-server id="ldapServer" url="ldap://foo.monkey.com:389/" manager-dn="cn=foo,dc=foo.monkey,dc=com" manager-password="foofoofooski" /> <authentication-manager> <ldap-authentication-provider server-ref="ldapServer" user-search-base="dc=foo.monkey,dc=com" user-search-filter="(displayName={0})" group-role-attribute="cn" group-search-base="ou=groups,dc=foo.monkey,dc=com" group-search-filter="(memberUid={1})" role-prefix="ROLE_" /> </authentication-manager>
AFAIK, this class should be deployed in one of the dependencies declared in the POM (see above.) Does anyone know what might be burning me?Code:Caused by: java.lang.ClassNotFoundException: org.springframework.ldap.core.support.BaseLdapPathContextSource


Reply With Quote
