]
Martin Simka reassigned WFLY-8204:
----------------------------------
Assignee: Martin Simka (was: Flavia Rainone)
work-manager and distributed-workmanager need an Elytron-enabled
flag
---------------------------------------------------------------------
Key: WFLY-8204
URL:
https://issues.jboss.org/browse/WFLY-8204
Project: WildFly
Issue Type: Bug
Components: JCA
Reporter: Stefano Maestri
Assignee: Martin Simka
Priority: Blocker
Labels: elytron_integration
Fix For: 11.0.0.Alpha1
2 RA using the same bootStrapContext and so the same WorkManager. First RA has
ElytronEnabled==true, while the second one has ElytronEnabled==false. We have a problem
in this line:
https://github.com/wildfly/wildfly/blob/master/connector/src/main/java/or...
When second RA will be deployed it will find security integration set for elytron not
according to its configuration. And, since this method is changing securityIntegration on
a deployment it would be a problem every time we have mixed configuration w/ and w/o Ely.
I think we should have elytron-enabled parameter also in workmanager/default-workmanager
in jca subsytem and a check (in the method linked above and/or maybe elsewhere...I need to
double check) that RA w/ elytron-enabled use only workmanager w/ elytron-enabled and vice
versa.