Add serialVersionUID to Authentication classes
Issue gh-16276
This commit is contained in:
+4
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.security.authentication.ott;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -30,6 +31,9 @@ import org.springframework.security.core.GrantedAuthority;
|
||||
*/
|
||||
public class OneTimeTokenAuthenticationToken extends AbstractAuthenticationToken {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = -8691636031126328365L;
|
||||
|
||||
private final Object principal;
|
||||
|
||||
private String tokenValue;
|
||||
|
||||
Reference in New Issue
Block a user