From 7f26e54d076ea1bf2a24978abd7e0a58ca4d89a5 Mon Sep 17 00:00:00 2001 From: Rob Winch <362503+rwinch@users.noreply.github.com> Date: Sun, 20 Oct 2024 23:30:38 -0500 Subject: [PATCH] =?UTF-8?q?Remove=20=C2=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See if this fixes format in windows --- .../api/ImmutablePublicKeyCredentialUserEntity.java | 8 ++++---- .../management/Webauthn4jRelyingPartyOperationsTests.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/webauthn/api/ImmutablePublicKeyCredentialUserEntity.java b/web/src/main/java/org/springframework/security/web/webauthn/api/ImmutablePublicKeyCredentialUserEntity.java index 7374f8fd6e..fa2baacfeb 100644 --- a/web/src/main/java/org/springframework/security/web/webauthn/api/ImmutablePublicKeyCredentialUserEntity.java +++ b/web/src/main/java/org/springframework/security/web/webauthn/api/ImmutablePublicKeyCredentialUserEntity.java @@ -40,7 +40,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr * name's value, or displaying the value to the user. * * This string MAY contain language and direction metadata. Relying Parties SHOULD - * consider providing this information. See § 6.4.2 Language and Direction Encoding + * consider providing this information. See 6.4.2 Language and Direction Encoding * about how this metadata is encoded. * * Clients SHOULD perform enforcement, as prescribed in Section 3.4.3 of [RFC8265] for @@ -60,7 +60,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr * 6.1 of [RFC8266]. * * The user handle MUST NOT contain personally identifying information about the user, - * such as a username or e-mail address; see § 14.6.1 User Handle Contents for + * such as a username or e-mail address; see 14.6.1 User Handle Contents for * details. The user handle MUST NOT be empty, though it MAY be null. * * Note: the user handle ought not be a constant value across different accounts, even @@ -80,7 +80,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr * setting displayName's value, or displaying the value to the user. * * This string MAY contain language and direction metadata. Relying Parties SHOULD - * consider providing this information. See § 6.4.2 Language and Direction Encoding + * consider providing this information. See 6.4.2 Language and Direction Encoding * about how this metadata is encoded. * * Clients SHOULD perform enforcement, as prescribed in Section 2.3 of [RFC8266] for @@ -94,7 +94,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr * * Authenticators MUST accept and store a 64-byte minimum length for a displayName * member’s value. Authenticators MAY truncate a displayName member’s value so that it - * fits within 64 bytes. See § 6.4.1 String Truncation about truncation and other + * fits within 64 bytes. See 6.4.1 String Truncation about truncation and other * considerations. */ private final String displayName; diff --git a/web/src/test/java/org/springframework/security/web/webauthn/management/Webauthn4jRelyingPartyOperationsTests.java b/web/src/test/java/org/springframework/security/web/webauthn/management/Webauthn4jRelyingPartyOperationsTests.java index dc59791835..6b98680900 100644 --- a/web/src/test/java/org/springframework/security/web/webauthn/management/Webauthn4jRelyingPartyOperationsTests.java +++ b/web/src/test/java/org/springframework/security/web/webauthn/management/Webauthn4jRelyingPartyOperationsTests.java @@ -294,7 +294,7 @@ class Webauthn4jRelyingPartyOperationsTests { * https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential * * 9. Verify that the value of C.origin is an origin expected by the Relying Party. - * See § 13.4.9 Validating the origin of a credential for guidance. + * See 13.4.9 Validating the origin of a credential for guidance. */ @Test void registerCredentialWhenCOriginNotExpected() {