| Modifier and Type | Field and Description |
|---|---|
| public static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: a boolean value corresponding to the value in the System property. If the property value is neither "true" or "false", the default value will be returned.the name of the System property prop, boolean a default value def, Debug a Debug object, if null no debug messages will be sent dbg)Convenience method for fetching System property values that are booleans. |
| public static long | Returns: the value of the property as along. If a non-numeric
value is supplied, the default value will be returned.the property to query prop, long the default value defaultValue, Debug a Debug object, if null no debug messages will be sent dbg)A convenience routine for fetching a numeric value from a Security or System property and returning it as a long. |
| public static String | Returns: the value of the system or security propertythe name of the system or security property propName)Returns the value of the security property propName, which can be overridden by a system property of the same name |
| public static int | Returns: an integer value corresponding to the timeout value in the System property in milliseconds. If the property value is empty, negative, or contains non-numeric characters (besides a trailing "s" or "ms") then the default value will be returned. If a negative value for the "def" parameter is supplied, zero will be returned if the property's value does not conform to the allowed syntax.the name of the System property prop, int a default value (in milliseconds) def, Debug a Debug object, if null no debug messages will be sent dbg)Convenience method for fetching System property values that are timeouts. |
| public static boolean | Returns: true in case the system or security property "jdk.includeInExceptions" contains refName, false otherwisethe category to check refName)Returns true in case the system or security property "jdk.includeInExceptions" contains the category refName |
| INCLUDE_JAR_NAME_IN_EXCEPTIONS | back to summary |
|---|---|
| public static final boolean INCLUDE_JAR_NAME_IN_EXCEPTIONS | |
| SecurityProperties | back to summary |
|---|---|
| public SecurityProperties() | |
| getBooleanSystemProp | back to summary |
|---|---|
| public static boolean getBooleanSystemProp(String prop, boolean def, Debug dbg) Convenience method for fetching System property values that are booleans.
| |
| getOverridableLongProp | back to summary |
|---|---|
| public static long getOverridableLongProp(String prop, long defaultValue, Debug dbg) A convenience routine for fetching a numeric value from a Security
or System property and returning it as a long. The value from the
property is obtained according to the logic in
| |
| getOverridableProperty | back to summary |
|---|---|
| public static String getOverridableProperty(String propName) Returns the value of the security property propName, which can be overridden by a system property of the same name | |
| getTimeoutSystemProp | back to summary |
|---|---|
| public static int getTimeoutSystemProp(String prop, int def, Debug dbg) Convenience method for fetching System property values that are timeouts. Accepted timeout values may be purely numeric, a numeric value followed by "s" (both interpreted as seconds), or a numeric value followed by "ms" (interpreted as milliseconds).
| |
| includedInExceptions | back to summary |
|---|---|
| public static boolean includedInExceptions(String refName) Returns true in case the system or security property "jdk.includeInExceptions" contains the category refName
| |