> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Howto ip-protect a specific url in webapp? > > I can restrict the whole /foo by using valve in > "/etc/tomcat5/Catalina/localhost/foo.xml" but howto protect > only /foo/admin?
Either put the check in the servlet that handles /foo/admin, or write your own valve that extends the existing RemoteAddrValve. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]