All, As far as I've seen, I do not see an implementation that enables an application using a CAS 3+Spring 3 configuration to pass a gateway parameter as part of the request which I guess would accomplish what I need.
I'm thinking of adding a filter which intercepts all requests and somehow talk to CAS with the gateway parameter set. I'm not sure if this is the only way to achieve this with my current setup. Looking forward to the inputs of Scott and the other experts here. Thanks, Prasanna On Sun, Apr 18, 2010 at 5:57 AM, prasanna <hprasann...@gmail.com> wrote: > Hi, > I've integrated Spring Security 3 with CAS. I'm stuck as I attempt to use > CAS as a gateway. > > My app has a few protected and unprotected pages with each page having a > login/logout link. I access a secure page after authenticating with CAS. > Accessing any page during that session would still display the logout > link(indicating that the user has authenticated with CAS). > > Currently, when I try to access a non-secure page(when I'm still logged > into CAS from another casified app or have a remember me cookie set by my > cas server), I would expect myself to be logged in automatically. But the > non-secure page still displays a login link(clicking which talks to CAS and > logs me in automatically as I previously authenticated successfully and the > browser has not been closed). > > I do not want to redirect the user to CAS login page if he tries to access > a non-secure resource, I just need to validate behind the scene to check if > he still logged into CAS and if not redirect him to the non-secure page as a > guest user. > > Please let me know what I need to add to my security context to achieve > this. > > Prasanna > > ps:I've attached my web.xml and security xml. > -- > You are currently subscribed to cas-user@lists.jasig.org as: > hprasann...@gmail.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user