Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-12 Thread Tobias Gierke
when upgrading the Tomcat, so not much of a hassle there. Cheers, Tobias Oliver -Original Message- From: users-return-242261-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Wed 6/12/2013 2:12 AM To: users@tomcat.apache.org Subject: Re: Possible to expose a

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tobias Gierke
Hi Oliver, I think I now understand your issue. I was faced with a similar problem and could not figure out how to get the roles of an authenticated user through the servlet API. It seems to only allow the question 'request.isUserInRole(role)'. But does not seem to provide a way to get a list

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tobias Gierke
Hi, -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 Real

Re: Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tobias Gierke
riginal Message- From: users-return-242237-OLIVER.TANGLIN=saic@tomcat.apache.org on behalf of Tobias Gierke Sent: Tue 6/11/2013 11:20 AM To: users@tomcat.apache.org Subject: Possible to expose a Tomcat Realm instance through JNDI ? Hi, In my web app, I'd like to re-use the (serve

Possible to expose a Tomcat Realm instance through JNDI ?

2013-06-11 Thread Tobias Gierke
Hi, 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 ac