public class DnAttributeEntryHandler extends AbstractSearchEntryHandler
logger| Constructor and Description |
|---|
DnAttributeEntryHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDnAttributeName()
Returns the DN attribute name.
|
protected void |
handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the attributes of a search entry.
|
int |
hashCode() |
boolean |
isAddIfExists()
Returns whether to add the entryDN if an attribute of the same name exists.
|
void |
setAddIfExists(boolean b)
Sets whether to add the entryDN if an attribute of the same name exists.
|
void |
setDnAttributeName(String name)
Sets the DN attribute name.
|
String |
toString() |
equals, handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequestpublic String getDnAttributeName()
public void setDnAttributeName(String name)
name - of the DN attributepublic boolean isAddIfExists()
public void setAddIfExists(boolean b)
b - whether to add the entryDN if an attribute of the same name existsprotected 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 int hashCode()
hashCode in class AbstractSearchEntryHandlerCopyright © 2023. All rights reserved.