Mantis - Resin
Viewing Issue Advanced Details
4710 major always 08-12-11 00:07 08-23-11 14:33
ddalessa  
ferg  
normal  
closed 4.0.20  
fixed  
none    
none 4.0.22  
0004710: Caller Security Principal not propagated with an asynchronous method invocation
When invoking a business method annotated with @Asynchronous the current Caller Principal is not propagated as per section 4.5.4 of the ejb 3.1 specification.
The Caller Principal details are stored in a Threadlocal (in TcpSocketLink) and the asynchronous invocation happens in a new thread. Calls to ejbContext.getCallerPrincipal() return null as a result.


Notes
(0005458)
ferg   
08-23-11 14:33   
ejb/1530