*/
void setBaseTemplatePathName (final String baseTemplatePathName);
+ /**
+ * Logout for administrator area. If a logged-in user instance exists, it is
+ * being logged-out, too.
+ * <p>
+ * @return Outcome (should be redirected)
+ */
+ String doAdminLogout ();
+
/**
* Logins the user, if the account is found, confirmed and unlocked.
* <p>
* @return Redirect target
*/
- String doLogin ();
+ String doUserLogin ();
/**
* Logout for current user by invalidating the current session.
* <p>
* @return Outcome (should be redirected)
*/
- String doLogout ();
+ String doUserLogout ();
/**
* Getter for logged-in user instance
</ui:define>
<ui:define name="content">
- <h:form id="user_logout">
+ <h:form id="user_logout" rendered="#{userLoginController.isUserLoggedIn()}">
<div class="table">
<div class="table_header">
<h:outputText value="#{msg.LOGIN_USER_LOGOUT_TITLE}" />
</div>
</div>
</h:form>
+
+ <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
+ <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
+ </ui:fragment>
</ui:define>
</ui:composition>
</html>