Authenticating with Active Directory via Kerberos

后端 未结 4 2042
野的像风
野的像风 2021-02-05 18:00

I\'m working on building an android application which requires different levels of authentication, and I would like to do so using Active Directory.

From what I\'ve read

4条回答
  •  醉话见心
    2021-02-05 18:34

    For that you might be better off just staying completely within LDAP and don't venture into the kerberos. Kerberos gives you advantage of Single Sign On, but since your android app doesn't have any credentials already in place it doesn't really help you. I guess google had their own reasons not to include the javax.naming into the distro. It is pretty heavy stuff.

    You might be able to either port the stuff yourself from java runtime library sources, or might be better off using native LDAP library. For example this one.

    Just remember to use secure LDAP connection or at least secure authentication method. More info about this is here.

提交回复
热议问题