The largest Interview Solution Library on the web


java tutorials/
« Previous | 1 | 2 | 3 | Next »

The Privileged Code Mechanism


  • doPrivileged() annotates the stack frame

  • AccessController.checkPermission() stops Permission testing at this stack frame

  • ProtectionDomain for the class and all the classes that it calls are checked

  • ProtectionDomain of its callers are not checked
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com