%-- - $Revision$ - $Date$ --%> <%@ page import="org.jivesoftware.openfire.session.IncomingServerSession, org.jivesoftware.util.JiveGlobals, java.net.URLEncoder, java.util.Calendar, java.util.Date"%> <%-- - This page is meant to be included in other pages. It assumes 4 variables: - * 'host', the name of the remote server - * 'inSession', an IncomingServerSession object - * 'outSession', an OutgoingServerSession object - * 'count', an int representing the row number we're on. --%> <% // Show the secured icon only if ALL sessions are secure boolean isSecured = true; // Check if all incoming sessions are secured for (org.jivesoftware.openfire.session.IncomingServerSession inSession : inSessions) { if (!inSession.isSecure()) { isSecured = false; break; } } // Check if outgoing session is secured (only if incoming sessions are secured) if (isSecured && outSession != null) { isSecured = outSession.isSecure(); } %>
| " title=" |