@Service public class LdapService extends Object
Ldap service
| Constructor and Description |
|---|
LdapService() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(String username,
String password)
Authenticate against ldap.
|
List<String> |
getGroups(String username,
String property)
Extract groups from ldap.
|
void |
setLdapTemplate(org.springframework.ldap.core.LdapTemplate ldapTemplate)
Set the ldap template property for ldap access.
|
public void setLdapTemplate(org.springframework.ldap.core.LdapTemplate ldapTemplate)
ldapTemplate - the template to setpublic void authenticate(String username, String password)
username - the usernamepassword - the passwordCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.