The largest Interview Solution Library on the web


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

Another doAs() scenario


Thread / ClassPermissionsEffective Thread Permissio
Class 1{ P1, P2 }{ P1, P2 }
doAs(X){ P2, P3 }
Class 2{ P1, P2, P3 }{ P1, P2 }
checkPermission(P2)
succeeds!
Pc1 3 (Pc2 U PX) = { P1, P2 }
« Previous | 1 | 2 | 3 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com