java.security.AccessController class is part of Java’s security mechanism; it is responsible for enforcing the applicable security policy. This class’s static
doPrivileged() method executes a code block with a relaxed security policy. The
doPrivileged() method stops permissions from being checked further down the call chain. Consequently, any method that invokes
doPrivileged() must assume ...