Reputation: 8322
I have implemented UserDetailsService
and overriden loadUserByUsername(String username)
, here i need User entered password.
I want to authenticate against LdapTemplate authenticate(username,password)
.
I have searched a lot but dint get it.
Please help me.
Upvotes: 0
Views: 359
Reputation: 18224
Either use spring-security-ldap for LDAP based authentication or implement your own AuthenticationProvider
instead of DaoAuthenticationProvider
.
There are multiple authentication scenarios when using Spring Security LDAP:
For more information check Spring Security LDAP documentation.
Upvotes: 1