1 Reply Latest reply: Nov 27, 2011 3:16 PM by arjan tijms RSS

    Principal lost in @Timeout

    arjan tijms Novice

      Hi,

       

      I have a singleton session bean in JBoss AS 6.10. There's a method A that schedules a timer via the timer service.

       

      When this method is called via a user that is authenticated in the web module, the @Timeout method has access to the principal that called this method A.

       

      When this method is called via a service that has a @RunAS annotation, method A still has the right principal ("anonymous" with the run as role), but when the timeout method is called the principal is gone.

       

      Any idea?