<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %> <%@ page import="org.apache.wiki.*" %> <%@ page import="org.apache.wiki.*" %> <%@ page import="org.apache.wiki.auth.*" %> <%@ page errorPage="/Error.jsp" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page import="javax.servlet.jsp.jstl.fmt.*" %> <% String postURL = ""; WikiContext ctx = WikiContext.findContext( pageContext ); AuthenticationManager mgr = ctx.getEngine().getAuthenticationManager(); if( mgr.isContainerAuthenticated() ) { postURL = "j_security_check"; } else { String redir = (String)ctx.getVariable("redirect"); if( redir == null ) redir = ctx.getEngine().getFrontPage(); postURL = ctx.getURL( WikiContext.LOGIN, redir ); } boolean supportsCookieAuthentication = mgr.allowsCookieAuthentication(); %> <%-- Login functionality --%> <%----%>

<% if( supportsCookieAuthentication ) { %> <% } %>
 
<%-- Lost pasword functionality --%>

 
<%----%>
<%-- Register new user profile --%>
LoginHelp