@Data
public class CustomUser implements UserDetails {
private String username;
private String password;
private boolean isEnabled;
private boolean isAccountNonExpired;
private boolean isAccountNonLocked;
private boolean isCredentialsNonExpired;
private Collection<? extends GrantedAuthority> authorities;
}
내저장소 바로가기 luxury515
'Springboot3.0' 카테고리의 다른 글
[Interface]`UserDetailsService` (0) | 2023.04.16 |
---|---|
Springboot Security (0) | 2023.04.16 |