The largest Interview Solution Library on the web


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

Check of Current Thread


1. AccessController is in the system ProtectionDomain –
Permission is implicitly granted
Proceed to the next frame on the thread stack

2. SecurityManager is in the system ProtectionDomain –
Permission is implicitly granted
Proceed to the next frame on the thread stack

3. System is in the system ProtectionDomain –
Permission is implicitly granted
Proceed to the next frame on the thread stack

4. GetProperty is in the application domain – Is the permission
granted?

If yes, then proceed to the next frame on the thread stack
If no, throw a SecurityException
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com