правильное извлечение прав
parent
00eaf8816d
commit
6b842573f4
|
@ -28,7 +28,7 @@ public class UserEntity extends BaseEntity implements UserDetails {
|
|||
|
||||
@Override
|
||||
public Collection<? extends GrantedAuthority> getAuthorities() {
|
||||
return null;
|
||||
return getRoles();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue