I'm using jhipster 4, I have a doubt, I try to put a new role without a pattern ROLE_* and it does not work when i use the java annotation @Secured.
public final class AuthoritiesConstants {
public static final String SUPERVISED = "SUPERVISED";
...
I check it over many websites about this issue and i can't find any suggest. And i need to put a role called SUPERVISED because my app needs to integrate with other.
@Secured({AuthoritiesConstants.SUPERVISED)
public class GreatResource {
...
When the webclient do a request with a role SUPERVISED, the action it is denied
Why this happend?