Add serialVersionUID to Authentication classes
Issue gh-16276
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package org.springframework.security.ldap.userdetails;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@@ -31,6 +32,9 @@ import org.springframework.util.Assert;
|
||||
*/
|
||||
public class LdapAuthority implements GrantedAuthority {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 343193700821611354L;
|
||||
|
||||
private final String dn;
|
||||
|
||||
private final String role;
|
||||
|
||||
Reference in New Issue
Block a user