Still not getting this working, build and installed directory-cas and directory-openid ( also directory-ldap ) and same error persists. Also noticed a warning beneath this error, not sure if this is related but this is the error:

2013-01-31 13:59:59 WARN (TrustedHttpClientImpl:148) - Unable to register org.opencastproject.kernel.security.TrustedHttpClientImpl@5cdc6180 as an mbean: javax.management.InstanceAlreadyExistsException: org.opencastproject.security.api.TrustedHttpClient:type=HttpConnections

When starting the server without the cas security config I do notice the following problems in /system/console/bundles

matterhorn-security-ldap:

org.springframework.security.ldap,version=3.0.2.RELEASE -- Cannot be resolved org.springframework.security.ldap.authentication,version=3.0.2.RELEASE -- Cannot be resolved org.springframework.security.ldap.ppolicy,version=3.0.2.RELEASE -- Cannot be resolved org.springframework.security.ldap.search,version=3.0.2.RELEASE -- Cannot be resolved org.springframework.security.ldap.server,version=3.0.2.RELEASE -- Cannot be resolved org.springframework.security.ldap.userdetails,version=3.0.2.RELEASE -- Cannot be resolved

matterhorn-security-openid:

org.springframework.security.openid,version=3.1 -- Cannot be resolved



On 01/30/2013 10:28 AM, Christian Greweling wrote:
Hi Kristoph,
i tried to use CAS on MH1.4. I got CAS running, but it won't work with our
CAS-Server. I'm very interestet in your results.
Did you set it up as descripted in http://opencast.jira.com/wiki/display/MHTRUNK/Configure+Matterhorn+Security? (Unecommenting and moving lines in /etc/system.properties and replace /etc/security/mh_default_org.xml with /etc/security/security_sample_cas_xml
you also need to build and install      directory-cas, directory-openid)

Christian


Am 30.01.2013 09:24, schrieb Tobias Wunden:
Kristof,

without being able to test this locally, I see that you need to make sure the following bundles are loaded as well (adjust the versions to what :

# Add for CAS support
# Also must enable OpenID support
# file:${matterhorn.home}/lib/ext/cas-client-core-3.1.12.jar \
# file:${matterhorn.home}/lib/ext/com.springsource.org.apache.xml.security-1.4.2.jar \ # file:${matterhorn.home}/lib/ext/com.springsource.org.opensaml-1.1.0.jar \ # file:${matterhorn.home}/lib/ext/spring-security-cas-3.1.0.RELEASE.jar \ # file:${matterhorn.home}/lib/ext/com.springsource.org.jasig.cas.client-3.1.12.jar \

You can find them commented in etc/system.properties, make sure to remove the # and add them to a runlevel. Not sure if that will do the trick, but in theory, that should be it.

Tobias

On 29.01.2013, at 22:41, Kristof Keppens <[email protected]> wrote:

Hi Tobias,

The matterhorn-security-cas bundle is active in the web console, the dependencies you refer to, are these the lines in config.properties for the ldap user provider? I did forget to uncomment those but after doing so the error is still the same.

I'm building the latest 1.4.x branch now and will check if any issues are solved with this.

Kristof

On 01/29/2013 05:43 PM, Tobias Wunden wrote:
Kristoph,

did you install and launch the matterhorn-security-cas bundle as well as the dependencies that are required to run it? You will find the dependencies commented out in config.properties and you should check that the matterhorn-security-cas bundle is running in the Felix Web Console.

Tobias



On 29.01.2013, at 07:27, Kristof Keppens <[email protected]> wrote:

Hi,

I'm trying to set up matterhorn 1.4 RC6 ( distributed install ) with CAS ( and LDAP when I get CAS working ) and I'm running into some issues. I followed the guide on the wiki to setup cas, but I'm getting this error in my log :

2013-01-29 15:20:22 ERROR (SpringSecurityConfigurationArtifactInstaller:121) - Unable to refresh spring security configuration file /opt/matterhorn/etc/security/mh_default_org.xml: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.filterChains': Cannot resolve reference to bean 'org.springframework.security.web.DefaultSecurityFilterChain#0' while setting bean property 'sourceList' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.web.DefaultSecurityFilterChain#0': Cannot resolve reference to bean 'singleLogoutFilter' while setting constructor argument with key [3]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.jasig.cas.client.session.SingleSignOutFilter] for bean with name 'singleLogoutFilter' defined in OSGi resource[file:/opt/matterhorn/etc/se
c
urity/mh_default_org.xml|bnd.id=33|bnd.sym=matterhorn-kernel]; nested exception is java.lang.ClassNotFoundException: org.jasig.cas.client.session.SingleSignOutFilter not found from bundle [matterhorn-kernel]
Has anyone succesfully set up a matterhorn 1.4 with cas and can point me in the right direction to fix this?

Kristof

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

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


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

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

Reply via email to