I'm trying solve a problem using CAS with Spring Security 3.1.3-RELEASE, when I 
do a link to another url that uses the same CAS Server. 

I tried change the SimpleURLAuthenticationSuccess by 
SavedRequestAwareAuthenticationSuccessHandler like in this link 
http://roguecoder.wordpress.com/2010/05/14/jasig-cas-spring-security-and-bookmarking/#respond
 but 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 the CAS and the CAS redirect me to /application2, context of 
application.
This problem occurs too when I do a link of app1 to app2

------

I'm using the CasAuthenticationFilter that extends 
AbstractAuthenticationProcessingFilter and in 
AbstractAuthenticationProcessingFilter have the method 
setAuthenticationSuccessHandler(AuthenticationSuccessHandler)
that says:
 Sets the strategy used to handle a successful authentication.
 By default a {@link SavedRequestAwareAuthenticationSuccessHandler} is used.


I'm a little bit confuse because a lot of people says to simple use 
SavedRequestAwareAuthenticationSuccessHandler but the proper implementation of 
CAS already use SavedRequestAwareAuthenticationSuccessHandler
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to