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

Stefano Maestri (JIRA) issues at jboss.org
Wed Feb 22 09:11:00 EST 2017


Stefano Maestri created WFLY-8204:
-------------------------------------

             Summary: 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
            Reporter: Stefano Maestri
            Assignee: Jason Greene
            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