public class DirectorySearch<T extends Parameters>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GroupSearchFilter |
groupFilter |
protected T |
ldapParameters |
protected UserSearchFilter |
userFilter |
Constructor and Description |
---|
DirectorySearch(T ldapParameters,
GroupSearchFilter groupFilter,
UserSearchFilter userFilter) |
Modifier and Type | Method and Description |
---|---|
LdapSearchCursor |
findByFilter(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String filter) |
LdapSearchCursor |
findByFilterAndAttributes(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String filter,
java.lang.String... attributes) |
LdapSearchCursor |
findByFilterAndBaseDnAndScopeAndAttributes(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String filter,
org.apache.directory.api.ldap.model.name.Dn baseDn,
org.apache.directory.api.ldap.model.message.SearchScope scope,
java.lang.String... attributes) |
protected final T extends Parameters ldapParameters
protected final GroupSearchFilter groupFilter
protected final UserSearchFilter userFilter
public DirectorySearch(T ldapParameters, GroupSearchFilter groupFilter, UserSearchFilter userFilter)
public LdapSearchCursor findByFilter(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String filter) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public LdapSearchCursor findByFilterAndAttributes(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String filter, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public LdapSearchCursor findByFilterAndBaseDnAndScopeAndAttributes(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String filter, org.apache.directory.api.ldap.model.name.Dn baseDn, org.apache.directory.api.ldap.model.message.SearchScope scope, java.lang.String... attributes) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2021. All Rights Reserved.