Unable to get NTLM authentication work with switchyard rest binding
Issue
NTLM authentication with rest binding configured in switchyard.xml didn't seem to be picked up, however it worked fine with SoapUI request. Below is the snippet of part of my switchyard config:
<sca:reference name="MyService" multiplicity="0..1" promote="MyProxyServiceBean/MyService">
<sca:interface.java interface="com.sample.MyControlService"/>
<resteasy:binding.rest name="myRest">
<resteasy:messageComposer class="com.sample.MyMessageComposer"/>
<resteasy:interfaces>com.sample.MyControlResource</resteasy:interfaces>
<resteasy:address>${my.serverurl}/control/api/</resteasy:address>
<resteasy:ntlm>
<resteasy:user>userX</resteasy:user>
<resteasy:password>passwordY</resteasy:password>
<resteasy:domain>DOMAINZ</resteasy:domain>
</resteasy:ntlm>
</resteasy:binding.rest>
</sca:reference>
Environment
- Red Hat JBoss Fuse Service Works
- 6.0.0
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.
