Skip to content

Commit 0e8afc9

Browse files
committed
Align serial version UID with main
Signed-off-by: Loeiz TANGUY <[email protected]>
1 parent 2a18e13 commit 0e8afc9

6 files changed

+13
-9
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.security.web.webauthn.api;
1818

19+
import java.io.Serial;
1920
import java.io.Serializable;
2021

2122
/**
@@ -30,6 +31,9 @@
3031
*/
3132
public final class AttestationConveyancePreference implements Serializable {
3233

34+
@Serial
35+
private static final long serialVersionUID = -746545182023303673L;
36+
3337
/**
3438
* The <a href=
3539
* "https://www.w3.org/TR/webauthn-3/#dom-attestationconveyancepreference-none">none</a>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public final class Bytes implements Serializable {
3434

3535
@Serial
36-
private static final long serialVersionUID = -7420539646106189663L;
36+
private static final long serialVersionUID = -3278138671365709777L;
3737

3838
private static final SecureRandom RANDOM = new SecureRandom();
3939

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
* @since 6.4
2929
*/
3030
public class CredProtectAuthenticationExtensionsClientInput
31-
implements AuthenticationExtensionsClientInput<CredProtectAuthenticationExtensionsClientInput.CredProtect>, Serializable {
31+
implements AuthenticationExtensionsClientInput<CredProtectAuthenticationExtensionsClientInput.CredProtect> {
3232

3333
@Serial
34-
private static final long serialVersionUID = 1594370832009118794L;
34+
private static final long serialVersionUID = -6418175591005843455L;
3535

3636
private final CredProtect input;
3737

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
* @since 6.4
2828
* @see AuthenticationExtensionsClientInputs
2929
*/
30-
public class ImmutableAuthenticationExtensionsClientInput<T> implements AuthenticationExtensionsClientInput<T>, Serializable {
30+
public class ImmutableAuthenticationExtensionsClientInput<T> implements AuthenticationExtensionsClientInput<T> {
3131

3232
@Serial
33-
private static final long serialVersionUID = -4728475902609231330L;
33+
private static final long serialVersionUID = -1738152485672656808L;
3434

3535
/**
3636
* https://www.w3.org/TR/webauthn-3/#sctn-authenticator-credential-properties-extension

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
* @author Rob Winch
2828
* @since 6.4
2929
*/
30-
public class ImmutableAuthenticationExtensionsClientInputs implements AuthenticationExtensionsClientInputs, Serializable {
30+
public class ImmutableAuthenticationExtensionsClientInputs implements AuthenticationExtensionsClientInputs {
3131

3232
@Serial
33-
private static final long serialVersionUID = -4836558379344450438L;
33+
private static final long serialVersionUID = 4277817521578485720L;
3434

3535
private final List<AuthenticationExtensionsClientInput> inputs;
3636

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
* @author Rob Winch
3030
* @since 6.4
3131
*/
32-
public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCredentialUserEntity, Serializable {
32+
public final class ImmutablePublicKeyCredentialUserEntity implements PublicKeyCredentialUserEntity {
3333

3434
@Serial
35-
private static final long serialVersionUID = -3487418268223398299L;
35+
private static final long serialVersionUID = -3438693960347279759L;
3636

3737
/**
3838
* When inherited by PublicKeyCredentialUserEntity, it is a human-palatable identifier

0 commit comments

Comments
 (0)