What will be the security-domain value used while creating bridge through resource adaptor ?

Solution Unverified - Updated -

Issue

  • EAP 6 throws following security error while creating bridge through resource adaptor which uses following security domain
<connection-definitions>
        <connection-definition 
                class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" 
                jndi-name="java:jboss/WSMQJms" 
                pool-name="WSMQJms">
             :
             :
             :
            <security>
                <security-domain>MySecurityDomain</security-domain>
            </security>
       </connection-definition>
    </connection-definitions>
05:21:38,116 ERROR [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-4) IJ020007: Exception during createSubject(): PBOX000016: Access denied: authentication failed: java.lang.SecurityException: PBOX000016: Access denied: authentication failed
    at org.jboss.security.plugins.JBossSecuritySubjectFactory.createSubject(JBossSecuritySubjectFactory.java:84) [picketbox-4.0.17.Final-redhat-1.jar:4.0.17.Final-redhat-1]
    at org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer$1.run(AbstractResourceAdapterDeployer.java:2524) [ironjacamar-deployers-common-1.0.17.Final-redhat-1.jar:1.0.17.Final-redhat-1]
  • Where to define the security domain, in configuration file ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.