3 changed files with 7 additions and 20 deletions
@ -1,14 +1,8 @@ |
|||||||
<%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags" %> |
|
||||||
|
|
||||||
<html> |
<html> |
||||||
<body> |
<body> |
||||||
<h1>VERY Secure Page</h1> |
<h1>VERY Secure Page</h1> |
||||||
This is a protected page. You can only see me if you are a supervisor. |
This is a protected page. You can only see me if you are a supervisor. |
||||||
|
|
||||||
<authz:authorize ifAllGranted="ROLE_SUPERVISOR"> |
|
||||||
You have "ROLE_SUPERVISOR" (this text is surrounded by <authz:authorize> tags). |
|
||||||
</authz:authorize> |
|
||||||
|
|
||||||
<p><a href="../../">Home</a> |
<p><a href="../../">Home</a> |
||||||
<p><a href="../../j_spring_security_logout">Logout</a> |
<p><a href="../../j_spring_security_logout">Logout</a> |
||||||
</body> |
</body> |
||||||
|
|||||||
Loading…
Reference in new issue