users@glassfish.java.net

Re: Correct usage of AccessController.doPrivileged

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Mar 2009 02:25:22 PDT

I am able to do it using JBoss, but not with Glassfish.

It seems with Glassfish you have to map the role to a principal in sun-ejb-jar.xml, but as soon as you map on there you loose the "Default Principal To Role Mapping" functionality.

I have created a new thread since this topic has drifted away from AccessController.doPriviledged. It can be found here: http://forums.java.net/jive/thread.jspa?messageID=336856&#336856
[Message sent by forum member 'drfranknfurter' (drfranknfurter)]

http://forums.java.net/jive/thread.jspa?messageID=337607