users@glassfish.java.net

Re: Correct use of _at_RunAs

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Mar 2009 04:47:16 PDT

The principals mapped to the @RunAs role has to be explicitly set in sun-ejb.jar.xml only if there is more than one principal associated with that role.

<ejb>
                 ...
                 <principal>
                         <name>user1</name>
                 </principal>
                 ...
         </ejb>

Please check http://java.sun.com/developer/technicalArticles/J2EE/security_annotation/ for more details.
[Message sent by forum member 'nitkal' (nitkal)]

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