|
|
Re: Spring LDAP and exporting the service [message #640914 is a reply to message #640211] |
Tue, 23 November 2010 14:32 |
Dmitry Sklyut Messages: 279 Registered: January 2010 |
Senior Member |
|
|
Onur,
Did you end up re-bundling spring-ldap 1.3.0? If you got that package from http://ebr.springsource.com/repository/app/bundle/version/de tail?name=org.springframework.ldap&version=1.3.0.RELEASE (Spring Source Bundle Repository) it limits version range for Spring Framework imports to [2.5.6.SEC01, 3.0.0). That is excluding Spring 3.x.
When I ended up re-bundling the ldap jar to get it to work with 3.x Spring, I set resolution to optional on com.sun.jndi.ldap.
Seems to work fine here with both OpenLDAP and ActiveDirectory. We are using it through SpringSecurity.
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Spring LDAP
Bundle-Vendor: SpringSource
Bundle-Version: 1.3.0.RELEASE
Bundle-SymbolicName: thirdparty.org.springframework.ldap
Import-Template: com.sun.jndi.ldap;version="0";resolution:=optional,
org.apache.commons.lang.*;version="[2.3.0, 3.0.0)",
org.apache.commons.logging;version="[1.0.4, 2.0.0)",
org.apache.commons.pool.*;version="[1.3.0, 2.0.0)";resolution:="optional",
org.springframework.*;version="${spring.version.range}"
Implementation-Title: Spring LDAP Core
Implementation-Version: 1.3.0.RELEASE
Spring-LDAP-Version: 1.3.0.RELEASE
Implementation-Vendor-Id: org.springframework.ldap
Regards,
Dmitry
|
|
|
Powered by
FUDForum. Page generated in 0.04310 seconds