tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Possible to expose a Tomcat Realm instance through JNDI ?
Date Tue, 11 Jun 2013 19:54:36 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Tobias,

On 6/11/13 11:20 AM, Tobias Gierke wrote:
> In my web app, I'd like to re-use the (server-wide) Tomcat Realm
> that is already being used for HTTP Basic authentication but
> couldn't find a way how to get hold of the actual Realm instance.
> 
> I spent quite some time looking for a solution (complicated by the
> fact that most Google hits actually referred to the LDAP
> authentication realm) but found none. Is  there a
> "config-file-only" solution or do I need to dig into the Tomcat
> source code and come up with my own JNDI ObjectFactory to achieve
> this ?

What are you actually trying to accomplish? Do you want to
authenticate a user, or get information about an authenticated user?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRt4B8AAoJEBzwKT+lPKRYYMsP/0mmfpuoeHfhyBtk4r/FhNj+
ujAyd7Ah4lXSPGwZP+9oSLkQFNyn+KzXv0Mw7QpdbGVw1J0mQ/umwxikMriXEKmH
rmXquK060IfAubj7ptvQBu6zgFis/6A1N8r51RmrbUej4bIWGrujB0nRAcpWhT3x
Ynt+0sQ+jeNcPhL5QBwzttdBMJf6hRsmNdjMlnwk/zV/E0qaQTpX0NeUuAkgSFuF
ThpkE92rla8S+NL0mS4knj54MVMs3/NRXtm3g+WMxAjPxbKEbNRWaWziK9Pt7N3H
OWVOGJGvQ2x4XMtb3AULgnVNgWxtc7C6WLOTIVqHeqEDKuk+4UOyPB/o9C5Tyrz/
rChGpEMfhLstRDjOvF40oGewXJ+0vC6oaYa9VogMbf+NDtwnyDmX8sXPmROFChj6
9dP47LtJC+IOkMRwkiaRGbrQwzyWtDBdOMueYz2bdpAlbaCtUnb2IGOPddCSmIuX
tNgqn084ZnmuzmgJE8x1QKkhBiZwrc2N5tcvP4JqujukM27mx5W+r31iTFXPUObQ
5ggpSdUB2ijy5+YOsKa6aYcMMSE+mjENTg/CqnHPPWm7czDYhxFUwokvT7ndXCsq
/ZfxcGiccmYPkfpQJ5iQ6m9vtKmMtofr6/jMatv2sQjN17phc/Fb3fjDD5+pnYEG
214EIEkBhZ76WvOTUQ0X
=gC6q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message