浏览代码

Gave correct role name

Abdull 13 年之前
父节点
当前提交
0e413cedcb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      samples/tutorial/src/main/webapp/secure/index.jsp

+ 1 - 1
samples/tutorial/src/main/webapp/secure/index.jsp

@@ -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>