Uses of Class java.lang.SecurityManager (Java Platform SE 8 )
Date: 2026-07-22

## Uses of Class
java.lang.SecurityManager

- Packages that use SecurityManager
  Package | Description
  --- | ---
  java.lang | Provides classes that are fundamental to the design of the Java programming language.
  java.rmi | Provides the RMI package.

- - ### Uses of SecurityManager in java.lang

    Methods in java.lang that return SecurityManager
    Modifier and Type | Method and Description
    --- | ---
    `static SecurityManager` | System.`getSecurityManager()` Gets the system security interface.

    Methods in java.lang with parameters of type SecurityManager
    Modifier and Type | Method and Description
    --- | ---
    `static void` | System.`setSecurityManager(SecurityManager s)` Sets the System security.

  - ### Uses of SecurityManager in java.rmi

    Subclasses of SecurityManager in java.rmi
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RMISecurityManager` Deprecated. Use `SecurityManager` instead.

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.