users@glassfish.java.net

Re: Correct usage of AccessController.doPrivileged

From: <glassfish_at_javadesktop.org>
Date: Thu, 19 Feb 2009 04:36:59 PST

It seems @RunAs allows the flexibility that I require.

Calling Ejb is annotated with the role required for called Ejb. When the protected method is invoked on called Ejb it is invoked with the role specified in annotation.
[Message sent by forum member 'drfranknfurter' (drfranknfurter)]

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