com.arsdigita.acs
Class AdminFilter

java.lang.Object
  |
  +--com.arsdigita.acs.FilterBase
        |
        +--com.arsdigita.acs.AdminFilter
All Implemented Interfaces:
Filter

public class AdminFilter
extends FilterBase

Filter for /admin directory. Only allows logged-in users who are site-wide admins to view files in the /admin directory.


Fields inherited from interface com.arsdigita.acs.Filter
FILTER_BREAK, FILTER_OK, FILTER_RETURN
 
Constructor Summary
AdminFilter()
           
 
Method Summary
(package private) static void ()
           
 int filter(HttpServletRequest req, HttpServletResponse resp, ServletContext ctx)
          The request filter interface.
 
Methods inherited from class com.arsdigita.acs.FilterBase
getPath, getPriority, setPath, setPriority
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminFilter

public AdminFilter()
Method Detail

static void ()

filter

public int filter(HttpServletRequest req,
                  HttpServletResponse resp,
                  ServletContext ctx)
           throws ACSException
Description copied from interface: Filter
The request filter interface.
Following copied from interface: com.arsdigita.acs.Filter
Parameters:
req - The servlet request
resp - The servlet response
ctx - The servlet context
Returns:
FILTER_RETURN if the caller should not continue processing the request after the filter is called; FILTER_OK if the caller should continue procesing the request; FILTER_BREAK if the caller should not process any more filters.