-
1. Re: Unexpected switching of users
ctomc Oct 27, 2013 5:01 PM (in response to sowa)Hey,
this forum is mostly meant for EAP6.1 and up.
For 5.1 you could try over at AS < 7 forums JBoss AS or contact Red Hat support.
--
tomaz
-
2. Re: Unexpected switching of users
wdfink Oct 28, 2013 6:12 AM (in response to sowa)I've moved your question to the JBossAS forum.
As Tomaz mentioned you might use the Red Hat support portal if you have a EAP version with an active subscription.
-
3. Re: Unexpected switching of users
sowa Oct 29, 2013 8:29 AM (in response to sowa)I've done some debug and:
- for case when application is returning bad user info I noticed that inside SecurityAssociation.getPrincipal() method there is getting security context:
SecurityContext sc = SecurityContextAssociation.getSecurityContext();
And securityDomain property of sc object has CLIENT_LOGIN_MODULE value.
- for case when application is returning correct user info securityDomain property is set to correct value ('internal' in my case - the same value is defined in jboss.xml (<security-domain>java:/jaas/internal</security-domain>) for all ejb apps).