users@glassfish.java.net

Re: How to pass security context to timeout callback method of Timer Servic

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Apr 2010 11:53:24 PDT

Hi Dominik,

The only way is to assign a <run-as> principal to the stateless bean. The downside is that this can only be applied at the granularity of the entire bean, so even for business method invocations the outgoing principal will be the run-as principal.
[Message sent by forum member 'ksak']

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