diff --git a/samples/tutorial/src/main/webapp/WEB-INF/jsp/listAccounts.jsp b/samples/tutorial/src/main/webapp/WEB-INF/jsp/listAccounts.jsp index b1deaa337a..4fbedda3a8 100644 --- a/samples/tutorial/src/main/webapp/WEB-INF/jsp/listAccounts.jsp +++ b/samples/tutorial/src/main/webapp/WEB-INF/jsp/listAccounts.jsp @@ -1,6 +1,14 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>

Accounts

+

+Anyone can view this page, but posting to an Account requires login and must be authorized. Below are some users to try posting to Accounts with. +

+ Home

diff --git a/samples/tutorial/src/main/webapp/index.jsp b/samples/tutorial/src/main/webapp/index.jsp index 8c2e005bf9..3228c7fdd8 100644 --- a/samples/tutorial/src/main/webapp/index.jsp +++ b/samples/tutorial/src/main/webapp/index.jsp @@ -6,7 +6,7 @@ Anyone can view this page.

-If you're logged in, you can list accounts. +While anyone can also view the list accounts page, you must be authorized to post to an Account from the list accounts page.

Your principal object is....: <%= request.getUserPrincipal() %>