Uses of Class javax.naming.NamingSecurityException (Java Platform SE 8 )
Date: 2026-06-25

## Uses of Class
javax.naming.NamingSecurityException

- Packages that use NamingSecurityException
  Package | Description
  --- | ---
  javax.naming | Provides the classes and interfaces for accessing naming services.

- - ### Uses of NamingSecurityException in javax.naming

    Subclasses of NamingSecurityException in javax.naming
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AuthenticationException` This exception is thrown when an authentication error occurs while accessing the naming or directory service.
    `class` | `AuthenticationNotSupportedException` This exception is thrown when the particular flavor of authentication requested is not supported.
    `class` | `NoPermissionException` This exception is thrown when attempting to perform an operation for which the client has no permission.

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.