SEC-659: Change CAS sample to use authentication-manager element.

This commit is contained in:
Luke Taylor 2008-02-04 00:12:56 +00:00
parent 424ac4f117
commit b93583164d
1 changed files with 5 additions and 1 deletions

View File

@ -11,8 +11,12 @@
<sec:logout />
</sec:http>
<bean id="casProcessingFilter" class="org.springframework.security.ui.cas.CasProcessingFilter" autowire="byType">
<sec:authentication-manager alias="authenticationManager"/>
<bean id="casProcessingFilter" class="org.springframework.security.ui.cas.CasProcessingFilter">
<sec:custom-filter after="CAS_PROCESSING_FILTER"/>
<property name="authenticationManager" ref="authenticationManager"/>
<property name="authenticationFailureUrl" value="/casfailed.jsp"/>
<property name="defaultTargetUrl" value="/"/>
</bean>