API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.ldap. LdapContext View Source
Author(s)
Rosanna Lee
Scott Seligman
Vincent Ryan
Since
1.3
Version
1.11 05/11/17
Serial
Hierarchy
 Context
      DirContext
          LdapContext
Subinterfaces
Description
public interface LdapContext
  This interface represents a context in which you can perform operations with LDAPv3-style controls and perform LDAPv3-style extended operations.
Methods
Hide/Show inherited methods
public ExtendedResponse extendedOperation (ExtendedRequest request) throws NamingException
  Performs an extended operation.
public Control getConnectControls () throws NamingException
  Retrieves the connection request controls in effect for this context.
public Control getRequestControls () throws NamingException
  Retrieves the request controls in effect for this context.
public Control getResponseControls () throws NamingException
  Retrieves the response controls produced as a result of the last method invoked on this context.
public LdapContext newInstance (Control requestControls) throws NamingException
  Creates a new instance of this context initialized using request controls.
public void reconnect (Control connCtls) throws NamingException
  Reconnects to the LDAP server using the supplied controls and this context's environment.
public void setRequestControls (Control requestControls) throws NamingException
  Sets the request controls for methods subsequently invoked on this context.
Fields
Hide/Show inherited fields
publicfinalstatic int ADD_ATTRIBUTE = "1" [Inherited From DirContext]
  This constant specifies to add an attribute with the specified values.
publicfinalstatic String APPLET = "java.naming.applet" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying an applet for the initial context constructor to use when searching for other properties.
publicfinalstatic String AUTHORITATIVE = "java.naming.authoritative" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the authoritativeness of the service requested.
publicfinalstatic String BATCHSIZE = "java.naming.batchsize" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the batch size to use when returning data via the service's protocol.
publicfinalstatic String CONTROL_FACTORIES = "java.naming.factory.control"
  Constant that holds the name of the environment property for specifying the list of control factories to use.
publicfinalstatic String DNS_URL = "java.naming.dns.url" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the DNS host and domain names to use for the JNDI URL context (for example, "dns://somehost/wiz.com").
publicfinalstatic String INITIAL_CONTEXT_FACTORY = "java.naming.factory.initial" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the initial context factory to use.
publicfinalstatic String LANGUAGE = "java.naming.language" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the preferred language to use with the service.
publicfinalstatic String OBJECT_FACTORIES = "java.naming.factory.object" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the list of object factories to use.
publicfinalstatic String PROVIDER_URL = "java.naming.provider.url" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
publicfinalstatic String REFERRAL = "java.naming.referral" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying how referrals encountered by the service provider are to be processed.
publicfinalstatic int REMOVE_ATTRIBUTE = "3" [Inherited From DirContext]
  This constant specifies to delete the specified attribute values from the attribute.
publicfinalstatic int REPLACE_ATTRIBUTE = "2" [Inherited From DirContext]
  This constant specifies to replace an attribute with specified values.
publicfinalstatic String SECURITY_AUTHENTICATION = "java.naming.security.authentication" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the security level to use.
publicfinalstatic String SECURITY_CREDENTIALS = "java.naming.security.credentials" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the credentials of the principal for authenticating the caller to the service.
publicfinalstatic String SECURITY_PRINCIPAL = "java.naming.security.principal" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the identity of the principal for authenticating the caller to the service.
publicfinalstatic String SECURITY_PROTOCOL = "java.naming.security.protocol" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the security protocol to use.
publicfinalstatic String STATE_FACTORIES = "java.naming.factory.state" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the list of state factories to use.
publicfinalstatic String URL_PKG_PREFIXES = "java.naming.factory.url.pkgs" [Inherited From DirContext]
  Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar