API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.ldap. InitialLdapContext View Source
Author(s)
Rosanna Lee
Scott Seligman
Vincent Ryan
Since
1.3
Version
1.13 05/11/17
Serial
Hierarchy
 Object
      InitialContext
          InitialDirContext
              InitialLdapContext
Implements
 LdapContext
Subclasses
Description
public class InitialLdapContext
  This class is the starting context for performing LDAPv3-style extended operations and controls.
Constructors
public InitialLdapContext () throws NamingException
  Constructs an initial context using no environment properties or connection request controls.
public InitialLdapContext (Hashtable<Object, Object> environment, Control connCtls) throws NamingException
  Constructs an initial context using environment properties and connection request controls.
Methods
Hide/Show inherited methods
public Object addToEnvironment (String propName, Object propVal) throws NamingException [Inherited From InitialContext]
public void bind (Name name, Object obj) throws NamingException [Inherited From InitialContext]
public void bind (Name name, Object obj, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void bind (String name, Object obj) throws NamingException [Inherited From InitialContext]
public void bind (String name, Object obj, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void close () throws NamingException [Inherited From InitialContext]
public Name composeName (Name name, Name prefix) throws NamingException [Inherited From InitialContext]
  Composes the name of this context with a name relative to this context.
public String composeName (String name, String prefix) throws NamingException [Inherited From InitialContext]
  Composes the name of this context with a name relative to this context.
public Context createSubcontext (Name name) throws NamingException [Inherited From InitialContext]
public DirContext createSubcontext (Name name, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public Context createSubcontext (String name) throws NamingException [Inherited From InitialContext]
public DirContext createSubcontext (String name, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void destroySubcontext (Name name) throws NamingException [Inherited From InitialContext]
public void destroySubcontext (String name) throws NamingException [Inherited From InitialContext]
publicstatic T doLookup (Name name) throws NamingException [Inherited From InitialContext]
  A static method to retrieve the named object.
publicstatic T doLookup (String name) throws NamingException [Inherited From InitialContext]
  A static method to retrieve the named object.
public ExtendedResponse extendedOperation (ExtendedRequest request) throws NamingException [Specified in LdapContext]
public Attributes getAttributes (Name name) throws NamingException [Inherited From InitialDirContext]
public Attributes getAttributes (Name name, String attrIds) throws NamingException [Inherited From InitialDirContext]
public Attributes getAttributes (String name) throws NamingException [Inherited From InitialDirContext]
public Attributes getAttributes (String name, String attrIds) throws NamingException [Inherited From InitialDirContext]
public Control getConnectControls () throws NamingException [Specified in LdapContext]
protected Context getDefaultInitCtx () throws NamingException [Inherited From InitialContext]
  Retrieves the initial context by calling NamingManager.getInitialContext() and cache it in defaultInitCtx.
public Hashtable<Object, Object> getEnvironment () throws NamingException [Inherited From InitialContext]
public String getNameInNamespace () throws NamingException [Inherited From InitialContext]
public NameParser getNameParser (Name name) throws NamingException [Inherited From InitialContext]
public NameParser getNameParser (String name) throws NamingException [Inherited From InitialContext]
public Control getRequestControls () throws NamingException [Specified in LdapContext]
public Control getResponseControls () throws NamingException [Specified in LdapContext]
public DirContext getSchema (Name name) throws NamingException [Inherited From InitialDirContext]
public DirContext getSchema (String name) throws NamingException [Inherited From InitialDirContext]
public DirContext getSchemaClassDefinition (Name name) throws NamingException [Inherited From InitialDirContext]
public DirContext getSchemaClassDefinition (String name) throws NamingException [Inherited From InitialDirContext]
protected Context getURLOrDefaultInitCtx (Name name) throws NamingException [Inherited From InitialContext]
  Retrieves a context for resolving name.
protected Context getURLOrDefaultInitCtx (String name) throws NamingException [Inherited From InitialContext]
  Retrieves a context for resolving the string name name.
protected void init (Hashtable<Object, Object> environment) throws NamingException [Inherited From InitialContext]
  Initializes the initial context using the supplied environment.
public NamingEnumeration<NameClassPair> list (Name name) throws NamingException [Inherited From InitialContext]
public NamingEnumeration<NameClassPair> list (String name) throws NamingException [Inherited From InitialContext]
public NamingEnumeration<Binding> listBindings (Name name) throws NamingException [Inherited From InitialContext]
public NamingEnumeration<Binding> listBindings (String name) throws NamingException [Inherited From InitialContext]
public Object lookup (Name name) throws NamingException [Inherited From InitialContext]
public Object lookup (String name) throws NamingException [Inherited From InitialContext]
public Object lookupLink (Name name) throws NamingException [Inherited From InitialContext]
public Object lookupLink (String name) throws NamingException [Inherited From InitialContext]
public void modifyAttributes (Name name, int mod_op, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void modifyAttributes (Name name, ModificationItem mods) throws NamingException [Inherited From InitialDirContext]
public void modifyAttributes (String name, int mod_op, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void modifyAttributes (String name, ModificationItem mods) throws NamingException [Inherited From InitialDirContext]
public LdapContext newInstance (Control reqCtls) throws NamingException [Specified in LdapContext]
public void rebind (Name name, Object obj) throws NamingException [Inherited From InitialContext]
public void rebind (Name name, Object obj, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void rebind (String name, Object obj) throws NamingException [Inherited From InitialContext]
public void rebind (String name, Object obj, Attributes attrs) throws NamingException [Inherited From InitialDirContext]
public void reconnect (Control connCtls) throws NamingException [Specified in LdapContext]
public Object removeFromEnvironment (String propName) throws NamingException [Inherited From InitialContext]
public void rename (Name oldName, Name newName) throws NamingException [Inherited From InitialContext]
public void rename (String oldName, String newName) throws NamingException [Inherited From InitialContext]
public NamingEnumeration<SearchResult> search (Name name, Attributes matchingAttributes) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (Name name, Attributes matchingAttributes, String attributesToReturn) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (Name name, String filterExpr, Object filterArgs, SearchControls cons) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (Name name, String filter, SearchControls cons) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (String name, Attributes matchingAttributes) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (String name, Attributes matchingAttributes, String attributesToReturn) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (String name, String filterExpr, Object filterArgs, SearchControls cons) throws NamingException [Inherited From InitialDirContext]
public NamingEnumeration<SearchResult> search (String name, String filter, SearchControls cons) throws NamingException [Inherited From InitialDirContext]
public void setRequestControls (Control requestControls) throws NamingException [Specified in LdapContext]
public void unbind (Name name) throws NamingException [Inherited From InitialContext]
public void unbind (String name) throws NamingException [Inherited From InitialContext]
Fields
Hide/Show inherited fields
publicfinalstatic int ADD_ATTRIBUTE = "1" [Inherited From LdapContext]
  This constant specifies to add an attribute with the specified values.
publicfinalstatic String APPLET = "java.naming.applet" [Inherited From LdapContext]
  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 LdapContext]
  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 LdapContext]
  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" [Inherited From LdapContext]
  Constant that holds the name of the environment property for specifying the list of control factories to use.
protected Context defaultInitCtx [Inherited From InitialContext]
  Field holding the result of calling NamingManager.getInitialContext().
publicfinalstatic String DNS_URL = "java.naming.dns.url" [Inherited From LdapContext]
  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").
protected boolean gotDefault [Inherited From InitialContext]
  Field indicating whether the initial context has been obtained by calling NamingManager.getInitialContext().
publicfinalstatic String INITIAL_CONTEXT_FACTORY = "java.naming.factory.initial" [Inherited From LdapContext]
  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 LdapContext]
  Constant that holds the name of the environment property for specifying the preferred language to use with the service.
protected Hashtable<Object, Object> myProps [Inherited From InitialContext]
  The environment associated with this InitialContext.
publicfinalstatic String OBJECT_FACTORIES = "java.naming.factory.object" [Inherited From LdapContext]
  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 LdapContext]
  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 LdapContext]
  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 LdapContext]
  This constant specifies to delete the specified attribute values from the attribute.
publicfinalstatic int REPLACE_ATTRIBUTE = "2" [Inherited From LdapContext]
  This constant specifies to replace an attribute with specified values.
publicfinalstatic String SECURITY_AUTHENTICATION = "java.naming.security.authentication" [Inherited From LdapContext]
  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 LdapContext]
  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 LdapContext]
  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 LdapContext]
  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 LdapContext]
  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 LdapContext]
  Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar