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

前端 未结 8 1188
我寻月下人不归
我寻月下人不归 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

提交回复
热议问题