On 2/28/2003 at 5:25 PM Gil wrote:

>Can I use two Realms for client authentication?? I would like to define a 
>set of servlets that uses a Realm and another set of sevlets that uses 
>another Realm. Can I make this??

In the same webapp? I don't think so. I think you have a few choices:

1. split the servlets into two webapps, each which its own Realm. annoying
and pedantic.

2. Write your own Realm which acts as a front-end to the two real Realms
and dispatches authentication requests to one or the other based on some
criteria... don't know if Realms get enough information to make this
decision though.

3. you might check out the securityfilter project:

http://securityfilter.sourceforge.net/

they're trying to mitigate some of the portability problems associated with
CMS by bundling the security into the webapps themselves. interesting
approach, might work for you.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to