Module java.base
Package java.security

Class Security

java.lang.Object
java.security.Security

public final class Security extends Object

This class centralizes all security properties and common security methods. One of its primary uses is to manage providers.

The default values of security properties are read from an implementation-specific location, which is typically the properties file conf/security/java.security in the Java installation directory.

Implementation Note:
If the properties file fails to load, the JDK implementation will throw an unspecified error when initializing the Security class.
Since:
1.1