This method of the StandardSecurityManager Class determines if the specified system property can be read by all the classes within the current execution context.
public void checkPropertyAccess(String key);
key | The system property for which read access is being checked. |
The check succeeds only if all the classes found on the call stack possess PropertyPermissions and those permissions allow read access to the specified property. This method overrides the java.SecurityManager.checkPropertyAccess method.
SecurityException if the security check fails.