Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7176784

Windows authentication not working on some computers

    XMLWordPrintable

Details

    • b45
    • x86
    • windows_7
    • Verified

    Backports

      Description

        On some computers the windows authentication of Java is not working.
        On the same machine, the same user and the same HTTP URL the windows login
        is working in the brower.

        By debugging the problem, monitor the network monitor and find Java
        is not sending the third message of the NTLM handshake.

        Look in Java sources and debug the problem, find that NTLMAuthSequence.getNextToken()
        return null in the error case. This result in follow exception:

        Exception in thread "main" java.io.IOException: Internal authentication error

         at sun.net.www.protocol.http.ntlm.NTLMAuthSequence.getAuthHeader(Unknown Source)

         at TestNtlm.main(TestNtlm.java:29)

        Attached a test program and the log output from the failing system.
        Java version - 1.7.0_04-b22. It is not a regression and the problem occur on Java 6;
        however, after upgrade to 7u4 and the problem persistent.

        The OS is a Windows 7 32 Bit.

        Attachments

          Issue Links

            Activity

              People

                chegar Chris Hegarty
                tyao Ting-Yun Ingrid Yao (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: