We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6a94a29 + 47fd6be commit e63ef3cCopy full SHA for e63ef3c
core/src/main/java/org/springframework/security/core/AuthenticationException.java
@@ -16,6 +16,8 @@
16
17
package org.springframework.security.core;
18
19
+import java.io.Serial;
20
+
21
/**
22
* Abstract superclass for all exceptions related to an {@link Authentication} object
23
* being invalid for whatever reason.
@@ -24,6 +26,9 @@
24
26
*/
25
27
public abstract class AuthenticationException extends RuntimeException {
28
29
+ @Serial
30
+ private static final long serialVersionUID = 2018827803361503060L;
31
32
33
* Constructs an {@code AuthenticationException} with the specified message and root
34
* cause.
0 commit comments