diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-08-07 09:45:47 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-08-07 09:45:47 +0200 |
commit | ed849a321d3d636a653b002d6dda8b70a6a429d9 (patch) | |
tree | dc5b071b45859f1800bddf92b9f61485bb6d761e /vespa-athenz/src | |
parent | 8cc97d1bc1c142a221f43609e9dac77bddf9d484 (diff) |
Allow signed identity document without wrapped document
Diffstat (limited to 'vespa-athenz/src')
-rw-r--r-- | vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/bindings/SignedIdentityDocumentEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/bindings/SignedIdentityDocumentEntity.java b/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/bindings/SignedIdentityDocumentEntity.java index 3d4872549d6..6f773d51df3 100644 --- a/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/bindings/SignedIdentityDocumentEntity.java +++ b/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/bindings/SignedIdentityDocumentEntity.java @@ -54,7 +54,7 @@ public class SignedIdentityDocumentEntity { @JsonProperty("ip-addresses") Set<String> ipAddresses, @JsonProperty("identity-type") String identityType) { this.rawIdentityDocument = rawIdentityDocument; - this.identityDocument = parseIdentityDocument(rawIdentityDocument); + this.identityDocument = rawIdentityDocument != null ? parseIdentityDocument(rawIdentityDocument) : null; this.signature = signature; this.signingKeyVersion = signingKeyVersion; this.providerUniqueId = providerUniqueId; |