How to correctly connect to an NTLM server with BW 5.12 on Windows 7.

How to correctly connect to an NTLM server with BW 5.12 on Windows 7.

book

Article ID: KB0093458

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
BW versions prior to BW 5.12 do not support NTLM on Windows 7. There is a JIRRA BW-15638 logged against this Defect. The BW 5.12 version has fixed this problem. In order to make NTLM work on Windows 7, use jcifs.jar for NTLM authentication and set the property bw.plugin.authentication.ntlmImpl=JCIFS to use JCIFS for NTLM authentication.

Issue/Introduction

How to correctly connect to an NTLM server with BW 5.12 on Windows 7.

Resolution

1). Go to the Windows control panel, open Administrative Tools and open Internet Information Services (IIS) Manager. Stop the server, then go to Authentication On and change Windows Authentication to be enabled.

2). Go to C:\Windows\System32\inetsrv\config and open the applicationHost.config file. Check that the NTLM has been added under the <windowsAuthentication> tag. By default, both Negotiate and NTLM will be added. The default unchanged file should have the <windowsAuthentication> tag like the following:

                <windowsAuthentication enabled="true">
                    <providers>
                        <add value="Negotiate" />
                        <add value="NTLM" />
                    </providers>

                </windowsAuthentication>

If you have changed that file, change it to this or at least make sure <add value="NTLM" /> is inside that tag. After you make the changes, save the file.

3). Restart the IIS 7.5 server.

4). Upgrade BW to BW 5.12. If you have done this, goto step 5.

5). Download the jcifs-3.1.14.jar and copy it to the <tibco_home>\bw\lib folder. (jcifs-3.1.14.jar is attached to this article).

6). Create a file named properties.cfg under <tibco_home>\designer\5.8 folder, then add the following properties:

bw.plugin.authentication.ntlmImpl=JCIFS

7). Start Designer, open the project and run the SendHttpRequest process again.

8). You will find that the output returns 200.

Additional Information

Microsoft NTLM IIS 7.5 manual

Attachments

How to correctly connect to an NTLM server with BW 5.12 on Windows 7. get_app