<%@page import="org.osivia.portal.api.Constants"%> <%@page import="java.util.ResourceBundle"%> <%@page import="java.security.Principal" %> <% ResourceBundle rb = ResourceBundle.getBundle("Resource", request.getLocale()); Principal principal = (Principal)request.getAttribute(Constants.ATTR_TOOLBAR_PRINCIPAL); String loginURL = (String)request.getAttribute(Constants.ATTR_TOOLBAR_LOGIN_URL); String signOutURL = (String)request.getAttribute(Constants.ATTR_TOOLBAR_SIGN_OUT_URL); String monEspaceURL = (String)request.getAttribute(Constants.ATTR_TOOLBAR_MY_SPACE_URL); String refreshPageUrl = (String) request.getAttribute(Constants.ATTR_TOOLBAR_REFRESH_PAGE_URL); String administrationHtmlContent = (String) request.getAttribute(Constants.ATTR_TOOLBAR_ADMINISTRATION_CONTENT); %> <% if(principal != null) { %>
<%=administrationHtmlContent %>

<%= rb.getString("LOGGED") %> : <%= principal.getName() %>

<% if (monEspaceURL != null) { %> <%= rb.getString("MON_ESPACE") %> <% } %> <%=rb.getString("LOGOUT") %> "> 
<% } %>