restricted access to /authorize to ROLE_USER accounts, closes #892

pull/948/head
Justin Richer 2015-08-21 10:21:08 -04:00
parent 4e83b173f4
commit 2f172fa1e0
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@
<security:http disable-url-rewriting="true" use-expressions="true">
<security:form-login login-page="/login" authentication-failure-url="/login?error=failure" authentication-success-handler-ref="authenticationTimeStamper" />
<security:intercept-url pattern="/authorize" access="hasRole('ROLE_USER')" />
<security:intercept-url pattern="/**" access="permitAll" />
<security:custom-filter ref="promptFilter" after="SECURITY_CONTEXT_FILTER" />
<security:logout logout-url="/logout" />