presto-main/src/main/java/io/prestosql/security/SecurityContext.java/SecurityContext/of
class SecurityContext:    public static SecurityContext of(Session session)
    {
        requireNonNull(session, "session is null");
        return new SecurityContext(session.getRequiredTransactionId(), session.getIdentity());
    }