public class PrimaryGroupIdHandler extends AbstractSearchEntryHandler
ObjectSidHandler
to ensure the 'objectSid' attribute is in the proper form. See
http://support2.microsoft.com/kb/297951logger
Constructor and Description |
---|
PrimaryGroupIdHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
equals, handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequest
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
AbstractSearchEntryHandler
handleAttributes
in class AbstractSearchEntryHandler
conn
- 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
Copyright © 2023. All rights reserved.