public class GroupManagerImpl extends GroupManager
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
LDAP_GROUP_FILTER |
static java.lang.String |
LDAP_MEMBER |
static java.lang.String |
LDAP_MEMBER_UID |
static java.lang.String |
LDAP_NAME |
create, entry, group
domainAliases
Modifier and Type | Method and Description |
---|---|
static GroupManagerImpl |
build(LdapParameters ldapParameters,
Domain domain,
org.apache.directory.api.ldap.model.entry.Entry entry) |
protected void |
entityEnhancerHooks() |
protected Parameters |
getDirectoryParameters() |
protected java.util.List<java.lang.String> |
getEmails() |
protected java.lang.String |
getExternalId(ImportStatus importStatus) |
protected LdapSearchCursor |
getGroupGroupMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String memberDn) |
protected LdapSearchCursor |
getGroupUserMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon,
java.lang.String memberDn) |
static java.util.Set<java.lang.String> |
getGroupUsersMembers(org.apache.directory.api.ldap.model.entry.Entry entry) |
static java.util.Set<java.lang.String> |
getGroupUsersMembersUid(org.apache.directory.api.ldap.model.entry.Entry entry) |
protected java.util.Optional<UuidMapper> |
getGroupUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry) |
protected java.util.Optional<UuidMapper> |
getUserUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry) |
protected java.lang.String |
groupMemberAttribute() |
protected java.lang.String |
groupMemberOfAttribute() |
protected void |
manageInfos() |
protected void |
setName(ImportStatus importStatus) |
getGroupGroupsMembersUuid, getGroupUsersMembersUuid, getMembershipUuid, manageEmails, update, update
getAttributesValues, getAttributeValue, getDefaultLocalEmail, getEmailLeftPart, getEmailRightParts, isLocalEmail, mergeEmailRightParts
protected static final java.lang.String LDAP_GROUP_FILTER
public static final java.lang.String LDAP_NAME
public static final java.lang.String LDAP_MEMBER_UID
public static final java.lang.String LDAP_MEMBER
public static GroupManagerImpl build(LdapParameters ldapParameters, Domain domain, org.apache.directory.api.ldap.model.entry.Entry entry)
protected java.lang.String getExternalId(ImportStatus importStatus)
getExternalId
in class GroupManager
protected void setName(ImportStatus importStatus)
setName
in class GroupManager
protected void manageInfos() throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
manageInfos
in class GroupManager
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
protected java.util.List<java.lang.String> getEmails()
getEmails
in class GroupManager
protected void entityEnhancerHooks()
entityEnhancerHooks
in class GroupManager
protected Parameters getDirectoryParameters()
getDirectoryParameters
in class GroupManager
protected java.lang.String groupMemberOfAttribute()
groupMemberOfAttribute
in class GroupManager
protected java.lang.String groupMemberAttribute()
groupMemberAttribute
in class GroupManager
protected LdapSearchCursor getGroupGroupMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String memberDn) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException, org.apache.directory.api.ldap.model.exception.LdapException
getGroupGroupMembers
in class GroupManager
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
org.apache.directory.api.ldap.model.exception.LdapException
protected LdapSearchCursor getGroupUserMembers(org.apache.directory.ldap.client.api.LdapConnection ldapCon, java.lang.String memberDn) throws org.apache.directory.api.ldap.model.exception.LdapInvalidDnException, org.apache.directory.api.ldap.model.exception.LdapException
getGroupUserMembers
in class GroupManager
org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
org.apache.directory.api.ldap.model.exception.LdapException
protected java.util.Optional<UuidMapper> getGroupUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry)
getGroupUuidMapper
in class GroupManager
protected java.util.Optional<UuidMapper> getUserUuidMapper(org.apache.directory.api.ldap.model.entry.Entry memberEntry)
getUserUuidMapper
in class GroupManager
public static java.util.Set<java.lang.String> getGroupUsersMembersUid(org.apache.directory.api.ldap.model.entry.Entry entry)
public static java.util.Set<java.lang.String> getGroupUsersMembers(org.apache.directory.api.ldap.model.entry.Entry entry)
Copyright © 2021. All Rights Reserved.