public class SimpleLdapClient extends Object implements LdapClient
It is initialized with a list of DN templates, that are used to authenticate user. Example DN template: cn=${login}+sn=secret,ou=users,dc=example,dc=com Where login is user's name provided by user.
Constructor and Description |
---|
SimpleLdapClient(List<String> templates,
String url) |
public SimpleLdapClient(List<String> templates, String url)
public String authenticate(Auth auth)
authenticate
in interface LdapClient
Copyright © 2013–2019. All rights reserved.