public class LdapHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkLDAPGroupFilter(java.lang.String groupFilter) |
static void |
checkLDAPParameters(LdapParameters ldapParameters) |
static void |
checkLDAPUserFilter(java.lang.String userFilter) |
static java.lang.String |
checkMandatoryAttribute(IImportLogger importLogger,
org.apache.directory.api.ldap.model.entry.Entry entry,
java.lang.String attribute) |
static LdapConProxy |
connectLdap(Parameters ldapParameters) |
static java.util.Optional<UserManager> |
getLdapUser(LdapParameters ldapParameters,
ItemValue<Domain> domain,
java.lang.String userLogin,
ItemValue<User> bmUser,
MailFilter mailFilter) |
public static void checkLDAPParameters(LdapParameters ldapParameters) throws ServerFault
ServerFault
public static java.util.Optional<UserManager> getLdapUser(LdapParameters ldapParameters, ItemValue<Domain> domain, java.lang.String userLogin, ItemValue<User> bmUser, MailFilter mailFilter)
public static void checkLDAPUserFilter(java.lang.String userFilter) throws ServerFault
ServerFault
public static void checkLDAPGroupFilter(java.lang.String groupFilter) throws ServerFault
ServerFault
public static LdapConProxy connectLdap(Parameters ldapParameters) throws ServerFault
ServerFault
public static java.lang.String checkMandatoryAttribute(IImportLogger importLogger, org.apache.directory.api.ldap.model.entry.Entry entry, java.lang.String attribute)
Copyright © 2021. All Rights Reserved.