Hi,

Spring Security CAS client uses a single service url when redirecting to 
/cas/login url. It works that way as the original protected url is always saved 
before redirection to be restored after authentication.

If you want to control the url post authentication, you need to do that on 
application side, something like :
<bean id="casFilter" class="org.springframework.security.cas.web.CasAut 
henticationFilter">
 <property name="authenticationManager" ref="authenticationManager"/>
 <property name="authenticationSuccessHandler">
  <bean 
class="org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler"
 
   p:alwaysUseDefaultTargetUrl="true"
   p:defaultTargetUrl="http://localhost:8888/myapplication/login"; />
 </property>
</bean>

Best regards,
Jérôme

-- 
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

Reply via email to