public class LdapSearch extends DirectorySearch<LdapParameters>
groupFilter, ldapParameters, userFilter
Constructor and Description |
---|
LdapSearch(LdapParameters ldapParameters) |
Modifier and Type | Method and Description |
---|---|
PagedSearchResult |
findAllGroups(org.apache.directory.ldap.client.api.LdapConnection ldapCon) |
PagedSearchResult |
findAllUsers(org.apache.directory.ldap.client.api.LdapConnection ldapCon) |
PagedSearchResult |
findByUserLogin(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String userLogin) |
PagedSearchResult |
findGroupsDnByLastModification(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.util.Optional<java.lang.String> lastUpdate) |
PagedSearchResult |
findSplitGroup(org.apache.directory.ldap.client.api.LdapConnection ldapCon)
Get split group from its name
|
java.util.Optional<org.apache.directory.api.ldap.model.entry.Entry> |
findUserFromDn(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
org.apache.directory.api.ldap.model.name.Dn userDn)
Get user entry from DN considering user filter and ignoring incremental mode
|
PagedSearchResult |
findUsersDnByLastModification(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.util.Optional<java.lang.String> lastUpdate) |
java.util.Optional<org.apache.directory.api.ldap.model.entry.Entry> |
getGroupFromDn(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
org.apache.directory.api.ldap.model.name.Dn groupDn)
Get group entry from DN considering group filter and ignoring incremental
mode
|
findByFilter, findByFilterAndAttributes, findByFilterAndBaseDnAndScopeAndAttributes
public LdapSearch(LdapParameters ldapParameters)
public PagedSearchResult findAllUsers(org.apache.directory.ldap.client.api.LdapConnection ldapCon) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public PagedSearchResult findUsersDnByLastModification(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.util.Optional<java.lang.String> lastUpdate) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public PagedSearchResult findGroupsDnByLastModification(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.util.Optional<java.lang.String> lastUpdate) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public PagedSearchResult findAllGroups(org.apache.directory.ldap.client.api.LdapConnection ldapCon) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public java.util.Optional<org.apache.directory.api.ldap.model.entry.Entry> findUserFromDn(org.apache.directory.ldap.client.api.LdapConnection ldapCon, org.apache.directory.api.ldap.model.name.Dn userDn) throws org.apache.directory.api.ldap.model.exception.LdapException
ldapCon
- userDn
- org.apache.directory.api.ldap.model.exception.LdapException
public java.util.Optional<org.apache.directory.api.ldap.model.entry.Entry> getGroupFromDn(org.apache.directory.ldap.client.api.LdapConnection ldapCon, org.apache.directory.api.ldap.model.name.Dn groupDn) throws org.apache.directory.api.ldap.model.exception.LdapException
ldapCon
- userDn
- org.apache.directory.api.ldap.model.exception.LdapException
public PagedSearchResult findSplitGroup(org.apache.directory.ldap.client.api.LdapConnection ldapCon) throws org.apache.directory.api.ldap.model.exception.LdapException
ldapCon
- org.apache.directory.api.ldap.model.exception.LdapException
NullOrEmptySplitGroupName
public PagedSearchResult findByUserLogin(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String userLogin) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2021. All Rights Reserved.