mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-01 00:02:13 +00:00
SEC-745: updated cas sample filter bean configuration
This commit is contained in:
parent
ddffdf1699
commit
65a78ce4a4
@ -16,8 +16,16 @@
|
|||||||
<bean id="casProcessingFilter" class="org.springframework.security.ui.cas.CasProcessingFilter">
|
<bean id="casProcessingFilter" class="org.springframework.security.ui.cas.CasProcessingFilter">
|
||||||
<sec:custom-filter after="CAS_PROCESSING_FILTER"/>
|
<sec:custom-filter after="CAS_PROCESSING_FILTER"/>
|
||||||
<property name="authenticationManager" ref="authenticationManager"/>
|
<property name="authenticationManager" ref="authenticationManager"/>
|
||||||
<property name="authenticationFailureUrl" value="/casfailed.jsp"/>
|
<property name="authenticationFailureHandler">
|
||||||
|
<bean class="org.springframework.security.ui.SimpleUrlAuthenticationFailureHandler">
|
||||||
|
<property name="defaultFailureUrl" value="/casfailed.jsp"/>
|
||||||
|
</bean>
|
||||||
|
</property>
|
||||||
|
<property name="authenticationSuccessHandler">
|
||||||
|
<bean class="org.springframework.security.ui.SimpleUrlAuthenticationSuccessHandler">
|
||||||
<property name="defaultTargetUrl" value="/"/>
|
<property name="defaultTargetUrl" value="/"/>
|
||||||
|
</bean>
|
||||||
|
</property>
|
||||||
<property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage" />
|
<property name="proxyGrantingTicketStorage" ref="proxyGrantingTicketStorage" />
|
||||||
<property name="proxyReceptorUrl" value="/secure/receptor" />
|
<property name="proxyReceptorUrl" value="/secure/receptor" />
|
||||||
</bean>
|
</bean>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user