Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8204

work-manager and distributed-workmanager need an Elytron-enabled flag

XMLWordPrintable

      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/org/jboss/as/connector/services/resourceadapters/deployment/AbstractResourceAdapterDeploymentService.java#L676

      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.

              flaviarnn Flavia Rainone
              smaestri@redhat.com Stefano Maestri
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: