I have this in my 
/opt/matterhorn/trunk/modules/matterhorn-runtime-dependencies/pom.xml

    <dependency>
      <groupId>org.opencastproject</groupId>
      <artifactId>org.springframework.ldap</artifactId>
      <version>1.3.1.RELEASE</version>
    </dependency>

    <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-ldap</artifactId>
      <version>${springsecurity.version}</version>
    </dependency>

I have these in /opt/matterhorn/trunk/lib/ext/

        org.springframework.ldap-1.3.1.RELEASE.jar
        spring-security-ldap-3.1.0.RELEASE.jar

these lines are in /opt/matterhorn/trunk/etc/system.properties

        # Add for LDAP authentication support
        file:${felix.home}/lib/ext/spring-jdbc-3.1.0.RELEASE.jar \
        file:${felix.home}/lib/ext/org.springframework.ldap-1.3.1.RELEASE.jar \
        file:${felix.home}/lib/ext/spring-security-ldap-3.1.0.RELEASE.jar \

Finally, I add these to mh_default_org.xml

<bean id="contextSource"
        
class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
  <constructor-arg value="ldaps://ldap.uvm.edu/dc=edu,dc=uvm"/>
</bean>

what do I get for all my effort?

 ERROR (SpringSecurityConfigurationArtifactInstaller:121) - Unable to refresh 
spring security configuration file 
/opt/matterhorn/trunk/etc/security/mh_default_org.xml: 
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find 
class [org.springframework.security.ldap.DefaultSpringSecurityContextSource] 
for bean with name 'contextSource' defined in OSGi 
resource[file:/opt/matterhorn/trunk/etc/security/mh_default_org.xml|bnd.id=142|bnd.sym=matterhorn-kernel];
 nested exception is java.lang.ClassNotFoundException: 
org.springframework.security.ldap.DefaultSpringSecurityContextSource not found 
from bundle [matterhorn-kernel]


?


-----------------------------------------------------------------------
| Wesley Alan Wright <mailto:[email protected]>                   |
| Center for Teaching and Learning  __0__                             |
| Room 407 Lafayette Building      / \ | \                            |
| University of Vermont              \77                              |
| Burlington, Vermont 05405-0160 USA. \\  http://www.uvm.edu/skivt-l  |
| Voice: 802-656-1254                  vv                             |
| aim:goim?screenname=maddogskideath      http://www.uvm.edu/~waw/    |
-----------------------------------------------------------------------





_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to