Form Login
This commit is contained in:
@@ -23,7 +23,17 @@
|
||||
|
||||
<!-- User Information -->
|
||||
<div id="userlogin">
|
||||
<page:applyDecorator name="empty" page="/WEB-INF/jsp/login.jsp" />
|
||||
|
||||
<!-- For anonymous user display the login form -->
|
||||
<authz:authorize ifAllGranted="ROLE_ANONYMOUS">
|
||||
<page:applyDecorator name="empty" page="/WEB-INF/jsp/login.jsp" />
|
||||
</authz:authorize>
|
||||
|
||||
<!-- For authenticated user display user information-->
|
||||
<authz:authorize ifNotGranted="ROLE_ANONYMOUS">
|
||||
<page:applyDecorator name="empty" page="/WEB-INF/jsp/secure/userinformation.jsp" />
|
||||
</authz:authorize>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- headermenu -->
|
||||
|
||||
Reference in New Issue
Block a user