Microsoft SDK for Java

checkCallerForAllPermissions

This method of the PolicyEngine Class performs a security check to determine whether the first calling class outside the skip set is fully trusted.

Syntax

public static void checkCallerForAllPermissions(Class[] skipset);

Note   Permission assertions and denials of the permission type PermissionID.SYSTEM are recognized within the skip set frames. They will affect the stack crawl and could cause it to terminate early.

Parameters

skipset The set of classes to ignore on the call stack.

Exceptions

SecurityException if the security check fails.

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