Getting the AccessControlContext in a PrivilegedAction means you are deliberatly replacing the current AccessControlContext.