eclipse-ee4j / metro-wsit

metro-wsit
https://eclipse-ee4j.github.io/metro-wsit/
BSD 3-Clause "New" or "Revised" License
6 stars 21 forks source link

NTLM authentication doesn't work with Metro client #384

Open Tomas-Kraus opened 2 years ago

Tomas-Kraus commented 2 years ago

Not able to consume microsoft webservices secured via NTLM. Even creating your own Authenticator(extending Authenticator) and setting it as default doesn't seems to work.The method getPasswordAuthentication() never gets called.

Affected Versions

[2.1.1]

Source: https://github.com/javaee/metro-wsit/issues/1682 Author: glassfishrobot

dmatej commented 1 month ago

I had issues with this 15 years ago, then it was a bug in the JDK6 ... then we abandoned it and now it seems it will be abandoned by Microsoft too, see:

All versions of NTLM, including LANMAN, NTLMv1, and NTLMv2, are no longer under active feature development and are deprecated. Use of NTLM will continue to work in the next release of Windows Server and the next annual release of Windows. Calls to NTLM should be replaced by calls to Negotiate, which will try to authenticate with Kerberos and only fall back to NTLM when necessary. For more information, see Resources for deprecated features.