Support NTLM / v2 authentication for outgoing requests

Issue #1 resolved
Asankha Perera
repo owner created an issue

NTLM authentication is a secure authentication mechanism used mostly within Intranets to secure services exposed over HTTP/S. The Apache HttpComponents / Client already supports NTLMv2 using JCIFS library. This support should be exposed from within the UltraESB

Comments (1)

  1. Asankha Perera reporter

    The UltraESB 1.1.1 onwards will include support for NTLM / v2 using JCIFS (bundled) fe34a1054dc5

    Here is a sample proxy service that will add NTLM / v2 to the outgoing HTTP request at the endpoint level

        <u:proxy id="ntlm-auth-proxy">
            <u:transport id="http-8280"/>
            <u:target>
                <u:inSequence>
                    <u:java><![CDATA[
                        msg.addMessageProperty("transport.auth.username", "administrator");
                        msg.addMessageProperty("transport.auth.password", "RhU2Xfwcmew");
                        msg.addMessageProperty("transport.auth.domain", "WORKGROUP");
                    ]]></u:java>
                </u:inSequence>
                <u:inDestination>
                    <u:address>http://ec2-184-73-124-76.compute-1.amazonaws.com/test.asmx</u:address>
                </u:inDestination>
                <u:outDestination>
                    <u:address type="response"/>
                </u:outDestination>
            </u:target>
        </u:proxy>
    
  2. Log in to comment