删除多余接口
This commit is contained in:
parent
4fdb50e3b6
commit
30197e7f57
@ -1,22 +0,0 @@
|
||||
package com.example.testspring.demos.modules.common.entity;
|
||||
|
||||
import org.springframework.security.core.GrantedAuthority;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Collection;
|
||||
|
||||
public interface UserDetails extends Serializable {
|
||||
Collection<? extends GrantedAuthority> getAuthorities();
|
||||
|
||||
String getPassword();
|
||||
|
||||
String getUsername();
|
||||
|
||||
boolean isAccountNonExpired();
|
||||
|
||||
boolean isAccountNonLocked();
|
||||
|
||||
boolean isCredentialsNonExpired();
|
||||
|
||||
boolean isEnabled();
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user