source: src/main/java/com/example/baziproekt/model/Roles.java@ 0e4d807

Last change on this file since 0e4d807 was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 10 months ago

Initial commit

  • Property mode set to 100644
File size: 290 bytes
Line 
1package com.example.baziproekt.model;
2
3import org.springframework.security.core.GrantedAuthority;
4
5public enum Roles implements GrantedAuthority {
6 ROLES_VRABOTEN,
7 ROLES_DOSTAVUVAC,
8 ROLES_KUPUVAC;
9
10 @Override
11 public String getAuthority() {
12 return name();
13 }
14}
Note: See TracBrowser for help on using the repository browser.