The AccessController checkPermission algorithm is as follows:
-
If the code for any caller in the call chain does not have the requested permission, AccessControlException is thrown, unless the following is true - a caller whose code is granted the said permission has been marked as "privileged" and all parties subsequently called by this caller (directly or indirectly) all have the said permission.
|