Last change
on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago |
split group project and individual project into two separate folders
|
-
Property mode
set to
100644
|
File size:
321 bytes
|
Line | |
---|
1 | package mk.ukim.finki.busngo.model.enums;
|
---|
2 |
|
---|
3 |
|
---|
4 | import org.springframework.security.core.GrantedAuthority;
|
---|
5 |
|
---|
6 | public enum Role implements GrantedAuthority {
|
---|
7 | ROLE_USER,
|
---|
8 | ROLE_PASSENGER,
|
---|
9 | ROLE_DRIVER,
|
---|
10 | ROLE_CONDUCTOR,
|
---|
11 | ROLE_ADMIN;
|
---|
12 |
|
---|
13 |
|
---|
14 | @Override
|
---|
15 | public String getAuthority() {
|
---|
16 | return name();
|
---|
17 | }
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.