tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Forbis <cfor...@gmail.com>
Subject Re: How to get context realm from servlet and filter.
Date Thu, 14 Oct 2004 15:02:02 GMT
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 direction?

Thanks!


On Thu, 14 Oct 2004 08:43:23 -0400, Shapira, Yoav <yoav.shapira@mpi.com> wrote:
> 
> Hi,
> A Realm is associated with a Container, not necessarily a Context, so
> the method is appropriately placed in the Container interface, a parent
> of the Context interface.  Obviously all this is not part of the Servlet
> API, so you'll have to write Tomcat-specific code to get it.
> 
> Yoav Shapira http://www.yoavshapira.com
> 
> 
> >-----Original Message-----
> >From: Chris Forbis [mailto:cforbis@gmail.com]
> >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().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
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
>

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


Mime
View raw message