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
.
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
I am having a problem as where to place classes.
I have a CustomJDBCRealm (it extends JDBC realm)
I need this to be setup in the context of my application like any
other realm. If I place my jar in server\lib it works.
BUT
If I do this the MyPrincipal object can not be refrenced from my web
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