[jboss-jira] [JBoss JIRA] (WFLY-8205) work-manager and distributed-workmanager need an Elytron-enabled flag

Martin Simka (JIRA) issues at jboss.org
Wed Feb 22 09:32:00 EST 2017


Martin Simka created WFLY-8205:
----------------------------------

             Summary: work-manager and distributed-workmanager need an Elytron-enabled flag
                 Key: WFLY-8205
                 URL: https://issues.jboss.org/browse/WFLY-8205
             Project: WildFly
          Issue Type: Bug
          Components: JCA
            Reporter: Martin Simka
            Assignee: Flavia Rainone
            Priority: Blocker


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. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list