presto-spi/src/main/java/io/prestosql/spi/security/Identity.java/Identity/withPrincipal
class Identity:        public Builder withPrincipal(Optional<Principal> principal)
        {
            this.principal = requireNonNull(principal, "principal is null");
            return this;
        }