This method of the PolicyEngine Class performs a security check directly against a class object. If the class is not fully trusted, the security check fails.
public static void checkClassForAllPermissions(Class cls);
cls | The class to check against. |
SecurityException if the security check fails.