Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Write custom valve?

Doug Black

2007-07-24

Replies:

How can I best pass ips allowed by a valve to pass through to my application
while forcing ips that are denied to log in through a realm? The only possible
behavior I can detect of either RemoteAddrValve or RemoteHostValve is to force
requests through the IP or host filter and also through the user realm for the
context. Do I have to write a custom valve java class? How hard is this for an
intermediate Java writer? Any tips on how to do this?

I apologize that I submitted essentially the same question a couple days ago,
but I got no responses so I thought I'd try with a less verbose phrasing.

Thanks, Doug


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.