Stefan Baramov wrote:
> Using the <realm-name/> tag I was hoping to link the login configuration
> for each application to a particular JAAS Realm. However this is not
> happening. Both application will use the second JAAS Realm and it seems
> that <realm-name> tag is completely ignored. 
> 
> Finally, I have to say I tried this configuration on Tomcat 5.5.9 and
> 5.0.30 with no success. What am I missing? Is there another tag in the
> web.xml that will connect me to the right JAAS Realm ?

The linkage is done within the context rather than web.xml. Nest your
Realm inside your Context and you should be good to go. AFAIK the
names in web.xml are only used to identify the realm to the user and
in DIGEST auth.

Mark


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

Reply via email to