I have two ears deployed in a JBoss container, they contain the same code base-
an entity jar and a war file. The ears are configured to have different
datasources, JNDI names, JAAS domains (jboss-web.xml) and different class
loaders (jboss-app.xml).
The problem I have can be described thus (as seen in V4.0.3.SP1):
login to web app 1 with user sa - this user does not have privilege X
[good] call request.isUserInRole("X") in web app 1 returns false
login to web app 2 with user sa - this user does have privilege X
[good] call request.isUserInRole("X") in web app 2 returns true
[bad] call request.isUserInRole("X") in web app 1 returns true
In V3.2.7 this behaves as expected and request.isUserInRole("X") in web app 1
returns false after the user sa logs into web app 2.
My goal is to have the two applications running independantly, and now this is
not the case.
I would be grateful for suggestions as to the config setting I might have
wrong, or how I might go about resolving this problem
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933988#3933988
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933988
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user