Yes, I think the CASFilter2 is a typo, although I will check this tomorrow and let you know if it is otherwise.
As for the NPE, apparently there is a bug with Tomcat <= 5.5.23 and from what I have read this should be fixed in Tomcat 5.5.24. <http://issues.apache.org/bugzilla/show_bug.cgi?id=42470> HTH Mark Graves, John wrote: > Mark, > Thanks for the help. I'm getting close. A couple of questions persist, > though. First, I notice that the class you use for CASFilter is actually > edu.yale.its.cas.tp.client.filter.CASFilter2. I do not have that class > in my version of casclient.jar. Is this a typo in the WIKI entry, or did > this class exist in the JA-SIG deployment at some point? My blocking > point right now is a Null Pointer when it is trying to deploy the realm. > > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.securityfilter.config.SecurityConfig.addRealm(SecurityConfig.java:23 > 3) > ... 163 more > Caused by: java.lang.NullPointerException > at org.apache.catalina.realm.RealmBase.init(RealmBase.java:1329) > at > org.apache.catalina.realm.RealmBase.start(RealmBase.java:1029) > at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:761) > at > org.securityfilter.realm.catalina.CatalinaRealmAdapter.setRealm(Catalina > RealmAdapter.java:79) > ... 168 more > > Did you run across this at some point? I believe that I've got my web > and securityfilter-config xml files set up you note, with the exception > of the filter class and the realm kept complaining prior to init when I > tried to define a realm-param named "debug". I took that one out and > used the CASFilter in casclient.jar for my filter-class. > > John > _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
