Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
4.6.0
-
None
-
NA
Description
Beans that are annotated with:
@DeclareRoles(
{"role"})@RolesAllowed({"role"}
)
That are called on a method annotated with:
@Asynchronous
...fail silently as the EJBAccessException that is thrown is never logged, and (due to the nature of asynchronous) is never propagated.
The EJBAccessException occurs because the role is not propagated correctly into ThreadContext where containers that call getSecurityService().isCallerAuthorized