Commit Graph

6 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou cc70806ad2 [Authorization Library | Trunk]: Add role anonymous and registered user 2021-01-08 14:51:03 +00:00
Konstantina Galouni 02c53df43a [Trunk | Authorization Library]: AuthorizationService.java: Add anonymous user roles and add method "getAaiId()" (currently we get aaiId from password field - to be changed). 2020-12-04 10:00:10 +00:00
Konstantina Galouni bc395ac998 [Trunk | Authorization Library]:
1. AuthorizationService.java: [Bug fix] In method "curator()", "CURATOR" is a prefix, not suffix in role.
2. AuthorizationConfiguration.java: Comment "@PropertySources" as this is a library project and properties are set by parent project.
2020-11-20 16:00:56 +00:00
Konstantina Galouni a299ccbf6b [Trunk | Auth-Library]: AuthorizationService.java:
1. Add private method "mapType()", to map "organization" to "institution" and "ri" to "community" for roles.
2. Add public method "getRoles()" to access roles (as Strings) from Granted Authorities.
2020-11-03 12:25:53 +00:00
Konstantinos Triantafyllou a42f2db850 Rename subscriber to member 2020-09-08 13:08:44 +00:00
Konstantinos Triantafyllou bf383fc29c Spring security library providing preauthorize and authenticated methods for apis 2020-09-03 19:40:48 +00:00