I'm trying to authenticate with organization ldap server. When I enter the credentials I'm facing this error. Can someone help?
This is my configuration:
@Override
public void configure(AuthenticationManagerBuilder auth) throws Exception {
auth
.ldapAuthentication().userDnPatterns("username={0},ou=people").contextSource()
.url("ldap://ldap.example.com:389/dc=ms,ddc=ds,dc=example,dc=com").and().passwordCompare()
.passwordAttribute("password");