Unable to get NTLM authentication work with switchyard rest binding

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content