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

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 Chris Forbis
.findChild(engine.getDefaultHost()); Container[] containers = host.findChildren(); for (int i = 0; i < containers.length; i++) { Container container = containers[i]; out.println(" >From: Chris Forbis [mailto:[EMAIL PROTECTED] > >Sent: Thursday, October 14, 2004 11:02 AM &g

Where to place classes

2004-10-14 Thread Chris Forbis
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 a