presto-main/src/main/java/io/prestosql/server/security/KerberosAuthenticator.java/KerberosAuthenticator/doAs
class KerberosAuthenticator:    private static <T> T doAs(Subject subject, GssSupplier<T> action)
    {
        return Subject.doAs(subject, (PrivilegedAction<T>) () -> {
            try {
                return action.get();
            }
            catch (GSSException e) {
                throw new RuntimeException(e);
            }
        });
    }