Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-24 Thread jaikit
One of the platform team's filter was overriding the remote address with actual ip :( I removed their filter and verified. Apologies and thanks everyone for their time. Thanks On 9/24/12 11:58 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaikit, On 9/22

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-23 Thread Jaikit Savla
requests from localhost using tomcat RemoteAddrFilter 2012/9/23 Jaikit Savla : > Hello Users, > > I have some admin api's which I want to have restricted access - such that > only if the request originates from localhost - it will execute. > For that I am using tomca

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-22 Thread Jaikit Savla
I have not yet tried playing with firewall.  I was thinking in the lines of adding capability in filter to find if the request originated from localhost. Right now it just does string comparison.  Jaikit - Original Message - From: Ralph Plawetzki To: Tomcat Users List Cc: Sent

Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-22 Thread Jaikit Savla
Hello Users, I have some admin api's which I want to have restricted access - such that only if the request originates from localhost - it will execute. For that I am using tomcat's RemoteAddrfilter       Remote Address Filter       org.apache.catalina.filters.RemoteAddrFilter               al