[cas-dev] Acegi not redirecting to CAS
Kevin Jordan
kevin at kjordan.net
Sun Dec 9 01:51:02 EST 2007
I'm using the examples in the Acegi documentation as well as the contacts
example as a guide to set up acegi as a cas client, but I can't seem to get
either to work when I put them into my own application. I can get the
contacts example to redirect when I put the *security-cas.xml file instead
of just security.xml in the web.xml file and modify the cas locations.
However, I can't seem to figure out which one bean or property makes it
redirect. If anyone can share any insight into my config files. I did get it
working prior with the ja-sig client, but I found a hibernate audit logging
example which uses acegi to get the username which is good because the only
way I can get it right now with the ja-sig client is through
request.getRemoteUser().
http://kjordan.net/securityConfiguration.xml
http://kjordan.net/web.xml
The only other things in my web.xml which aren't in the posted one are
servlet mappings and a hibernate listener to autostart the sessionfactory.
More information about the cas-dev
mailing list