How to implement single sign-on in my java project?

I need to implement single sign-on in my java web application, which can perform the following functions: The whole computer connected to my smb.local domain, after the user logs on to the computer and enter http: // localhost: 8080 , my application knows how to use the current registered user to login to my web application. So, what protocol should I implement? Or any link? Many thanks!

+3
source share
3 answers

If you want to "automatically" extract Windows user credentials, one option (perhaps the only one?) Is NTLM . After you really get the credentials, you need to check them at an authoritative source. Active Directory provides details as LDAP, so most security systems can handle this.

I did such a thing a few years ago with Spring Security , including obtaining privileges based on membership in a Windows group, and it worked very well.

+2
source

CAS Jasig, OpenSSO Josso, SSO. .

" ", , . , ( ).

+1

Is central authentication anywhere (e.g. LDAP)?

0
source

Source: https://habr.com/ru/post/1768255/


All Articles