-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mitch,
On 7/21/2009 6:23 PM, Mitch Claborn wrote: > I am toying with the idea of writing my own Realm for authentication. > Much of the code and structures that I need are already present in the > web application. Is there any way for the Realm to access Java objects > from the web application? They don't appear to share the same class loader. > > As an alternative is there a mechanism for providing the functionality > of a Realm, but within the web application structure? You could use securityfilter (http://securityfilter.sourceforge.net): you can implement your own Realm with direct access to the HttpServletRequest object being serviced during the login (in order to use this special interface, you need to get the trunk source and build it yourself: it is not yet in an official build). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpmfvMACgkQ9CaO5/Lv0PCTEACfSEt0Y38/sOyQISANpr6POW4X iaEAoIWsHmUG0VthFtbZnbaYVZ6qtmcM =mRsG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org