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

2004-10-15 Thread Antoine Brocard - Vertical*i S.A.
://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 from a servlet (and maybe a filter). I do not see

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 in

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 Cox, Charlie
: Antoine 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 *can* see and use

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-14 Thread Shapira, Yoav
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 from a servlet (and maybe a filter

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

2004-10-14 Thread Chris Forbis
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 from a servlet (and maybe a filter). I do not see a getContext

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

2004-10-14 Thread Shapira, Yoav
://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. Quick follow-up to your post. I understand what you are saying. But I

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

2004-10-14 Thread Michael Vorburger
://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. Quick follow-up to your post. I understand what you are saying. But I am not sure how

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, not

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

2004-10-14 Thread Chris Forbis
. 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. Quick follow-up to your post. I

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