From 0e413cedcb4e0a929823b8acba346f67274d87cd Mon Sep 17 00:00:00 2001 From: Abdull Date: Tue, 28 Feb 2012 14:39:30 +0100 Subject: [PATCH 1/2] Gave correct role name --- samples/tutorial/src/main/webapp/secure/index.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/tutorial/src/main/webapp/secure/index.jsp b/samples/tutorial/src/main/webapp/secure/index.jsp index 165f8e90dc..71854262c9 100644 --- a/samples/tutorial/src/main/webapp/secure/index.jsp +++ b/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.

- + You are a supervisor! You can therefore see the extremely secure page.

From dec44811fca5bb2a6ee308085a547e5063f214b7 Mon Sep 17 00:00:00 2001 From: Abdull Date: Tue, 28 Feb 2012 14:41:14 +0100 Subject: [PATCH 2/2] Gave correct role name --- samples/tutorial/src/main/webapp/secure/extreme/index.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/tutorial/src/main/webapp/secure/extreme/index.jsp b/samples/tutorial/src/main/webapp/secure/extreme/index.jsp index 11f29a364f..e1c310f272 100644 --- a/samples/tutorial/src/main/webapp/secure/extreme/index.jsp +++ b/samples/tutorial/src/main/webapp/secure/extreme/index.jsp @@ -14,8 +14,8 @@

VERY Secure Page

This is a protected page. You can only see me if you are a supervisor. - - You have "ROLE_SUPERVISOR" (this text is surrounded by <authz:authorize> tags). + + You have authority "supervisor" (this text is surrounded by <authz:authorize> tags).

Home