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 |
---|---|
PagedSearchResult |
findByFilter(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String filter) |
PagedSearchResult |
findByFilterAndAttributes(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String filter,
java.lang.String... attributes) |
PagedSearchResult |
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 PagedSearchResult 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 PagedSearchResult 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 PagedSearchResult 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.