Skip to content

Commit 31634e2

Browse files
committed
Add serialVersionUid
1 parent b8cac0d commit 31634e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/main/java/org/springframework/security/core/SimpleAuthentication.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.core;
1818

19+
import java.io.Serial;
1920
import java.util.Collection;
2021
import java.util.LinkedHashSet;
2122
import java.util.function.Consumer;
@@ -24,6 +25,9 @@
2425

2526
final class SimpleAuthentication implements Authentication {
2627

28+
@Serial
29+
private static final long serialVersionUID = 3194696462184782814L;
30+
2731
private final @Nullable Object principal;
2832

2933
private final @Nullable Object credentials;

0 commit comments

Comments
 (0)