How do people make Java SPNEGO client work in Windows?

前端 未结 3 1424
北海茫月
北海茫月 2020-12-28 08:40

In order to do client-side HTTP SPNEGO authentication with Java on Windows you need to set the Windows Registry key allowtgtsessionkey. This is well documented. What I do no

3条回答
  •  独厮守ぢ
    2020-12-28 09:39

    There is now a really good solution for this included in the Apache HTTP Client, using JNA to get the ticket from the native SSPI API. See this answer:

    https://stackoverflow.com/a/22865583/381161

提交回复
热议问题