I`m having some problem using the TimerServices together with JAAS. To me this seems like a very common thing, but I have not been able to find anyone with the same problem as mine.
JAAS is working nicely, the only problem I have is when an EJB tries to use the TimerServices. On the expiration of the Timer I get an Authentication exception due to the fact that the caller of the ejbTimeout()-method did not have any principals.
So basically, how do I assign the TimerServices a role, or how do I allow the ejbTimeout() to be called with principal=null.
I would appriciate any hints