Skip to end of metadata
Go to start of metadata
Table of Contents

Required libraries at time of writing

  • cas-client-core-3.1.3.jar
  • commons-codec-1.4.jar
  • commons-logging-1.1.jar
  • opensaml-1.1.jar
  • xmlsec-1.4.0.jar
  • log4j-1.2.15.jar

Web.xml

index.jsp

Sample Project

Icon

A sample project that demonstrates the above example is available here.

  • No labels

2 Comments

  1. On Jboss, user principle is null with this filter, what am I doing wrong?

    1. If Jboss is like Tomcat, it may be because Jboss, by default, is set up to reject external headers like REMOTE_USER and accept it's own authentication.  We found that with tomcat, we had to set the AJP to turn off tomcat authentication in it's server.xml file:

      <Connector port="8009" protocol="AJP/1.3" redirectPort="8443"
      tomcatAuthentication="false" />