ソースを参照

Merge branch '6.4.x'

Josh Cummings 6 ヶ月 前
コミット
e63ef3cdc4

+ 5 - 0
core/src/main/java/org/springframework/security/core/AuthenticationException.java

@@ -16,6 +16,8 @@
 
 package org.springframework.security.core;
 
+import java.io.Serial;
+
 /**
  * Abstract superclass for all exceptions related to an {@link Authentication} object
  * being invalid for whatever reason.
@@ -24,6 +26,9 @@ package org.springframework.security.core;
  */
 public abstract class AuthenticationException extends RuntimeException {
 
+	@Serial
+	private static final long serialVersionUID = 2018827803361503060L;
+
 	/**
 	 * Constructs an {@code AuthenticationException} with the specified message and root
 	 * cause.