users@glassfish.java.net

Any way to swtich roles at runtime?

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 May 2007 14:28:39 PDT

Basically, is there any way for a process running within the container to change the user that they are running as? There's the RunAs annotation, but that's static and only for a specific ROLE, I'd like to swap out and run code as a specific user.

Any hints?
[Message sent by forum member 'whartung' (whartung)]

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