Java SSO: Kerberos authentication against Active Directory

前端 未结 5 1883
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-02 00:10

I\'m still trying to find a Java based solution for SSO (running on *nix), which I can use on JBoss to authorize against an Active Directory/domain controller. I initially t

5条回答
  •  天涯浪人
    2021-01-02 00:16

    To do this, you actually need to use LDAP. Luckily for you, Java has solid support for both Kerberos and LDAP. The detailed procedure is at http://java.sun.com/products/jndi/tutorial/ldap/security/gssapi.html .

    Overview of steps:

    • Authenticate to Kerberos
    • Use Kerberos to assume user identity
    • Perform GSSAPI bind to Active Directory LDAP server
    • Retrieve group list over LDAP

提交回复
热议问题