I get token with password authorization, but I don't know why I always get principal from authentication. getPrincipal () as a string, not a UserDetails object
`public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter {
private final TcsfAccessDeniedHandler tcsfAccessDeniedHandler;
private final ResourceAuthExceptionEntryPoint resourceAuthExceptionEntryPoint;
I get token with password authorization, but I don't know why I always get principal from authentication. getPrincipal () as a string, not a UserDetails object
`public class ResourceServerConfigurer extends ResourceServerConfigurerAdapter { private final TcsfAccessDeniedHandler tcsfAccessDeniedHandler; private final ResourceAuthExceptionEntryPoint resourceAuthExceptionEntryPoint;
}`
` @Component("rbacService") public class RbacPermissionImpl implements RbacService {
} `