Something along the lines of:
|
| Object obj = ctx.lookup("java:comp/env/security/securityMgr");
| AuthenticationManager am = (AM)obj;
| am.isValid(Principal,Object);
|
| //Do generic authz
| RealmMapping rm = (RM)obj;
| rm.doesUserHaveRole(.....)
|
should work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147295#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...