/** Compare this object to another object. */
@Override
public boolean equals(Object obj) {
FederatedUser other = (FederatedUser) obj;
return new EqualsBuilder()
.append(this.userId, other.userId)
.append(this.userName, other.userName)
.append(this.emailAddress, other.emailAddress)
.append(this.authenticationDomain, other.authenticationDomain)
.append(this.openIdProvider, other.openIdProvider)