presto-main/src/main/java/io/prestosql/Session.java/Session/toSecurityContext
class Session:    public SecurityContext toSecurityContext()
    {
        return new SecurityContext(getRequiredTransactionId(), getIdentity());
    }