The PolicyEngine Class contains the following methods:
assertPermission asserts the right to a certain type of permission.
checkCallerForAllPermissions performs a security check to determine whether the first calling class outside the skip set is fully trusted.
checkCallersPermission performs a security check for a specific type of permission.
checkClass performs a security check directly against a specified class.
checkClassForAllPermissions performs a security check directly against a class object.
checkForAllPermissions performs a security check to determine whether all the calling class types on the call stack are fully trusted.
checkPermission performs a security check for a specific type of permission.
denyPermission denies the right to a certain type of permission.
getClassOfCaller retrieves the class type of the caller of this method.
getPermissionsOfClass obtains the permissions of a class.
getPrincipalOfClass obtains the principal associated with a specified class.
permissionNameToID creates a PermissionID object from a permission name.
revertPermission negates the effects of any assertions (assertPermission) or denials (denyPermission) that have been performed for the specified permission type by the current stack frame.