RE: How to get context realm from servlet and filter.

2004-10-15 Thread Benson Margulies
List a class as a global JNDI resource to arrange the necessary communications? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to get context realm from servlet and filter.

2004-10-15 Thread Cox, Charlie
ine Brocard - Vertical*i S.A. [mailto:[EMAIL PROTECTED] > Sent: Friday, October 15, 2004 10:10 AM > To: Tomcat Developers List > Subject: Re: How to get context realm from servlet and filter. > > > Note, however, that according to the same document the classes in > > server/lib

Re: How to get context realm from servlet and filter.

2004-10-15 Thread Antoine Brocard - Vertical*i S.A.
> Note, however, that according to the same document the classes in > server/lib *can* see and use classes in common/lib. So you might be > able to plugin something the other way from your current design. I really don't see how... The LoginModule has to be accessible from my application's classes

RE: How to get context realm from servlet and filter.

2004-10-15 Thread Shapira, Yoav
Hi, >My LoginModule class must be in common/lib or in application's >classpath. It uses classes that are (normally) in server/lib (all the >Catalina classes). > >How do you make that work without copying the Catalina's jars from >server/lib to common/lib, what I would like to avoid? The classes

Re: How to get context realm from servlet and filter.

2004-10-15 Thread Antoine Brocard - Vertical*i S.A.
I'm trying to use this code from withing a JAAS LoginModule (see yesterday's post from Michael Vorburger) and I have another problem. My LoginModule class must be in common/lib or in application's classpath. It uses classes that are (normally) in server/lib (all the Catalina classes). How do y

Re: How to get context realm from servlet and filter.

2004-10-14 Thread Chris Forbis
t; >To: Tomcat Developers List > >Subject: Re: How to get context realm from servlet and filter. > > > >Quick follow-up to your post. > > > >I understand what you are saying. But I am not sure how to get access > >to the Container, can you point me in the correct di

RE: How to get context realm from servlet and filter.

2004-10-14 Thread Shapira, Yoav
Hola, >Re. "There's almost no conceivable good use-case for needing the actual >Realm object in your webapp.", here is one: We receive requests from a >dumb Windows client application (no SOAP, simple stupid proprietary XML >format in HTTP) that sends a uid/pwd somehwere inside the POST payload,

Re: How to get context realm from servlet and filter.

2004-10-14 Thread Michael Vorburger
ible. There's almost no conceivable good use-case for needing the actual Realm object in your webapp. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Chris Forbis [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 11:02 AM To: Tomcat Developers List Subject:

RE: How to get context realm from servlet and filter.

2004-10-14 Thread Shapira, Yoav
good use-case for needing the actual Realm object in your webapp. Yoav Shapira http://www.yoavshapira.com >-Original Message- >From: Chris Forbis [mailto:[EMAIL PROTECTED] >Sent: Thursday, October 14, 2004 11:02 AM >To: Tomcat Developers List >Subject: Re: How to get conte

Re: How to get context realm from servlet and filter.

2004-10-14 Thread Chris Forbis
Shapira http://www.yoavshapira.com > > > >-Original Message- > >From: Chris Forbis [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, October 13, 2004 6:24 PM > >To: tomcat-dev > >Subject: How to get context realm from servlet and filter. > > > >I am tryi

RE: How to get context realm from servlet and filter.

2004-10-14 Thread Shapira, Yoav
apira http://www.yoavshapira.com >-Original Message- >From: Chris Forbis [mailto:[EMAIL PROTECTED] >Sent: Wednesday, October 13, 2004 6:24 PM >To: tomcat-dev >Subject: How to get context realm from servlet and filter. > >I am trying to get the current contexts realms fr

How to get context realm from servlet and filter.

2004-10-13 Thread Chris Forbis
I am trying to get the current contexts realms from a servlet (and maybe a filter). I do not see a getContext().getRealm() method. So I am guessing there is another way to get to this, but I do not see it. Can any one provide some quick direction to me on this. Thank you! Chris --