Deprecate SERIAL_VERSION_UID
Closes gh-17623
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ import org.springframework.security.core.SpringSecurityCoreVersion;
|
||||
*/
|
||||
public class UnreachableFilterChainException extends IllegalArgumentException {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final SecurityFilterChain filterChain;
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ import org.springframework.security.core.SpringSecurityCoreVersion;
|
||||
*/
|
||||
public class WebAuthenticationDetails implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final String remoteAddress;
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ import org.springframework.security.core.SpringSecurityCoreVersion;
|
||||
*/
|
||||
public class PreAuthenticatedAuthenticationToken extends AbstractAuthenticationToken {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final Object principal;
|
||||
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ import org.springframework.security.web.authentication.WebAuthenticationDetails;
|
||||
public class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails extends WebAuthenticationDetails
|
||||
implements GrantedAuthoritiesContainer {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final List<GrantedAuthority> authorities;
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ import org.springframework.util.Assert;
|
||||
*/
|
||||
public final class SwitchUserGrantedAuthority implements GrantedAuthority {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final String role;
|
||||
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ import org.springframework.web.util.UriComponentsBuilder;
|
||||
*/
|
||||
public class DefaultSavedRequest implements SavedRequest {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
protected static final Log logger = LogFactory.getLog(DefaultSavedRequest.class);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.security.core.SpringSecurityCoreVersion;
|
||||
*/
|
||||
public class SavedCookie implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;
|
||||
private static final long serialVersionUID = 620L;
|
||||
|
||||
private final String name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user