I'm doing a simple test java web app where I need to use the cas client filter with SAML 1.1 tickets.
My project does not use Maven (only IntelliJ). How do I get cas-client 3.2.1 (or whatever the latest stable version is) and it's dependencies? If I download the cas-client-3.2.1-release.tar.gz, how am I supposed to know which jars in the modules directory I should use? Even if I import all of them in my project, there doesn't seem to be any version of opensaml? If I try to build the whole package with maven, it fails: [ERROR] Failed to execute goal on project cas-client-integration-jboss: Could not resolve dependencies for project org.jasig.cas.client:cas-client-integration-jboss:jar:3.2.1: Failed to collect dependencies for [org.jasig.cas.client:cas-client-core:jar:3.2.1 (compile), org.jboss.jbossas:jboss-as-tomcat:jar:5.1.0.GA (provided), junit:junit:jar:4.8.2 (test), commons-logging:commons-logging:jar:1.1 (compile), javax.servlet:servlet-api:jar:2.4 (provided)]: Failed to read artifact descriptor for commons-logging:commons-logging:jar:1.1.0.jboss: Could not transfer artifact commons-logging:commons-logging:pom:1.1.0.jboss from/to repository.jboss.org (http://repository.jboss.org/maven2): Access denied to: http://repository.jboss.org/maven2/commons-logging/commons-logging/1.1.0.jboss/commons-logging-1.1.0.jboss.pom , ReasonPhrase:Forbidden. -> [Help 1] If I edit the root pom.xml and guess which modules I don't need (the jboss integration for example), the build works, but I still don't know which jars to use (and none seem to include opensaml). If I try to use IntelliJ's Maven library feature, I can get for example org.jasig.cas.client:cas-client-core:3.2.1 automatically, but it doesn't work when I deploy my app because there's no opensaml library included: jun 05, 2013 11:53:41 FM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter CAS Validation Filter java.lang.NoClassDefFoundError: org/opensaml/SAMLException If I try to add opensaml by hand, I can't be sure what version to use, but it doesn't work with the latest stable 2.5.3: jun 05, 2013 11:51:33 FM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter CAS Validation Filter java.lang.NoClassDefFoundError: org/opensaml/SAMLException Is there any documentation somewhere, specifying what dependencies are needed (what, which version and where to find it maybe … ) to get the cas client code to run? Is my use case with SAML 1.1 tickets very uncommon and that's why I'm having so much trouble? /ET -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
