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:                               currentUser,
                                new ViewPermission() ) )
      {
          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;
      }
  
      pageContext.setAttribute( WikiTagBase.ATTR_CONTEXT,
  
negative.code:     }
      Category log = Category.getInstance("JSPWiki"); 
      WikiEngine wiki;
  
  %><%
  
      WikiContext wikiContext = wiki.createContext( request, WikiContext.VIEW );
      String pagereq = wikiContext.getPage().getName();
  
  