use of org.apache.commons.lang3.builder.HashCodeBuilder in project cas by apereo.
the class DuoCredential method hashCode.
@Override
public int hashCode() {
final HashCodeBuilder builder = new HashCodeBuilder(97, 31);
builder.append(this.username);
return builder.toHashCode();
}
use of org.apache.commons.lang3.builder.HashCodeBuilder in project cas by apereo.
the class AuthyTokenCredential method hashCode.
@Override
public int hashCode() {
final HashCodeBuilder builder = new HashCodeBuilder(97, 31);
builder.append(this.token);
return builder.toHashCode();
}
use of org.apache.commons.lang3.builder.HashCodeBuilder in project cas by apereo.
the class DefaultAuthentication method hashCode.
@Override
public int hashCode() {
final HashCodeBuilder builder = new HashCodeBuilder(97, 31);
builder.append(this.principal);
builder.append(this.authenticationDate);
builder.append(this.attributes);
builder.append(this.credentials);
builder.append(this.successes);
builder.append(this.failures);
return builder.toHashCode();
}
use of org.apache.commons.lang3.builder.HashCodeBuilder in project cas by apereo.
the class RadiusTokenCredential method hashCode.
@Override
public int hashCode() {
final HashCodeBuilder builder = new HashCodeBuilder(97, 31);
builder.append(this.token);
return builder.toHashCode();
}
use of org.apache.commons.lang3.builder.HashCodeBuilder in project OpenAttestation by OpenAttestation.
the class PcrEventLog method hashCode.
@Override
public int hashCode() {
HashCodeBuilder builder = new HashCodeBuilder(17, 57);
builder.append(pcrIndex);
for (Measurement m : eventLog) {
builder.append(m);
}
return builder.toHashCode();
}
Aggregations