@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        NodePrincipal that = (NodePrincipal) o;
        return Objects.equals(identity, that.identity);
    }
Represents the identity of a hosted Vespa node

@author bjorncs
config-provisioning/src/main/java/com/yahoo/config/provision/security/NodePrincipal.java