Skip to content

Commit dec4481

Browse files
committed
Gave correct role name
1 parent 0e413ce commit dec4481

File tree

1 file changed

+2
-2
lines changed
  • samples/tutorial/src/main/webapp/secure/extreme

1 file changed

+2
-2
lines changed

samples/tutorial/src/main/webapp/secure/extreme/index.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<h1>VERY Secure Page</h1>
1515
This is a protected page. You can only see me if you are a supervisor.
1616

17-
<authz:authorize access="hasRole('ROLE_SUPERVISOR')">
18-
You have "ROLE_SUPERVISOR" (this text is surrounded by &lt;authz:authorize&gt; tags).
17+
<authz:authorize access="hasRole('supervisor')">
18+
You have authority "supervisor" (this text is surrounded by &lt;authz:authorize&gt; tags).
1919
</authz:authorize>
2020

2121
<p><a href="../../">Home</a></p>

0 commit comments

Comments
 (0)