Finally managed to fix the problem. The issue was with my implementation of 
java.security.acl.Group interface. In the isMember() I was checking directly 
the principal rather than checking principal.getName(). The RealmMapping impl 
used by the EJB Container checks for available roles using the isMember() 
method. 
Surprisingly the same on the web container gets all the roles as strings and 
then checks against the strings. Wonder why this is so.

In any case I am glad I was able to fix the issue and hopefully this helps 
others.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888145#3888145

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888145


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to