This method of the PolicyEngine Class performs a security check to determine whether the first calling class outside the skip set is fully trusted.
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.
skipset | The set of classes to ignore on the call stack. |
SecurityException if the security check fails.