com.caucho.server.security
Class SecurityFilterChain

java.lang.Object
  extended by com.caucho.server.dispatch.AbstractFilterChain
      extended by com.caucho.server.security.SecurityFilterChain
All Implemented Interfaces:
CometFilterChain, FilterChain

public class SecurityFilterChain
extends AbstractFilterChain


Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response)
          Invokes the next filter in the chain or the final servlet at the end of the chain.
 boolean doResume(ServletRequest request, ServletResponse response)
          Resumes the request.
 void setConstraints(java.util.ArrayList<AbstractConstraint> constraints)
           
 void setMethodMap(java.util.HashMap<java.lang.String,AbstractConstraint[]> methodMap)
           
 void setWebApp(ServletContext app)
           
 
Methods inherited from class com.caucho.server.dispatch.AbstractFilterChain
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setWebApp

public void setWebApp(ServletContext app)

setConstraints

public void setConstraints(java.util.ArrayList<AbstractConstraint> constraints)

setMethodMap

public void setMethodMap(java.util.HashMap<java.lang.String,AbstractConstraint[]> methodMap)

destroy

public void destroy()

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response)
              throws ServletException,
                     java.io.IOException
Description copied from interface: FilterChain
Invokes the next filter in the chain or the final servlet at the end of the chain.

Parameters:
request - the servlet request
response - the servlet response
Throws:
ServletException
java.io.IOException

doResume

public boolean doResume(ServletRequest request,
                        ServletResponse response)
                 throws ServletException,
                        java.io.IOException
Resumes the request.

Specified by:
doResume in interface CometFilterChain
Overrides:
doResume in class AbstractFilterChain
Parameters:
request - the servlet request
response - the servlet response
Returns:
true for keepalive, false for the end of the request
Throws:
ServletException
java.io.IOException
Since:
Resin 3.1.3