users@glassfish.java.net

programmatic security in managed bean

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 Feb 2008 08:09:53 PST

Hi
I want to implement programmatic security in a managed bean for an ee5 application. Is it possible to invoke getCallerPrincipal() and isCallerInRole() in the managed bean.Can the ejbcontext be accessed from managed bean?

Thanks
[Message sent by forum member 'anjana83' (anjana83)]

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