Merge pull request #4 from Abdull/master
Correct role names in tutorial jsps
This commit is contained in:
commit
6bde4caa77
|
@ -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>
|
||||
|
|
|
@ -18,7 +18,7 @@ This is a protected page. You can get to me if you've been remembered,
|
|||
or if you've authenticated this session.
|
||||
</p>
|
||||
<p>
|
||||
<sec:authorize access="hasRole('ROLE_SUPERVISOR')">
|
||||
<sec:authorize access="hasRole('supervisor')">
|
||||
You are a supervisor! You can therefore see the <a href="extreme/index.jsp">extremely secure page</a>.<br/><br/>
|
||||
</sec:authorize>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue