rahul rajpoot
rahul rajpoot

Reputation: 1

How can we create a adapter with NTML authentication

How can we call web service from JAVA adapter with NTML authentication?

Upvotes: 0

Views: 126

Answers (1)

Vivin K
Vivin K

Reputation: 2681

For all practical purposes, a Java adapter can be treated as any other Java project.

Which means, there isn't anything specific to IBM MobileFirst that you need to call a backend utilising NTLM authentication.

Apache HttpClient supports NTLM authentication while calling endpoints.

I found these examples:

Chapter 4. HTTP authentication

Http Authentication

You should find many other working Java samples online. Once you have understood, you should be able to write something similar into the Java adapter project - which is in turn a JAX-RS project.

For adding dependencies and building a Java adapter , refer to this link:

Creating Java and JavaScript Adapters

Upvotes: 0

Related Questions