JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed in JBoss EAP 6
Issue
- I'm trying to setup a remote-outbound-connection for an ejb client to call an ejb on another JBoss EAP 6 server and I'm seeing this error message but vague error message where node2 is the the jboss.node.name property I set:
ERROR [org.jboss.remoting.remote.connection] (Remoting "node2" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
- The
"standalone.xml"for client has these configurations below:
<security-realm name="ejb-security-realm">
<server-identities>
<secret value="cf86fc49735679542aa078d3d4a976be"/>
</server-identities>
</security-realm>
...
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm" />
<outbound-connections>
<remote-outbound-connection name="remote-ejb-connection" outbound-socket-binding-ref="remote-ejb" security-realm="ejb-security-realm" username="user">
<properties>
<property name="SASL_POLICY_NOANONYMOUS" value="false"/>
<property name="SSL_ENABLED" value="false"/>
</properties>
</remote-outbound-connection>
</outbound-connections>
...
<outbound-socket-binding name="remote-ejb">
<remote-destination host="host1" port="4447"/>
</outbound-socket-binding>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0.x
- 6.1.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
