diff options
author | Morten Tokle <morten.tokle@gmail.com> | 2019-10-30 14:14:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-30 14:14:26 +0100 |
commit | 254c6178d3ac5c3e4fa5aaf20959e2f437c575cd (patch) | |
tree | c9de3b210d43256dc9210643b461a188398c3be4 /vespa-athenz | |
parent | d594135ee65be1ba5de2e737f097c38528b3f3f1 (diff) |
Revert "Validate register and refresh"
Diffstat (limited to 'vespa-athenz')
-rw-r--r-- | vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/SignedIdentityDocument.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/SignedIdentityDocument.java b/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/SignedIdentityDocument.java index e5225f2569b..dc5dae9d516 100644 --- a/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/SignedIdentityDocument.java +++ b/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/SignedIdentityDocument.java @@ -4,7 +4,6 @@ package com.yahoo.vespa.athenz.identityprovider.api; import com.yahoo.vespa.athenz.api.AthenzService; import java.time.Instant; -import java.util.Objects; import java.util.Set; /** @@ -88,26 +87,4 @@ public class SignedIdentityDocument { public IdentityType identityType() { return identityType; } - - @Override - public boolean equals(Object o) { - if (this == o) return true; - if (o == null || getClass() != o.getClass()) return false; - SignedIdentityDocument that = (SignedIdentityDocument) o; - return signingKeyVersion == that.signingKeyVersion && - documentVersion == that.documentVersion && - Objects.equals(signature, that.signature) && - Objects.equals(providerUniqueId, that.providerUniqueId) && - Objects.equals(providerService, that.providerService) && - Objects.equals(configServerHostname, that.configServerHostname) && - Objects.equals(instanceHostname, that.instanceHostname) && - Objects.equals(createdAt, that.createdAt) && - Objects.equals(ipAddresses, that.ipAddresses) && - identityType == that.identityType; - } - - @Override - public int hashCode() { - return Objects.hash(signature, signingKeyVersion, providerUniqueId, providerService, documentVersion, configServerHostname, instanceHostname, createdAt, ipAddresses, identityType); - } } |