users@glassfish.java.net

Re: How to _at_RunAs more than one role

From: Jose Noheda <jose.noheda_at_gmail.com>
Date: Wed, 6 Aug 2008 09:37:42 +0200

With these requirements I would probably create a new role and map it
accordingly (avoiding the programmatic security at all costs). Otherwise
you'll need to split the call in several methods I guess.

On Wed, Aug 6, 2008 at 9:30 AM, <glassfish_at_javadesktop.org> wrote:

> Thanks Jose, you're right. But I need to have both roles A and B to run a
> method from my bean (they will be checked using
> SessionContext.isCallerInRole() method). I still don't know how this can be
> done.
> [Message sent by forum member 'olafos' (olafos)]
>
> http://forums.java.net/jive/thread.jspa?messageID=291794
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>