org.codehaus.wadi.tomcat55
Class Valve

java.lang.Object
  extended byorg.apache.catalina.valves.ValveBase
      extended byorg.codehaus.wadi.tomcat55.Valve
All Implemented Interfaces:
Contained, MBeanRegistration, Valve

public class Valve
extends ValveBase

A Tomcat Valve which checks incoming proxied requests to see if they were originally from a secure connection. If this is the case, it modifies the request object so that it encodes this fact.

Version:
$Revision: 1415 $
Author:
Jules Gosnell

Field Summary
protected  Log _log
           
protected  Pattern _trustedIps
           
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, containerLog, controller, domain, info, mserver, next, oname, sm
 
Constructor Summary
Valve(Pattern trustedIps)
           
 
Method Summary
 void invoke(Request request, Response response)
           
 
Methods inherited from class org.apache.catalina.valves.ValveBase
backgroundProcess, createObjectName, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log

protected final Log _log

_trustedIps

protected final Pattern _trustedIps
Constructor Detail

Valve

public Valve(Pattern trustedIps)
Method Detail

invoke

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


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.