@Override
    public int hashCode() {
        int hash = LangUtils.HASH_SEED;
        hash = LangUtils.hashCode(hash, this.username);
        hash = LangUtils.hashCode(hash, this.domain);
        return hash;
    }
Microsoft Windows specific user principal implementation.

@since 4.0
httpclient5/src/main/java/org/apache/hc/client5/http/auth/NTUserPrincipal.java