presto-spi/src/main/java/io/prestosql/spi/security/Identity.java/Identity/withRole
class Identity:        public Builder withRole(String catalog, SelectedRole role)
        {
            requireNonNull(catalog, "catalog is null");
            requireNonNull(role, "role is null");
            if (this.roles.put(catalog, role) != null) {
                throw new IllegalStateException("There is already role set for " + catalog);
            }
            return this;
        }