mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-24 13:02:13 +00:00
Gave correct role name
This commit is contained in:
parent
0e413cedcb
commit
dec44811fc
@ -14,8 +14,8 @@
|
||||
<h1>VERY Secure Page</h1>
|
||||
This is a protected page. You can only see me if you are a supervisor.
|
||||
|
||||
<authz:authorize access="hasRole('ROLE_SUPERVISOR')">
|
||||
You have "ROLE_SUPERVISOR" (this text is surrounded by <authz:authorize> tags).
|
||||
<authz:authorize access="hasRole('supervisor')">
|
||||
You have authority "supervisor" (this text is surrounded by <authz:authorize> tags).
|
||||
</authz:authorize>
|
||||
|
||||
<p><a href="../../">Home</a></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user