-
Bug
-
Resolution: Done
-
Blocker
-
11.0.0.Alpha1
-
None
In RunAsPrincipalTestCase#testSingletonPostconstructSecurityNotPropagating, when Elytron enabled, identity (including Admin role) is propagated into StatelessBBean:
StatelessSingletonUseBean SimpleSingletonBean | check Admin in [Admin] (has required role) StatelessBBean
In non-Elytron case the check is unsuccessful as test require, because identity is not propagated:
StatelessSingletonUseBean SimpleSingletonBean | authorize EXCEPTION methodRoles = Admin securityContext.subjectInfo = anonymouse
This is lack of WFLY-981 fix when Elytron used: Identity is propagated from @PostConstruct method.
- blocks
-
WFLY-8984 Fix tests which currently fail with -Dwildfly.tmp.enable.elytron.profile.tests
- Closed
- is cloned by
-
JBEAP-11913 EJB with Elytron propagate identity even when it should not
- Closed
- is related to
-
WFLY-981 @RunAs/@RunAsPrincipal are ignored for @Startup/@Singleton bean
- Closed