Browse Source

Update CAS sample to use new namespace syntax for authentication providers.

3.0.x
Luke Taylor 17 years ago
parent
commit
984b2835d6
  1. 5
      samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml

5
samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml

@ -11,7 +11,9 @@ @@ -11,7 +11,9 @@
<sec:logout logout-success-url="/cas-logout.jsp"/>
</sec:http>
<sec:authentication-manager alias="authenticationManager"/>
<sec:authentication-manager alias="authenticationManager">
<sec:authentication-provider ref="casAuthenticationProvider"/>
</sec:authentication-manager>
<bean id="casProcessingFilter" class="org.springframework.security.cas.web.CasProcessingFilter">
<sec:custom-filter after="CAS_PROCESSING_FILTER"/>
@ -36,7 +38,6 @@ @@ -36,7 +38,6 @@
</bean>
<bean id="casAuthenticationProvider" class="org.springframework.security.cas.authentication.CasAuthenticationProvider">
<sec:custom-authentication-provider />
<property name="userDetailsService" ref="userService"/>
<property name="serviceProperties" ref="serviceProperties" />
<property name="ticketValidator">

Loading…
Cancel
Save