Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public final class AuthorizationGrant {
  2.  
  3. private AuthorizationGrant() {}
  4.  
  5. public static final String SCOPE_WRITE = "#oauth2.hasScope('SPRING_BOOT_WRITE')";
  6. public static final String SCOPE_RESOURCE_SERVICE = "#oauth2.hasScope('SPRING_BOOT_RESOURCE_SERVICE')";
  7.  
  8. public static final String AUTHORITY_ADMIN = "hasAuthority('ADMIN')";
  9. public static final String AUTHORITY_USER = "hasAuthority('USER')";
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement