On Thu, 15 Nov 2001, Trever M. Shick wrote:

> Date: Thu, 15 Nov 2001 09:52:39 -0700
> From: Trever M. Shick <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Help with multiple security domains
>
> I'd like to have two different JDBC realms within my server.xml and then I'd
> like to reference those within my web.xml file.
>
> I already have one JDBC realm working, I would like to add a second one.
> Is there some sort of "name" or "key" that can be set for a JDBC realm and
> then referenced by the security constraints within the web.xml?
>

For Tomcat 4, you can use a different realm per webapp by nesting the
<Realm> element inside a <Context> element for that webapp in server.xml.
That way, you don't need any special key or anything like that.

> Thanks for any help.
>

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to