Uses of Class javax.naming.InitialContext (Java Platform SE 8 )
Date: 2026-03-16

## Uses of Class
javax.naming.InitialContext

- Packages that use InitialContext
  Package | Description
  --- | ---
  javax.naming.directory | Extends the `javax.naming` package to provide functionality for accessing directory services.
  javax.naming.ldap | Provides support for LDAPv3 extended operations and controls.

- - ### Uses of InitialContext in javax.naming.directory

    Subclasses of InitialContext in javax.naming.directory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `InitialDirContext` This class is the starting context for performing directory operations.

  - ### Uses of InitialContext in javax.naming.ldap

    Subclasses of InitialContext in javax.naming.ldap
    Modifier and Type | Class and Description
    --- | ---
    `class` | `InitialLdapContext` This class is the starting context for performing LDAPv3-style extended operations and 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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.