@Override
    public int hashCode() {

        return Objects.hash(domain, username);

    }
Create a new UserLogin instance with the provided username and
domain. The domain may be null, but the username should never be.

@param username
   The username to create the UserLogin instance with. This should
   never be null.

@param domain
   The domain to create the UserLogin instance with. This can be null.
extensions/guacamole-vault/modules/guacamole-vault-ksm/src/main/java/org/apache/guacamole/vault/ksm/secret/UserLogin.java