| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private char | |
| private static final String | |
| private static final String | |
| private int | |
| private static final String | |
| private Hashtable | |
| pack-priv static final String | |
| private Control[] | |
| pack-priv LdapClient | |
| private boolean | |
| private static final String | |
| private int | |
| pack-priv volatile boolean | |
| pack-priv String | |
| pack-priv Name | |
| private static final boolean | |
| private static final int | |
| private static final boolean | |
| private static final int | |
| public static final String | |
| private static final int | |
| public static final int | |
| private static final char | |
| private static final int | |
| private static final int | |
| pack-priv static final String | |
| public static final int | |
| private static final boolean | |
| private static final String | |
| private boolean | |
| private static final String | |
| private int | |
| private static final String | |
| private static final HierMemDirCtx | |
| private static final String | |
| private int | |
| pack-priv Hashtable | |
| private EventSupport | |
| pack-priv int | |
| private static final boolean | |
| pack-priv boolean | |
| private int | |
| pack-priv String | |
| private final ReentrantLock | |
| private static final Control | |
| private static final Set | |
| private static final ControlFactory | |
| private static final String | |
| private boolean | |
| private static final String | |
| private boolean | |
| private static final NameParser | |
| pack-priv int | |
| private static final String | |
| private int | |
| private static final String | |
| private static final String | |
| private int | |
| private static final String | |
| private int | |
| pack-priv Control[] | |
| pack-priv Vector | |
| private static final String[] | |
| private Hashtable | |
| private boolean | |
| private static final String | |
| private static final boolean | |
| private static final String | |
| private OutputStream | |
| private static final String | |
| private static final String | |
| private boolean | |
| private static final String | |
| private boolean | |
| private String | |
| private boolean | |
| private boolean | |
| private static final String | |
| private static final String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static Control[] | |
| public void | addNamingListener(Name nm, int scope, NamingListener l)
Implements javax. Adds a listener for receiving naming events fired when the object(s) identified by a target and scope changes. |
| public void | addNamingListener(String nm, int scope, NamingListener l)
Implements javax. Adds a listener for receiving naming events fired when the object named by the string target name and scope changes. |
| public void | addNamingListener(String nm, String filter, SearchControls ctls, NamingListener l)
Implements javax. Adds a listener for receiving naming events fired when
objects identified by the search filter |
| public void | addNamingListener(Name nm, String filter, SearchControls ctls, NamingListener l)
Implements javax. Adds a listener for receiving naming events fired
when objects identified by the search filter |
| public void | addNamingListener(Name nm, String filter, Object[] filterArgs, SearchControls ctls, NamingListener l)
Implements javax. Adds a listener for receiving naming events fired
when objects identified by the search filter |
| public void | addNamingListener(String nm, String filterExpr, Object[] filterArgs, SearchControls ctls, NamingListener l)
Implements javax. Adds a listener for receiving naming events fired when
objects identified by the search filter |
| private static Attributes | Returns: Non-null attributes with attributes from the RDN addedThe non-null DN of the entry to add dn, Attributes The non-null attributes of entry to add attrs, boolean Whether attrs can be updated directly directUpdate)Adds attributes from RDN to attrs if not already present. |
| public Object | addToEnvironment(String propName, Object propVal)
Implements javax. Adds a new environment property to the environment of this context. |
| private void | |
| private void | |
| private static <T> Vector | |
| private DirContext | |
| protected void | c_bind(Name name, Object obj, Continuation cont)
Overrides com.
|
| protected void | c_bind(Name name, Object obj, Attributes attrs, Continuation cont)
Implements abstract com.
|
| protected Context | c_createSubcontext(Name name, Continuation cont)
Overrides com.
|
| protected DirContext | c_createSubcontext(Name name, Attributes attrs, Continuation cont)
Implements abstract com.
|
| protected void | c_destroySubcontext(Name name, Continuation cont)
Overrides com.
|
| protected Attributes | c_getAttributes(Name name, String[] attrIds, Continuation cont)
Implements abstract com.
|
| protected NameParser | c_getNameParser(Name name, Continuation cont)
Overrides com.
|
| protected DirContext | c_getSchema(Name name, Continuation cont)
Implements abstract com.
|
| protected DirContext | c_getSchemaClassDefinition(Name name, Continuation cont)
Implements abstract com.
|
| protected NamingEnumeration | |
| protected NamingEnumeration | c_listBindings(Name name, Continuation cont)
Overrides com.
|
| protected Object | |
| protected Object | c_lookupLink(Name name, Continuation cont)
Overrides com.
|
| protected void | c_modifyAttributes(Name name, int mod_op, Attributes attrs, Continuation cont)
Implements abstract com.
|
| protected void | c_modifyAttributes(Name name, ModificationItem[] mods, Continuation cont)
Implements abstract com.
|
| protected void | c_rebind(Name name, Object obj, Continuation cont)
Overrides com.
|
| protected void | c_rebind(Name name, Object obj, Attributes attrs, Continuation cont)
Implements abstract com.
|
| protected void | c_rename(Name oldName, Name newName, Continuation cont)
Overrides com.
|
| protected NamingEnumeration | |
| protected NamingEnumeration | c_search(Name name, Attributes matchingAttributes, String[] attributesToReturn, Continuation cont)
Implements abstract com.
|
| protected NamingEnumeration | c_search(Name name, String filter, SearchControls cons, Continuation cont)
Implements abstract com.
|
| protected NamingEnumeration | c_search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons, Continuation cont)
Implements abstract com.
|
| protected void | |
| private static Control[] | |
| private static SearchControls | |
| public void | |
| private void | |
| private LdapResult | |
| public Name | composeName(Name name, Name prefix)
Overrides com. Implements javax. Composes the name of this context with a name relative to this context. |
| private static String | |
| private void | |
| private static boolean | |
| pack-priv Control[] | convertControls(Vector<Control>
A non-null Vector ctls)Narrow controls using own default factory and ControlFactory. |
| private static int | |
| pack-priv void | |
| private LdapResult | |
| private LdapResult | |
| private void | |
| private void | |
| private void | |
| public ExtendedResponse | extendedOperation(ExtendedRequest request)
Implements javax. Performs an extended operation. |
| private static Vector | |
| private static boolean | |
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| private static int | |
| pack-priv void | fireUnsolicited(Object obj)
Uses EventSupport to fire an event related to an unsolicited notification. |
| private String | |
| private String | |
| public Control[] | getConnectControls()
Implements javax. Retrieves the connection request controls in effect for this context. |
| public Hashtable | getEnvironment()
Implements javax. Retrieves the environment in effect for this context. |
| private static Set | |
| public String | getNameInNamespace()
Implements javax. Retrieves the full name of this context within its own namespace. |
| public Control[] | getRequestControls()
Implements javax. Retrieves the request controls in effect for this context. |
| public Control[] | getResponseControls()
Implements javax. Retrieves the response controls produced as a result of the last method invoked on this context. |
| private String | |
| private DirContext | |
| pack-priv LdapResult | |
| private static String | getTargetName(Name
The non-null target name. nm)Retrieves the target name for which the listener is registering. |
| pack-priv String | |
| pack-priv void | |
| private void | |
| private boolean | |
| public static NamingException | Returns: A NamingException or null if the error code indicates success.numeric LDAP error code errorCode, String textual description of the LDAP error. May be null. errorMessage)Maps an LDAP error code to an appropriate NamingException. |
| public LdapContext | newInstance(Control[] reqCtls)
Implements javax. Creates a new instance of this context initialized using request controls. |
| protected Hashtable | p_getEnvironment()
Overrides com. Override with noncloning version. |
| protected void | |
| pack-priv void | |
| protected void | processReturnCode(LdapResult res, Name resolvedName, Object resolvedObj, Name remainName, Hashtable<?, ?> envprops, String fullDN)
|
| public void | reconnect(Control[] connCtls)
Implements javax. Reconnects to the LDAP server using the supplied controls and this context's environment. |
| private static Control[] | |
| public Object | removeFromEnvironment(String propName)
Implements javax. Removes an environment property from the environment of this context. |
| public void | removeNamingListener(NamingListener l)
Implements javax. Removes a listener from receiving naming events fired
by this |
| private void | removeUnsolicited()
Removes this context from registering interest in unsolicited notifications from the underlying LdapClient. |
| pack-priv NamingEnumeration | searchAux(Name name, String filter, SearchControls cons, boolean relative, boolean waitForReply, Continuation cont)
|
| private static boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv void | setDomainName(String domainName)
Sets the domain name for the context in the com.sun.jndi.ldap.domainname property. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | setProviderUrl(String providerUrl)
Sets the URL that created the context in the java.naming.provider.url property. |
| private void | |
| private void | |
| private void | setReferralMode(String ref, boolean update)
Sets the referral mode of this context to 'follow', 'throw' or 'ignore'. |
| private void | |
| private void | setReplyQueueSize(String replyQueueSizeProp)
Sets the size of the queue of unprocessed search replies |
| public void | setRequestControls(Control[] reqCtls)
Implements javax. Sets the request controls for methods subsequently invoked on this context. |
| private void | |
| private void | setWaitForReply(String waitForReplyProp)
Sets the flag that controls whether to block until the first search reply is received |
| public boolean | targetMustExist()
Implements javax. Determines whether a listener can register interest in a target that does not exist. |