public final class LdapBaseEntry
extends java.lang.Object
The LdapBaseEntry will be null for an LDAP Add operation. For other operations, LdapBaseEntry will contain at least the DN. It will also contain the attributes if the base entry is present in the Oracle directory server. Otherwise, it will contain only the DN and no attributes. The contents of the base entry passed to plug-ins will be same, irrespective of the plug-in timing. For performance reasons, if the LdapBaseEntry is a group entry and the entry cache capability of the Oracle directory server is disabled, the attributes uniquemember and member are not accessible.
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
getAllAttributeNames()
Gets all the attribute names in the base entry
|
java.util.Enumeration |
getAllAttributeValues(java.lang.String attrName)
Gets all the values of an attribute for a given attribute name
|
javax.naming.directory.Attribute |
getAttribute(java.lang.String attrName)
Gets the Attribute for the attribute name
|
javax.naming.directory.Attributes |
getAttributes()
Gets the Attributes
|
java.lang.String |
getDN()
Gets the DN of the base entry
|
public java.lang.String getDN()
public javax.naming.directory.Attributes getAttributes()
public javax.naming.directory.Attribute getAttribute(java.lang.String attrName)
attrName
- - Attribute namepublic java.util.Enumeration getAllAttributeNames()
public java.util.Enumeration getAllAttributeValues(java.lang.String attrName) throws javax.naming.NamingException
attrName
- - Attribute namejavax.naming.NamingException