[
https://issues.jboss.org/browse/WFLY-9885?page=com.atlassian.jira.plugin....
]
Martin Simka updated WFLY-9885:
-------------------------------
Description:
configuration of {{authentication-context-and-application}}, {{authentication-context}}
and {{recovery-authentication-context}} is ignored in security configuration of RA's
{{connection-definition}}
Example:
{code:xml}
<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>
{code}
was:
configuration of {{authentication-context-and-application}}, {{authentication-context}}
and {{recovery-authentication-context}} is ignored in security configuration RA's
{{connection-definition}}
Example:
{code:xml}
<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>
{code}
elytron security configuration is ignored in RA connection
definition
---------------------------------------------------------------------
Key: WFLY-9885
URL:
https://issues.jboss.org/browse/WFLY-9885
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 11.0.0.Final, 12.0.0.Beta1
Reporter: Martin Simka
Assignee: Martin Simka
Priority: Critical
configuration of {{authentication-context-and-application}}, {{authentication-context}}
and {{recovery-authentication-context}} is ignored in security configuration of RA's
{{connection-definition}}
Example:
{code:xml}
<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>
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)