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 String | 
baseDn
base DN used for searching for the primary group. 
 | 
private 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 | 
|---|---|
boolean | 
equals(Object o)  | 
String | 
getBaseDn()
Returns the base DN to search for the primary group. 
 | 
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(String dn)
Sets the base DN to search for the primary group. 
 | 
void | 
setGroupFilter(String filter)
Sets the search filter used to find the primary group. 
 | 
handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequestprivate static final int HASH_CODE_SEED
private String groupFilter
private String baseDn
public String getGroupFilter()
public void setGroupFilter(String filter)
filter - search filterpublic String getBaseDn()
public void setBaseDn(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 boolean equals(Object o)
equals in class AbstractSearchEntryHandlerpublic int hashCode()
hashCode in class AbstractSearchEntryHandlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.