Re: Cleaning up old bugs
Christopher Schultz <chris-Nf+wZpSdgwfUvtVhod0YCwZWvwf/[email protected]> Mon, 05 Nov 2007 12:59:34 -0500
| Newsgroups | gmane.comp.java.securityfilter.devel |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1302620178== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC3DDE18F460D6509058713E9" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC3DDE18F460D6509058713E9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Torgeir, Torgeir Veimo wrote: > One enhancement I've used locally, is to check for 401 codes after the = =20 > filter has run. This is done using a response wrapper in addition to =20 > the request wrapper, and some extra logic in the SecurityFilter class. >=20 > This allows us to have a subsystem return a 401, and security filter =20 > automatically redirecting to the login screen. It makes it much easier = =20 > to have dynamic permissions, since it's no longer declared statically = > in the security filter configuration file. >=20 > This might be handy for someone else as well? That sound interesting, but I don't think we'd want to include it in the standard distribution. Securityfilter is intended to be used with declarative security, so that's why I'm saying "no" to this request (at least for the time being). Perhaps with a more extensible (future) architecture, you'll be able to easily add that capability without actually patching securityfilter itself -- but instead subclass he filter and override some hooks or something. -chris --------------enigC3DDE18F460D6509058713E9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHL1oI9CaO5/Lv0PARAnE+AJ9/n3KApdAlKb60mMV7KG72j1s5KACeNprV Bh2EfYCB+3CAaspFAkQuJR0= =bFI9 -----END PGP SIGNATURE----- --------------enigC3DDE18F460D6509058713E9-- --===============1302620178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============1302620178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ securityfilter-devel mailing list securityfilter-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/securityfilter-devel --===============1302620178==--