tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: JAAS and Realms configuration
Date Wed, 01 Feb 2006 23:31:44 GMT
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message