-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chuck,
On 4/10/2009 8:09 AM, Caldarale, Charles R wrote: >> From: ujjain [mailto:iceujj...@gmail.com] >> Subject: Setting up web authentication login for a webapp, but with >> anexception for 1 ip address? >> >> But I wish to be able to allow 1 ip to access this web-app >> without logging in > > I don't think you can do that with standard container-managed security. You > may be able to do it programatically with a filter based on the > SecurityFilter from here: > http://securityfilter.sourceforge.net/ Just like with Tomcat, secureityfilter would require a custom realm to be written that adds an exception for an ip address. The advantage of using sf is that you don't tie yourself to a single version of Tomcat by hacking the existing authentication and authorization valve. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknfbncACgkQ9CaO5/Lv0PAgLgCgofI11QuWmS/BosDaX+Bk9/0X WhUAoLuI1rTMq/fnOD9r2NTIGDXROYGD =GXhT -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org