org.apache.geronimo.tomcat.interceptor
Class PolicyContextBeforeAfter

java.lang.Object
  extended by org.apache.geronimo.tomcat.interceptor.PolicyContextBeforeAfter
All Implemented Interfaces:
BeforeAfter

public class PolicyContextBeforeAfter
extends Object
implements BeforeAfter


Field Summary
static String DEFAULT_SUBJECT
           
 
Fields inherited from interface org.apache.geronimo.tomcat.interceptor.BeforeAfter
DISPATCHED, EDGE_SERVLET
 
Constructor Summary
PolicyContextBeforeAfter(BeforeAfter next, int policyContextIDIndex, int callersIndex, int defaultSubjectIndex, String policyContextID, Subject defaultSubject)
           
 
Method Summary
 void after(Object[] context, ServletRequest httpRequest, ServletResponse httpResponse, int dispatch)
           
 void before(Object[] context, ServletRequest httpRequest, ServletResponse httpResponse, int dispatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SUBJECT

public static final String DEFAULT_SUBJECT
See Also:
Constant Field Values
Constructor Detail

PolicyContextBeforeAfter

public PolicyContextBeforeAfter(BeforeAfter next,
                                int policyContextIDIndex,
                                int callersIndex,
                                int defaultSubjectIndex,
                                String policyContextID,
                                Subject defaultSubject)
Method Detail

before

public void before(Object[] context,
                   ServletRequest httpRequest,
                   ServletResponse httpResponse,
                   int dispatch)
Specified by:
before in interface BeforeAfter

after

public void after(Object[] context,
                  ServletRequest httpRequest,
                  ServletResponse httpResponse,
                  int dispatch)
Specified by:
after in interface BeforeAfter


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.