org.jboss.web.tomcat.security
Class JaccContextValve

java.lang.Object
  extended byValveBase
      extended byorg.jboss.web.tomcat.security.JaccContextValve

public class JaccContextValve
extends ValveBase

A Valve that sets the JACC context id and HttpServletRequest policy context handler value. The context id needs to be established prior to any authorization valves.

See Also:
Serialized Form

Field Summary
static java.lang.ThreadLocal activeCS
           
 
Constructor Summary
JaccContextValve(java.lang.String contextID, java.security.CodeSource cs)
           
 
Method Summary
 void invoke(Request request, Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activeCS

public static java.lang.ThreadLocal activeCS
Constructor Detail

JaccContextValve

public JaccContextValve(java.lang.String contextID,
                        java.security.CodeSource cs)
Method Detail

invoke

public void invoke(Request request,
                   Response response)
            throws java.io.IOException,
                   ServletException
Throws:
java.io.IOException
ServletException