May 30th, 2007, 11:50 PM
ACEGI CAS example.
I am trying out a simple use case which demonstrates integration between CAS 3.0 and ACEGI 1.0.4.
Here is a brief overview of the setup:
1) CAS 3.0 has been deployed on tomcat 6.0 and configured to
authenticate against openldap server. Authentication using CAS login
servlet works over SSL as expected.
2) I am trying to configure sample ACEGI application viz acegi-security-sample-contacts-cas.war to authenticate against the CAS server as per http://acegisecurity.org/docbook/acegi.html#cas. For some reason am not able to get past *step 6*. After successful authentication CAS redirects the browser to non existing service page resulting in 404 error.
It would be helpful if anybody can let me know how this service URL viz:
has to be configured for CasProcessingFilter as per *step 7.0*
Also, am planning to buy http://www.manning.com/walls3/. I wonder whether this book talks about ACEGI and CAS integration . Are there better books or online resources out there which will help newbies come up to speed quickly ?
Thanks in Advance
May 31st, 2007, 04:22 AM
Hard to say without seeing your config files .
Check that casProcessingFilterEntryPoint is correctly setup with the service URL; the casProcessingFilter handling requests to that URL, and that the filter is setup in web.xml.
May 31st, 2007, 04:48 AM
Originally Posted by tvedtem
Thanks for your reply. This is how casProcessingFilterEntryPoint bean is set inside <WEB_APPS>/acegi-security-sample-contacts-cas/WEBINF/applicationContext-acegi-security.xml
<bean id="casProcessingFilterEntryPoint" class="org.acegisecurity.ui.cas.CasProcessingFilte rEntryPoint">
<property name="serviceProperties"><ref local="serviceProperties"/></property>
<bean id="serviceProperties" class="org.acegisecurity.ui.cas.ServiceProperties" >
Sample application does not deploy anything under
WEB_APPS>/contacts-cas/ , i've attached web.xml with this reply.
Jun 22nd, 2007, 08:49 AM
Did you get this to work?
I am a newbie to CAS.
Its really urgent for me to learn how to make it work.
Would CAS be a new application , which on successfull login will redirect to the webapplications?
I have an application runnin on Tomcat 5.5, with security taken care by Acegi. I was trying to change the security of this application to integrate CAS
Is that the right approach?
Please suggest me.