You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring LDAP includes an authenticate method in LdapTemplate that provide this functionality: boolean authenticate(LdapQuery query, String password);
Using this method authentication becomes as simple as this:
Authenticating a user using Spring LDAP.
@Koooooo-7 thanks for bringing this up. In the documentation section you refer to, there are two authenticate methods. The first is a proposed custom method and the second is the Spring-provided one. It's not meant for them to have the same signature.
I agree that this could be made clearer in the docs. My plan is to update the docs to show the Spring-provided method first and then talk about customizing.
According to the reference document from
https://docs.spring.io
。the source code :
and I tried to debug find the method
Authenticate success return the
mapperCallback.collectedObject
is null.Puzzled :
The text was updated successfully, but these errors were encountered: