au.com.lastweekend.htaccess
Class HtAccessProcessor
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtAccessProcessor
public HtAccessProcessor()
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.