From 51b9c4a19aa024cb1616e8a326274174815ecd41 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Sat, 17 Aug 2013 14:38:39 -0500 Subject: [PATCH] Hide logout in main.jsp if not logged in --- docs/guides/src/asciidoc/hellomvc.asc | 20 +++++++++++-------- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 15 +++++++------- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- .../main/webapp/WEB-INF/decorators/main.jsp | 12 ++++++----- 11 files changed, 82 insertions(+), 61 deletions(-) diff --git a/docs/guides/src/asciidoc/hellomvc.asc b/docs/guides/src/asciidoc/hellomvc.asc index 79425d343e..0ef4d7f56e 100644 --- a/docs/guides/src/asciidoc/hellomvc.asc +++ b/docs/guides/src/asciidoc/hellomvc.asc @@ -80,16 +80,18 @@ include::hello-includes/exploring-the-secured-application.asc[] ==== Displaying the user name -Now that we have authenticated, let's update the application to display the username. Update main.jsp to contain the following snippet: +Now that we have authenticated, let's update the application to display the username if the user is authenticated. Update main.jsp to contain the following snippet: .src/main/webapp/WEB-INF/decorators/main.jsp [source,html] [subs="verbatim,quotes"] ----