Skip to main content

NTLM Authentication Failure

1 reply [Last post]
Joined: 2011-08-21

Hi guys,

I encountered an authentication error while visiting an item which should be authenticted by NTLM protocal as first through HttpURLConnection.

I used Authenticator.setDefault() to set the default authenction infos.

The error is " Authentication failure". Internal authentication error
at Source)
at Source)

I used ethereal to capture the request and response packages and found that the JDK hadn't sent the type3 message(include username, domain name, host name, etc) to the server.

The JDK version is 1.6.0_05.

Do anyone know why JDK hadn't sent the type3 message, please help me.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-10-27

Have you found your way through this? I am also interested in connecting to an Exchange server that has recently been converted to NTLM authentication.