File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
servlet/xml/java/contacts/src/main/resources Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 17
17
<expression-handler ref =" expressionHandler" />
18
18
</global-method-security >
19
19
20
- <http request-matcher =" ant" realm =" Contacts Realm" use-expressions = " false " >
21
- <intercept-url pattern =" /" access =" IS_AUTHENTICATED_ANONYMOUSLY " />
22
- <intercept-url pattern =" /index.jsp" access =" IS_AUTHENTICATED_ANONYMOUSLY " />
23
- <intercept-url pattern =" /hello.htm" access =" IS_AUTHENTICATED_ANONYMOUSLY " />
24
- <intercept-url pattern =" /login.jsp*" access =" IS_AUTHENTICATED_ANONYMOUSLY " />
25
- <intercept-url pattern =" /switchuser.jsp" access =" ROLE_SUPERVISOR " />
26
- <intercept-url pattern =" /login/impersonate" access =" ROLE_SUPERVISOR " />
27
- <intercept-url pattern =" /**" access =" ROLE_USER " />
20
+ <http request-matcher =" ant" realm =" Contacts Realm" >
21
+ <intercept-url pattern =" /" access =" permitAll " />
22
+ <intercept-url pattern =" /index.jsp" access =" permitAll " />
23
+ <intercept-url pattern =" /hello.htm" access =" permitAll " />
24
+ <intercept-url pattern =" /login.jsp*" access =" permitAll " />
25
+ <intercept-url pattern =" /switchuser.jsp" access =" hasRole('SUPERVISOR') " />
26
+ <intercept-url pattern =" /login/impersonate" access =" hasRole('SUPERVISOR') " />
27
+ <intercept-url pattern =" /**" access =" hasRole('USER') " />
28
28
29
29
<form-login login-page =" /login.jsp" authentication-failure-url =" /login.jsp?login_error=1" />
30
30
<http-basic />
You can’t perform that action at this time.
0 commit comments