public abstract class EntityManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
domainAliases |
Constructor and Description |
---|
EntityManager(java.util.List<java.lang.String> domainAliases) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
getAttributesValues(org.apache.directory.api.ldap.model.entry.Entry entry,
java.lang.String[] attrs) |
protected java.lang.String |
getAttributeValue(org.apache.directory.api.ldap.model.entry.Entry entry,
java.lang.String attributeName)
Return first value of attribute
|
protected java.lang.String |
getDefaultLocalEmail(java.util.List<java.lang.String> userEmails) |
protected java.lang.String |
getEmailLeftPart(java.lang.String email) |
protected java.util.Set<java.lang.String> |
getEmailRightParts(java.lang.String email) |
protected boolean |
isLocalEmail(java.lang.String mail) |
protected java.util.Set<java.lang.String> |
mergeEmailRightParts(java.util.Set<java.lang.String> a,
java.util.Set<java.lang.String> b) |
public EntityManager(java.util.List<java.lang.String> domainAliases)
protected java.util.List<java.lang.String> getAttributesValues(org.apache.directory.api.ldap.model.entry.Entry entry, java.lang.String[] attrs)
protected java.lang.String getAttributeValue(org.apache.directory.api.ldap.model.entry.Entry entry, java.lang.String attributeName)
entry
- attributeName
- protected boolean isLocalEmail(java.lang.String mail)
protected java.lang.String getEmailLeftPart(java.lang.String email)
protected java.util.Set<java.lang.String> getEmailRightParts(java.lang.String email)
protected java.util.Set<java.lang.String> mergeEmailRightParts(java.util.Set<java.lang.String> a, java.util.Set<java.lang.String> b)
protected java.lang.String getDefaultLocalEmail(java.util.List<java.lang.String> userEmails)
Copyright © 2021. All Rights Reserved.