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

elytron security configuration is ignored in RA connection definition

XMLWordPrintable

      configuration of authentication-context-and-application, authentication-context and recovery-authentication-context is ignored in security configuration of RA's connection-definition

      Example:

                  <resource-adapters>
                      <resource-adapter id="activemq-rar.rar">
                          <archive>activemq-rar.rar</archive>
                          <bootstrap-context>customContext</bootstrap-context>
                          <workmanager>
                              <security>
                                  <mapping-required>true</mapping-required>
                                  <elytron-security-domain>wm-realm</elytron-security-domain>
                              </security>
                          </workmanager>
                          <config-property name="ServerUrl">URL</config-property>
                          <connection-definitions>
                              <connection-definition class-name="org.apache.activemq.ra.ActiveMQManagedConnectionFactory" jndi-name="java:/ConnectionFactory" enabled="true" pool-name="ConnectionFactory">
                                  <security>
                                      <elytron-enabled>true</elytron-enabled>
                                      <authentication-context-and-application>AMQ-context</authentication-context-and-application>
                                  </security>
                                  <recovery/>
                           </connection-definition>
                       </connection-definitions>
                       <admin-objects>
                           <admin-object class-name="org.apache.activemq.command.ActiveMQQueue" jndi-name="java:jboss/queue/testQueue" enabled="true" pool-name="testQueue"/>
                      </admin-objects>
               </resource-adapter>
      

              msimka@redhat.com Martin Simka
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: