Last change
on this file was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 14 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
290 bytes
|
Rev | Line | |
---|
[0e4d807] | 1 | package com.example.baziproekt.model;
|
---|
| 2 |
|
---|
| 3 | import org.springframework.security.core.GrantedAuthority;
|
---|
| 4 |
|
---|
| 5 | public 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.