public class PrimaryGroupIdHandler extends AbstractSearchEntryHandler
ObjectSidHandler to ensure the 'objectSid' attribute is in the proper form. See
http://support2.microsoft.com/kb/297951| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
baseDn
base DN used for searching for the primary group.
|
private java.lang.String |
groupFilter
search filter used to find the primary group.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
logger| Constructor and Description |
|---|
PrimaryGroupIdHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseDn()
Returns the base DN to search for the primary group.
|
java.lang.String |
getGroupFilter()
Returns the search filter used to find the primary group.
|
protected void |
handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the attributes of a search entry.
|
int |
hashCode() |
void |
setBaseDn(java.lang.String dn)
Sets the base DN to search for the primary group.
|
void |
setGroupFilter(java.lang.String filter)
Sets the search filter used to find the primary group.
|
equals, handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequestprivate static final int HASH_CODE_SEED
private java.lang.String groupFilter
private java.lang.String baseDn
public java.lang.String getGroupFilter()
public void setGroupFilter(java.lang.String filter)
filter - search filterpublic java.lang.String getBaseDn()
public void setBaseDn(java.lang.String dn)
dn - base DNprotected 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 AbstractSearchEntryHandler