소스 검색

Fix CAS filter configuration.

Luke Taylor 16 년 전
부모
커밋
092d7b5c2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      samples/cas/client/src/main/webapp/WEB-INF/applicationContext-security.xml

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

@@ -9,6 +9,7 @@
         <sec:intercept-url pattern="/secure/extreme/**" access="ROLE_SUPERVISOR" requires-channel="https"/>
         <sec:intercept-url pattern="/secure/**" access="ROLE_USER" />
         <sec:logout logout-success-url="/cas-logout.jsp"/>
+        <sec:custom-filter ref="casProcessingFilter" after="CAS_PROCESSING_FILTER"/>        
     </sec:http>
 
     <sec:authentication-manager alias="authenticationManager">
@@ -16,7 +17,6 @@
     </sec:authentication-manager>
 
     <bean id="casProcessingFilter" class="org.springframework.security.cas.web.CasProcessingFilter">
-        <sec:custom-filter after="CAS_PROCESSING_FILTER"/>
         <property name="authenticationManager" ref="authenticationManager"/>
         <property name="authenticationFailureHandler">
             <bean class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler">