Package | Description |
---|---|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicControl
This class provides a basic implementation of the Control
interface.
|
class |
ManageReferralControl
Requests that referral and other special LDAP objects be manipulated
as normal LDAP objects.
|
class |
PagedResultsControl
Requests that the results of a search operation be returned by the LDAP
server in batches of a specified size.
|
class |
PagedResultsResponseControl
Indicates the end of a batch of search results.
|
class |
SortControl
Requests that the results of a search operation be sorted by the LDAP server
before being returned.
|
class |
SortResponseControl
Indicates whether the requested sort of search results was successful or not.
|
Modifier and Type | Method and Description |
---|---|
Control[] |
InitialLdapContext.getConnectControls() |
Control[] |
LdapContext.getConnectControls()
Retrieves the connection request controls in effect for this context.
|
abstract Control |
ControlFactory.getControlInstance(Control ctl)
Creates a control using this control factory.
|
static Control |
ControlFactory.getControlInstance(Control ctl,
Context ctx,
Hashtable<?,?> env)
Creates a control using known control factories.
|
Control[] |
HasControls.getControls()
Retrieves an array of Controls from the object that
implements this interface.
|
Control[] |
InitialLdapContext.getRequestControls() |
Control[] |
LdapContext.getRequestControls()
Retrieves the request controls in effect for this context.
|
Control[] |
InitialLdapContext.getResponseControls() |
Control[] |
LdapContext.getResponseControls()
Retrieves the response controls produced as a result of the last
method invoked on this context.
|
Modifier and Type | Method and Description |
---|---|
abstract Control |
ControlFactory.getControlInstance(Control ctl)
Creates a control using this control factory.
|
static Control |
ControlFactory.getControlInstance(Control ctl,
Context ctx,
Hashtable<?,?> env)
Creates a control using known control factories.
|
abstract Context |
LdapReferralException.getReferralContext(Hashtable<?,?> env,
Control[] reqCtls)
Retrieves the context at which to continue the method using
request controls and environment properties.
|
LdapContext |
InitialLdapContext.newInstance(Control[] reqCtls) |
LdapContext |
LdapContext.newInstance(Control[] requestControls)
Creates a new instance of this context initialized using request controls.
|
void |
InitialLdapContext.reconnect(Control[] connCtls) |
void |
LdapContext.reconnect(Control[] connCtls)
Reconnects to the LDAP server using the supplied controls and
this context's environment.
|
void |
InitialLdapContext.setRequestControls(Control[] requestControls) |
void |
LdapContext.setRequestControls(Control[] requestControls)
Sets the request controls for methods subsequently
invoked on this context.
|
Constructor and Description |
---|
InitialLdapContext(Hashtable<?,?> environment,
Control[] connCtls)
Constructs an initial context
using environment properties and connection request controls.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.