Hi,
It is possible to have a per-context authentication database, especially one that does
not have to be configured
using server.xml ?
This is the sort of scenario I am looking at: A WAR file is added to the webapps
directory, and on restarting
Tocmat will be deployed. It contains all of
Hi,
My comments relate to tomcat 3, not 4 but the same principles apply.
Twylite wrote:
>
> Hi,
>
> It is possible to have a per-context authentication database,
> especially one that does not have to be configured using server.xml ?
>
> This is the sort of scenario I
Hi,
I sortof answered my own question, by writing my own Realm to do the trick. But I'm
having some trouble :/
>to override the default. In the realm implementation authenticate() I
>just do stuff like
>Context ctx = req.getContext();
>String jaasConfigEntry = ctx.getInitParameter(jaa
Hi,
Twylite wrote:
>
> > Context ctx = req.getContext();
> > String jaasConfigEntry = ctx.getInitParameter(jaasConfigKey);
>
> Interestingly I'm doing something almost exactly like that ... but
> no matter what page/context I'm accessing I appear to be getting
> the root context from req.ge
Hi,
Thanks for the reply.
>> Interestingly I'm doing something almost exactly like that ... but
>> no matter what page/context I'm accessing I appear to be getting
>> the root context from req.getContext() . Any suggestions?
>Have you got the different contexts defined in server.xml?
Yes.
Of