public Object run() throws Exception {
// setting the policy only in the init method causes the
// current ProtectionDomain to
// be cached, i.E. all checks from classes within the
// current classpath entry to authorized
Policy.setPolicy(new RPolicy());
boolean isAdmin = false;
try {
AccessController.checkPermission(new RPermission(
AUTHORIZATION.admin));
isAdmin = true;