-
1. Re: SSO between Zope and JBoss
starksm64 Sep 11, 2004 9:10 PM (in response to guigui)Its going to take a tomcat valve and possibly a custom tomcat authenticator. We have not looked at integrating with the Yale CAS stuff as yet so I can't say at this point. What do their docs say?
-
2. Re: SSO between Zope and JBoss
guigui Sep 13, 2004 9:16 AM (in response to guigui)Thanks for your answer !
In their docs (http://www.yale.edu/tp/cas/caswithjava.html), they propose to create a filter in the web.xml file. So i'm trying this.
In my application, I use a Realm (with queries) in a form authenticated method. If I use the CAS filter (if it works), how can i get users data (login , password, role) ? -
3. Re: SSO between Zope and JBoss
guigui Sep 16, 2004 7:06 AM (in response to guigui)It's very easy to do :
1)create a filter in \jbossweb-tomcat50.sar\web.xml like this one
<filter-name>CAS Filter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
<param-value>https://secure.its.yale.edu/cas/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://secure.its.yale.edu/cas/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>you server URL</param-value>
</init-param>
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
2) add the casclient.jar file in \server\default\lib
Now your application is protected by the CAS. To log in your browser must contain a TGC (cookie).
guigui