tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chirayu Shah" <cs...@wynnesystems.com>
Subject Request Filter Valve
Date Fri, 16 Apr 2004 22:47:33 GMT
I am trying to set request filter at host level programatticaly for
Embedded Tomcat. It doesn't seem like working.
Anyone can poing out what i am supposed to do. Here, is the Code Snippet
that i am using:
host = embedded.createHost("localhost", getPath()

+ "/webapps");

RemoteAddrValve filter = new RemoteAddrValve();

filter.setContainer(host);

filter.setDeny("10.45.10.55");

 
Chirayu Shah
 
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message