Skip to content

Commit ec38848

Browse files
committed
Fix invalid windows character
1 parent f689257 commit ec38848

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAssertionResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* "https://www.w3.org/TR/webauthn-3/#authenticatorassertionresponse">AuthenticatorAssertionResponse</a>
2222
* interface represents an
2323
* <a href="https://www.w3.org/TR/webauthn-3/#authenticator">authenticator</a>'s response
24-
* to a clients request for generation of a new
24+
* to a client's request for generation of a new
2525
* <a href="https://www.w3.org/TR/webauthn-3/#authentication-assertion">authentication
2626
* assertion</a> given the
2727
* <a href="https://www.w3.org/TR/webauthn-3/#webauthn-relying-party">WebAuthn Relying

web/src/main/java/org/springframework/security/web/webauthn/api/AuthenticatorAttestationResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* "https://www.w3.org/TR/webauthn-3/#authenticatorattestationresponse">AuthenticatorAttestationResponse</a>
2525
* represents the
2626
* <a href="https://www.w3.org/TR/webauthn-3/#authenticator">authenticator</a>'s response
27-
* to a clients request for the creation of a new
27+
* to a client's request for the creation of a new
2828
* <a href="https://www.w3.org/TR/webauthn-3/#public-key-credential">public key
2929
* credential</a>.
3030
*

web/src/main/java/org/springframework/security/web/webauthn/api/ImmutablePublicKeyCredentialUserEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr
9393
* value, and not allow overflow into other elements [css-overflow-3].
9494
*
9595
* Authenticators MUST accept and store a 64-byte minimum length for a displayName
96-
* members value. Authenticators MAY truncate a displayName members value so that it
96+
* member's value. Authenticators MAY truncate a displayName member's value so that it
9797
* fits within 64 bytes. See 6.4.1 String Truncation about truncation and other
9898
* considerations.
9999
*/

web/src/main/java/org/springframework/security/web/webauthn/api/PublicKeyCredential.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private PublicKeyCredential(String id, PublicKeyCredentialType type, Bytes rawId
5454
* <a href="https://www.w3.org/TR/credential-management-1/#dom-credential-id">id</a>
5555
* attribute is inherited from Credential, though PublicKeyCredential overrides
5656
* Credential's getter, instead returning the base64url encoding of the data contained
57-
* in the objects [[identifier]] internal slot.
57+
* in the object's [[identifier]] internal slot.
5858
*/
5959
public String getId() {
6060
return this.id;
@@ -63,7 +63,7 @@ public String getId() {
6363
/**
6464
* The <a href=
6565
* "https://www.w3.org/TR/credential-management-1/#dom-credential-type">type</a>
66-
* attribute returns the value of the objects interface object's [[type]] slot, which
66+
* attribute returns the value of the object's interface object's [[type]] slot, which
6767
* specifies the credential type represented by this object.
6868
* @return the credential type
6969
*/

web/src/test/java/org/springframework/security/web/webauthn/management/Webauthn4jRelyingPartyOperationsTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void createPublicKeyCredentialCreationOptionsWhenDefaultsThenSuccess() {
163163
.isEqualTo(expectedCreationOptions);
164164
// https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-rp
165165
assertThat(creationOptions.getRp()).isNotNull();
166-
assertThat(creationOptions.getRp().getName()).describedAs("Its values name member is REQUIRED").isNotNull();
166+
assertThat(creationOptions.getRp().getName()).describedAs("Its value's name member is REQUIRED").isNotNull();
167167
// https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-user
168168
PublicKeyCredentialUserEntity userEntity = creationOptions.getUser();
169169
assertThat(userEntity).isNotNull();
@@ -401,7 +401,7 @@ void registerCredentialWhenBENotSetAndBSSet() throws Exception {
401401
/**
402402
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
403403
*
404-
* 17. If the Relying Party uses the credentials backup eligibility to inform its
404+
* 17. If the Relying Party uses the credential's backup eligibility to inform its
405405
* user experience flows and/or policies, evaluate the BE bit of the flags in
406406
* authData.
407407
*/
@@ -413,7 +413,7 @@ void registerCredentialWhenBEInformsUserExperienceBETrue() {
413413
/**
414414
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
415415
*
416-
* 18. If the Relying Party uses the credentials backup state to inform its user
416+
* 18. If the Relying Party uses the credential's backup state to inform its user
417417
* experience flows and/or policies, evaluate the BS bit of the flags in authData.
418418
*/
419419
@Test
@@ -463,7 +463,7 @@ void registerCredentialWhenClientExtensionOutputsDoNotMatch() {
463463
* https://www.w3.org/TR/webauthn-3/#reg-ceremony-verify-attestation
464464
*
465465
* 22. Verify that attStmt is a correct attestation statement, conveying a valid
466-
* attestation signature, by using the attestation statement format fmts verification
466+
* attestation signature, by using the attestation statement format fmt's verification
467467
* procedure given attStmt, authData and hash.
468468
*/
469469
@Test

0 commit comments

Comments
 (0)