public class LDAPSearchData
extends java.lang.Object
| Constructor and Description |
|---|
LDAPSearchData(byte[][] ldapData,
LdapDirectory directory,
LDAPAttributeType attributeType,
java.lang.String directoryHostAndPort,
java.lang.String dn)
Create an LDAPSearchData containing the data retrieved from the LDAP search, the Attribute
type used in the search, the directoryHostAndPort information and the DN used for the search.
|
| Modifier and Type | Method and Description |
|---|---|
LDAPAttributeType |
getAttributeType()
Return the attribute type that was used for the search
|
LdapDirectory |
getDirectory()
Return the LdapDirectory that was used for the search
|
java.lang.String |
getDirectoryHostAndPort()
Return the Directory Hostname and port information used to connect to the LDAP server.
|
java.lang.String |
getDN()
Return the DN used for the search
|
java.lang.String |
getInvalidSearchKey()
Return the invalidSearch key, used if the invalidSearch cache is used.
|
byte[][] |
getLdapData()
Return the raw LDAP data retrieved from the server
|
public LDAPSearchData(byte[][] ldapData,
LdapDirectory directory,
LDAPAttributeType attributeType,
java.lang.String directoryHostAndPort,
java.lang.String dn)
ldapData - The LDAP data bytes retrieved from the LDAP serverdirectory - The LDAP directory used to perform the searchattributeType - The Attribute type that was searcheddirectoryHostAndPort - The LDAPDirectories host and port informationdn - The DN used for the searchpublic byte[][] getLdapData()
public java.lang.String getDirectoryHostAndPort()
public java.lang.String getDN()
public LDAPAttributeType getAttributeType()
public LdapDirectory getDirectory()
public java.lang.String getInvalidSearchKey()
m_directoryHostAndPort + "/" + m_dn + "/" + m_attributeType.getDirectoryAttributeName()