diff --git a/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAssertionResponse.java b/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAssertionResponse.java index e48f804215..5d4609951f 100644 --- a/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAssertionResponse.java +++ b/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAssertionResponse.java @@ -21,7 +21,7 @@ * "https://www.w3.org/TR/webauthn-3/#authenticatorassertionresponse">AuthenticatorAssertionResponse * interface represents an * authenticator's response - * to a client’s request for generation of a new + * to a client's request for generation of a new * authentication * assertion given the * WebAuthn Relying diff --git a/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAttestationResponse.java b/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAttestationResponse.java index 37eb712a6b..b5235ce223 100644 --- a/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAttestationResponse.java +++ b/web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAttestationResponse.java @@ -24,7 +24,7 @@ * "https://www.w3.org/TR/webauthn-3/#authenticatorattestationresponse">AuthenticatorAttestationResponse * represents the * authenticator's response - * to a client’s request for the creation of a new + * to a client's request for the creation of a new * public key * credential. * 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 ff62999732..3b2fe5adfa 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 @@ -93,7 +93,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr * value, and not allow overflow into other elements [css-overflow-3]. * * 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 + * 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 * considerations. */ diff --git a/web/src/main/java/org/springframework/security/web/webauthn/api/PublicKeyCredential.java b/web/src/main/java/org/springframework/security/web/webauthn/api/PublicKeyCredential.java index 20e70ec4a7..fc36b9c9f4 100644 --- a/web/src/main/java/org/springframework/security/web/webauthn/api/PublicKeyCredential.java +++ b/web/src/main/java/org/springframework/security/web/webauthn/api/PublicKeyCredential.java @@ -54,7 +54,7 @@ private PublicKeyCredential(String id, PublicKeyCredentialType type, Bytes rawId * id * attribute is inherited from Credential, though PublicKeyCredential overrides * Credential's getter, instead returning the base64url encoding of the data contained - * in the object’s [[identifier]] internal slot. + * in the object's [[identifier]] internal slot. */ public String getId() { return this.id; @@ -63,7 +63,7 @@ public String getId() { /** * The type - * attribute returns the value of the object’s interface object's [[type]] slot, which + * attribute returns the value of the object's interface object's [[type]] slot, which * specifies the credential type represented by this object. * @return the credential type */ 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 6b98680900..2538bed4f0 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 @@ -163,7 +163,7 @@ void createPublicKeyCredentialCreationOptionsWhenDefaultsThenSuccess() { .isEqualTo(expectedCreationOptions); // https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-rp assertThat(creationOptions.getRp()).isNotNull(); - assertThat(creationOptions.getRp().getName()).describedAs("Its value’s name member is REQUIRED").isNotNull(); + assertThat(creationOptions.getRp().getName()).describedAs("Its value's name member is REQUIRED").isNotNull(); // https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-user PublicKeyCredentialUserEntity userEntity = creationOptions.getUser(); assertThat(userEntity).isNotNull(); @@ -401,7 +401,7 @@ void registerCredentialWhenBENotSetAndBSSet() throws Exception { /** * https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential * - * 17. If the Relying Party uses the credential’s backup eligibility to inform its + * 17. If the Relying Party uses the credential's backup eligibility to inform its * user experience flows and/or policies, evaluate the BE bit of the flags in * authData. */ @@ -413,7 +413,7 @@ void registerCredentialWhenBEInformsUserExperienceBETrue() { /** * https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential * - * 18. If the Relying Party uses the credential’s backup state to inform its user + * 18. If the Relying Party uses the credential's backup state to inform its user * experience flows and/or policies, evaluate the BS bit of the flags in authData. */ @Test @@ -463,7 +463,7 @@ void registerCredentialWhenClientExtensionOutputsDoNotMatch() { * https://www.w3.org/TR/webauthn-3/#reg-ceremony-verify-attestation * * 22. Verify that attStmt is a correct attestation statement, conveying a valid - * attestation signature, by using the attestation statement format fmt’s verification + * attestation signature, by using the attestation statement format fmt's verification * procedure given attStmt, authData and hash. */ @Test