From dd68a961c4542c9832689a9486213a4f82892363 Mon Sep 17 00:00:00 2001 From: Emil Lundberg Date: Mon, 15 Mar 2021 16:05:27 +0100 Subject: [PATCH] Add link from attestationConveyancePreference doc to allowUntrustedAttestation and metadataService --- .../java/com/yubico/webauthn/RelyingParty.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/webauthn-server-core/src/main/java/com/yubico/webauthn/RelyingParty.java b/webauthn-server-core/src/main/java/com/yubico/webauthn/RelyingParty.java index 4d1055ef1..869c7b70f 100644 --- a/webauthn-server-core/src/main/java/com/yubico/webauthn/RelyingParty.java +++ b/webauthn-server-core/src/main/java/com/yubico/webauthn/RelyingParty.java @@ -179,6 +179,12 @@ public class RelyingParty { *

* *

+ * If you set this, you may want to explicitly set + * {@link RelyingPartyBuilder#allowUntrustedAttestation(boolean) allowUntrustedAttestation} and + * {@link RelyingPartyBuilder#metadataService(MetadataService) metadataService} too. + *

+ * + *

* By default, this is not set. *

* @@ -631,6 +637,12 @@ public RelyingPartyBuilder appId(@NonNull AppId appId) { *

* *

+ * If you set this, you may want to explicitly set + * {@link RelyingPartyBuilder#allowUntrustedAttestation(boolean) allowUntrustedAttestation} and + * {@link RelyingPartyBuilder#metadataService(MetadataService) metadataService} too. + *

+ * + *

* By default, this is not set. *

* @@ -652,6 +664,12 @@ public RelyingPartyBuilder attestationConveyancePreference(@NonNull Optional * *

+ * If you set this, you may want to explicitly set + * {@link RelyingPartyBuilder#allowUntrustedAttestation(boolean) allowUntrustedAttestation} and + * {@link RelyingPartyBuilder#metadataService(MetadataService) metadataService} too. + *

+ * + *

* By default, this is not set. *

*