Microsoft SDK for Java

checkPropertiesAccess

This method of the StandardSecurityManager Class determines whether the system properties object can be passed to the caller of the System.getProperties method.

Syntax

public void checkPropertiesAccess();

Remarks

The check succeeds only if all the classes found on the call stack possess PropertyPermissions and if those permissions grant unlimited system properties access. This method overrides the java.lang.SecurityManager.checkPropertiesAccess method.

Exceptions

SecurityException if the security check fails.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.