in ws-security-common/src/main/java/org/apache/wss4j/common/saml/bean/ConditionsBean.java [211:262]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof ConditionsBean)) {
return false;
}
ConditionsBean that = (ConditionsBean) o;
if (tokenPeriodSeconds != that.tokenPeriodSeconds) {
return false;
}
if (notBefore == null && that.notBefore != null) {
return false;
} else if (notBefore != null && !notBefore.equals(that.notBefore)) {
return false;
}
if (notAfter == null && that.notAfter != null) {
return false;
} else if (notAfter != null && !notAfter.equals(that.notAfter)) {
return false;
}
if (audienceRestrictions == null && that.audienceRestrictions != null) {
return false;
} else if (audienceRestrictions != null
&& !audienceRestrictions.equals(that.audienceRestrictions)) {
return false;
}
if (oneTimeUse != that.oneTimeUse) {
return false;
}
if (proxyRestriction == null && that.proxyRestriction != null) {
return false;
} else if (proxyRestriction != null
&& !proxyRestriction.equals(that.proxyRestriction)) {
return false;
}
if (delegates == null && that.delegates != null) {
return false;
} else if (delegates != null && !delegates.equals(that.delegates)) {
return false;
}
return true;
}