anchor.diff:  <%@ page import="org.apache.log4j.*" %>
   <%@ page import="com.ecyrd.jspwiki.*" %>
  -<%@ page import="com.ecyrd.jspwiki.auth.AuthorizationManager" %>
   <%@ page import="com.ecyrd.jspwiki.tags.WikiTagBase" %>
   <%@ page import="com.ecyrd.jspwiki.auth.permissions.ViewPermission" %>
  -<%@ page import="com.ecyrd.jspwiki.auth.UserProfile" %>
  +<%@ page import="com.ecyrd.jspwiki.auth.*" %>
   <%@ page errorPage="/Error.jsp" %>
   <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
  -
   <%! 
       public void jspInit()
       {
  
positive.code:     }
      Category log = Category.getInstance("JSPWiki"); 
      WikiEngine wiki;
  %>
  
  <%
      WikiContext wikiContext = wiki.createContext( request, WikiContext.VIEW );
      String pagereq = wikiContext.getPage().getName();
  
  
negative.code:                               currentUser,
                                new ViewPermission() ) )
      {
          if( mgr.strictLogins() )
          {
              log.info("User "+currentUser.getName()+" has no access - redirecting to login page.");
              String pageurl = wiki.encodeName( pagereq );
              response.sendRedirect( wiki.getBaseURL()+"Login.jsp?page="+pageurl );
              return;
          }
          else
          {
              //
              //  Do a bit of sanity check here.  FIXME: Should this be somewhere else?
              //
              if( pagereq.equals("LoginError") ) 
              {
                  throw new WikiSecurityException("Looped config detected - you must not prevent view access to page LoginError AND have strictLogins set to true!");
              }
  
              log.info("User "+currentUser.getName()+" has no access - displaying message.");
              response.sendRedirect( wiki.getBaseURL()+"Wiki.jsp?page=LoginError" );
          }
      }
  
      pageContext.setAttribute( WikiTagBase.ATTR_CONTEXT,
  