mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 20:42:14 +00:00
Fix invalid windows character
This commit is contained in:
parent
f689257dc4
commit
ec38848b20
@ -21,7 +21,7 @@ package org.springframework.security.web.webauthn.api;
|
|||||||
* "https://www.w3.org/TR/webauthn-3/#authenticatorassertionresponse">AuthenticatorAssertionResponse</a>
|
* "https://www.w3.org/TR/webauthn-3/#authenticatorassertionresponse">AuthenticatorAssertionResponse</a>
|
||||||
* interface represents an
|
* interface represents an
|
||||||
* <a href="https://www.w3.org/TR/webauthn-3/#authenticator">authenticator</a>'s response
|
* <a href="https://www.w3.org/TR/webauthn-3/#authenticator">authenticator</a>'s response
|
||||||
* to a client’s request for generation of a new
|
* to a client's request for generation of a new
|
||||||
* <a href="https://www.w3.org/TR/webauthn-3/#authentication-assertion">authentication
|
* <a href="https://www.w3.org/TR/webauthn-3/#authentication-assertion">authentication
|
||||||
* assertion</a> given the
|
* assertion</a> given the
|
||||||
* <a href="https://www.w3.org/TR/webauthn-3/#webauthn-relying-party">WebAuthn Relying
|
* <a href="https://www.w3.org/TR/webauthn-3/#webauthn-relying-party">WebAuthn Relying
|
||||||
|
@ -24,7 +24,7 @@ import java.util.List;
|
|||||||
* "https://www.w3.org/TR/webauthn-3/#authenticatorattestationresponse">AuthenticatorAttestationResponse</a>
|
* "https://www.w3.org/TR/webauthn-3/#authenticatorattestationresponse">AuthenticatorAttestationResponse</a>
|
||||||
* represents the
|
* represents the
|
||||||
* <a href="https://www.w3.org/TR/webauthn-3/#authenticator">authenticator</a>'s response
|
* <a href="https://www.w3.org/TR/webauthn-3/#authenticator">authenticator</a>'s response
|
||||||
* to a client’s request for the creation of a new
|
* to a client's request for the creation of a new
|
||||||
* <a href="https://www.w3.org/TR/webauthn-3/#public-key-credential">public key
|
* <a href="https://www.w3.org/TR/webauthn-3/#public-key-credential">public key
|
||||||
* credential</a>.
|
* credential</a>.
|
||||||
*
|
*
|
||||||
|
@ -93,7 +93,7 @@ public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCr
|
|||||||
* value, and not allow overflow into other elements [css-overflow-3].
|
* value, and not allow overflow into other elements [css-overflow-3].
|
||||||
*
|
*
|
||||||
* Authenticators MUST accept and store a 64-byte minimum length for a displayName
|
* 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
|
* fits within 64 bytes. See 6.4.1 String Truncation about truncation and other
|
||||||
* considerations.
|
* considerations.
|
||||||
*/
|
*/
|
||||||
|
@ -54,7 +54,7 @@ public final class PublicKeyCredential<R extends AuthenticatorResponse> {
|
|||||||
* <a href="https://www.w3.org/TR/credential-management-1/#dom-credential-id">id</a>
|
* <a href="https://www.w3.org/TR/credential-management-1/#dom-credential-id">id</a>
|
||||||
* attribute is inherited from Credential, though PublicKeyCredential overrides
|
* attribute is inherited from Credential, though PublicKeyCredential overrides
|
||||||
* Credential's getter, instead returning the base64url encoding of the data contained
|
* 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() {
|
public String getId() {
|
||||||
return this.id;
|
return this.id;
|
||||||
@ -63,7 +63,7 @@ public final class PublicKeyCredential<R extends AuthenticatorResponse> {
|
|||||||
/**
|
/**
|
||||||
* The <a href=
|
* The <a href=
|
||||||
* "https://www.w3.org/TR/credential-management-1/#dom-credential-type">type</a>
|
* "https://www.w3.org/TR/credential-management-1/#dom-credential-type">type</a>
|
||||||
* 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.
|
* specifies the credential type represented by this object.
|
||||||
* @return the credential type
|
* @return the credential type
|
||||||
*/
|
*/
|
||||||
|
@ -163,7 +163,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
|||||||
.isEqualTo(expectedCreationOptions);
|
.isEqualTo(expectedCreationOptions);
|
||||||
// https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-rp
|
// https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-rp
|
||||||
assertThat(creationOptions.getRp()).isNotNull();
|
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
|
// https://www.w3.org/TR/webauthn-3/#dom-publickeycredentialcreationoptions-user
|
||||||
PublicKeyCredentialUserEntity userEntity = creationOptions.getUser();
|
PublicKeyCredentialUserEntity userEntity = creationOptions.getUser();
|
||||||
assertThat(userEntity).isNotNull();
|
assertThat(userEntity).isNotNull();
|
||||||
@ -401,7 +401,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
|||||||
/**
|
/**
|
||||||
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
|
* 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
|
* user experience flows and/or policies, evaluate the BE bit of the flags in
|
||||||
* authData.
|
* authData.
|
||||||
*/
|
*/
|
||||||
@ -413,7 +413,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
|||||||
/**
|
/**
|
||||||
* https://www.w3.org/TR/webauthn-3/#sctn-registering-a-new-credential
|
* 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.
|
* experience flows and/or policies, evaluate the BS bit of the flags in authData.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
@ -463,7 +463,7 @@ class Webauthn4jRelyingPartyOperationsTests {
|
|||||||
* https://www.w3.org/TR/webauthn-3/#reg-ceremony-verify-attestation
|
* https://www.w3.org/TR/webauthn-3/#reg-ceremony-verify-attestation
|
||||||
*
|
*
|
||||||
* 22. Verify that attStmt is a correct attestation statement, conveying a valid
|
* 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.
|
* procedure given attStmt, authData and hash.
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user