Deprecate SERIAL_VERSION_UID
Closes gh-17623
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ import org.springframework.security.core.SpringSecurityCoreVersion;
|
||||
*/
|
||||
public final class CasAssertionAuthenticationToken extends AbstractAuthenticationToken {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final Assertion assertion;
|
||||
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ import org.springframework.util.ObjectUtils;
|
||||
*/
|
||||
public class CasAuthenticationToken extends AbstractAuthenticationToken implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final Object credentials;
|
||||
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ public class CasServiceTicketAuthenticationToken extends AbstractAuthenticationT
|
||||
static final String CAS_STATEFUL_IDENTIFIER = "_cas_stateful_";
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final String identifier;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user