au.com.lastweekend.htaccess
Class HtAccessProcessor

java.lang.Object
  extended by au.com.lastweekend.htaccess.HtAccessProcessor

public class HtAccessProcessor
extends java.lang.Object

Abstracts the authentication and authorisation processing of htaccess directives from the container that is receiving the request. HtAccessFilter for sample usage. This abstraction from ServletFilter exists because Jetty originally implemented this as a Handler which can avoid the overhead of servlets and filters for certain use-cases.

Version:
$Id$
Author:
Grant Gardner grant@lastweekend.com.au

Nested Class Summary
static interface HtAccessProcessor.HtAccessCallback
          This interface is used to mediate between the container and the authentication and authorisation process
 
Constructor Summary
HtAccessProcessor()
           
 
Method Summary
 void clearCaches()
           
 java.lang.String getAccessFile()
           
 void process(HtAccessProcessor.HtAccessCallback callback)
           
 void setAccessFile(java.lang.String anArg)
           
 void setHtAccessCache(URLCache<au.com.lastweekend.htaccess.HtAccess> htAccessCache)
           
 void setHtGroupCache(URLCache<au.com.lastweekend.htaccess.HtGroup> htGroupCache)
           
 void setHtUserCache(URLCache<au.com.lastweekend.htaccess.HtUser> htUserCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtAccessProcessor

public HtAccessProcessor()
Method Detail

setAccessFile

public void setAccessFile(java.lang.String anArg)

process

public void process(HtAccessProcessor.HtAccessCallback callback)
Parameters:
callback -

clearCaches

public void clearCaches()

getAccessFile

public java.lang.String getAccessFile()

setHtAccessCache

public void setHtAccessCache(URLCache<au.com.lastweekend.htaccess.HtAccess> htAccessCache)

setHtGroupCache

public void setHtGroupCache(URLCache<au.com.lastweekend.htaccess.HtGroup> htGroupCache)

setHtUserCache

public void setHtUserCache(URLCache<au.com.lastweekend.htaccess.HtUser> htUserCache)


Copyright © 2008. All Rights Reserved.