Retrieve current Windows user in Java EE web application for Single Sign On purposes

前端 未结 4 480
时光说笑
时光说笑 2020-11-28 13:14

I am doing a Java EE web application that requires Single Sign On with Active Directory.

The application will no longer prompt for a username and password. The authe

4条回答
  •  醉话见心
    2020-11-28 13:42

    JCIFS NTLM is no longer supported (though it will work with NTLMv1). In my current project we have used SPNEGO as previosuly recommended.

    Options 1, 2 & 3 will try to get you the server user - you might want to have a think about where this code is running & how it could interact with the client machine (hint - it can't)

提交回复
热议问题