How do you authenticate against an Active Directory server using Spring Security?

前端 未结 8 1170
我寻月下人不归
我寻月下人不归 2020-12-22 16:30

I\'m writing a Spring web application that requires users to login. My company has an Active Directory server that I\'d like to make use of for this purpose. However, I\'m

相关标签:
8条回答
  • 2020-12-22 17:02

    LDAP authentication without SSL is not safe anyone can see the user credential when those are transffered to LDAP server. I suggest using LDAPS:\ protocol for authentication. It doesn't require any major change on spring part but you may ran with some issues related to certificates. See LDAP Active Directory authentication in Spring with SSL for more details

    0 讨论(0)
  • 2020-12-22 17:05

    Just to bring this to an up-to-date status. Spring Security 3.0 has a complete package with default implementations devoted to ldap-bind as well as query and compare authentication.

    0 讨论(0)
提交回复
热议问题