Commit 79e5b894 authored by Marek Kadlečík's avatar Marek Kadlečík
Browse files

Fixed @author annotation and added sessionScope referencing in jsp

parent 344e3805
Pipeline #141930 passed with stage
in 1 minute and 25 seconds
......@@ -19,7 +19,7 @@ import javax.servlet.http.HttpSession;
import javax.validation.Valid;
/**
* @author Jan Hassman
* @author Marek Kadlečík
*/
@Controller
@RequestMapping("/security")
......
......@@ -56,7 +56,7 @@
</ul>
</li>
<li><my:a href="/security/login"><f:message key="navigation.login"/></my:a></li>
<c:if test="${not empty authenticatedUser}">
<c:if test="${not empty sessionScope.authenticatedUser}">
<li><my:a href="/security/logout"><f:message key="navigation.logout"/></my:a></li>
</c:if>
</ul>
......@@ -74,13 +74,13 @@
</c:if>
<!-- authenticated user info -->
<c:if test="${not empty authenticatedUser}">
<c:if test="${not empty sessionScope.authenticatedUser}">
<div class="row">
<div class="col-xs-6 col-sm-8 col-md-9 col-lg-10"></div>
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
<div class="panel panel-default">
<div class="panel-body">
<c:out value="${authenticatedUser.getName()}"/>
<c:out value="${sessionScope.authenticatedUser.name}"/>
</div>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment