Browse Source

Changed to use expressions in commented-out XML instead of outdated syntax.

3.0.x
Luke Taylor 17 years ago
parent
commit
0134a5646d
  1. 4
      samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security.xml

4
samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security.xml

@ -22,8 +22,8 @@
<intercept-url pattern="/secure/extreme/**" access="hasRole('ROLE_SUPERVISOR')"/> <intercept-url pattern="/secure/extreme/**" access="hasRole('ROLE_SUPERVISOR')"/>
<intercept-url pattern="/secure/**" access="isAuthenticated()" /> <intercept-url pattern="/secure/**" access="isAuthenticated()" />
<!-- Disable web URI authorization, as we're using <global-method-security> and have @Secured the services layer instead <!-- Disable web URI authorization, as we're using <global-method-security> and have @Secured the services layer instead
<intercept-url pattern="/listAccounts.html" access="IS_AUTHENTICATED_REMEMBERED" /> <intercept-url pattern="/listAccounts.html" access="isRememberMe()" />
<intercept-url pattern="/post.html" access="ROLE_TELLER" /> <intercept-url pattern="/post.html" access="hasRole('ROLE_TELLER')" />
--> -->
<intercept-url pattern="/**" access="permitAll" /> <intercept-url pattern="/**" access="permitAll" />
<form-login /> <form-login />

Loading…
Cancel
Save