Hi, You should ask this kind of question on the CAS user mailing list.
The *SavedRequestAwareAuthenticationSuccessHandler* is normally set by default in the *CasProcessingFilter* so your original accessed protected url should always be restored. As the saved request is stored into the web session of your web application, you may have some troubles with your web session. Best regards, Jérôme 2013/11/18 Ivan Rodrigues <ivan.jun...@gps-pamcary.com.br> > I'm trying solve a problem using CAS with Spring Security 3.1.3-RELEASE, > when I do a link to another url that use to the same CAS Server. > > I tried change the SimpleURLAuthenticationSuccess by > SavedRequestAwareAuthenticationSuccessHandler like in this > http://roguecoder.wordpress.com/2010/05/14/jasig-cas-spring-security-and-bookmarking/#respondbut > still not working. > > To show better my scenario is: > > I have two applications that users auth in the same CAS Server. When I > access the application 1, then I goes to the CAS Server. After logIn I > access the context of application normally. > > The problem occur when I try access a link bookmarked in application 2. > Like the following link > <a href="/applicationB/pages/motors/1"/> > > I'm redirected to CAS and CAS redirect me to /application2, context of > application. > -- > You are currently subscribed to cas-dev@lists.jasig.org as: > lel...@gmail.com > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > -- You are currently subscribed to cas-dev@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-dev