public class MergeAttributeEntryHandler extends AbstractSearchEntryHandler
| Modifier and Type | Field and Description | 
|---|---|
private String[] | 
attributeNames
Attribute names to read values from. 
 | 
private static int | 
HASH_CODE_SEED
hash code seed. 
 | 
private String | 
mergeAttributeName
Attribute name to add merge values into. 
 | 
logger| Constructor and Description | 
|---|
MergeAttributeEntryHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
String[] | 
getAttributeNames()
Returns the attribute names. 
 | 
String | 
getMergeAttributeName()
Returns the merge attribute name. 
 | 
protected void | 
handleAttributes(Connection conn,
                SearchRequest request,
                SearchEntry entry)
Handle the attributes of a search entry. 
 | 
int | 
hashCode()  | 
void | 
setAttributeNames(String... names)
Sets the attribute names. 
 | 
void | 
setMergeAttributeName(String name)
Sets the merge attribute name. 
 | 
String | 
toString()  | 
handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequestprivate static final int HASH_CODE_SEED
private String mergeAttributeName
private String[] attributeNames
public String getMergeAttributeName()
public void setMergeAttributeName(String name)
name - of the merge attributepublic String[] getAttributeNames()
public void setAttributeNames(String... names)
names - of the attributesprotected void handleAttributes(Connection conn, SearchRequest request, SearchEntry entry) throws LdapException
AbstractSearchEntryHandlerhandleAttributes in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryentry - search entry to extract the attributes fromLdapException - if the LDAP returns an errorpublic boolean equals(Object o)
equals in class AbstractSearchEntryHandlerpublic int hashCode()
hashCode in class AbstractSearchEntryHandlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.