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
