SEC-2347: Polish

This commit is contained in:
Rob Winch 2014-11-21 22:31:03 -06:00
parent 3c487c0348
commit 09f6210c73
6 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<sec:intercept-url pattern="/**" access="@fsi.getAccessDecisionManager() eq @accessDecisionManager" />
<sec:form-login />
<sec:custom-filter ref="fsi" after="FILTER_SECURITY_INTERCEPTOR " />
<sec:csrf disabled="true"/>
</sec:http>
<bean id="fsi" class="org.springframework.security.web.access.intercept.FilterSecurityInterceptor">

View File

@ -27,6 +27,8 @@
<session-management>
<concurrency-control max-sessions="1" error-if-maximum-exceeded="true" />
</session-management>
<csrf disabled="true"/>
</http>
</beans:beans>

View File

@ -16,6 +16,8 @@
<custom-filter position="CONCURRENT_SESSION_FILTER" ref="concurrencyFilter" />
<custom-filter position="FORM_LOGIN_FILTER" ref="myAuthFilter" />
<csrf disabled="true"/>
</http>
<beans:bean id="aep" class="org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint">

View File

@ -27,6 +27,8 @@
</session-management>
<remember-me key="doesntmatter" token-repository-ref="tokenRepo"/>
<csrf disabled="true"/>
</http>
<beans:bean name="tokenRepo" class="org.springframework.security.web.authentication.rememberme.InMemoryTokenRepositoryImpl"/>

View File

@ -24,6 +24,7 @@
<custom-filter ref="singleLogoutFilter" before="CAS_FILTER"/>
<custom-filter ref="casFilter" position="CAS_FILTER" />
<logout logout-success-url="/cas-logout.jsp"/>
<csrf disabled="true"/>
</http>
<authentication-manager alias="authManager">

View File

@ -7,5 +7,6 @@ This is a protected page. You can only see me if you are a supervisor.
<p><a href="../../secure/index.jsp">Secure page</a></p>
<p><a href="../../secure/ptSample">Proxy Ticket Sample page</a></p>
<p><a href="../../j_spring_security_logout">Logout</a>
<
</body>
</html>