Konstantinos Triantafyllou
0603002333
Add ReadMe and .gitignore
2021-12-08 13:46:09 +02:00
Konstantinos Triantafyllou
b30fb5fd0b
Add classifier to enable Redis Authorization. Default Stateless Authorization
2021-12-07 09:23:36 +00:00
Konstantinos Triantafyllou
3f59a7e387
Fix authentication cast to OpenAIREAuthentication while it is not a instance of. Check cookie existance to avoid extra calls for get user info.
2021-11-23 13:19:50 +00:00
Konstantinos Triantafyllou
ed48bb0c6d
Fix filter set Authentication
2021-11-16 14:43:53 +00:00
Konstantinos Triantafyllou
ae71a30dcc
Create OpenAIREAuthentication object. Get user Info supports new login service user Info implementation
2021-11-16 13:37:06 +00:00
Konstantinos Triantafyllou
612cbeafea
[Authorization Library]: Add dnet45 parert
2021-10-04 07:20:00 +00:00
Konstantina Galouni
9c8aaa75b1
[Trunk | Authorization Library]: AuthorizationService.java: add method "getEmail()", to get user email.
2021-02-24 19:24:37 +00:00
Konstantina Galouni
5f9cb6c970
[Trunk | Authorization Library]:
...
AuthorizationService.java: [Bug fix] Added "authentication.getPrincipal() instanceof User" check before casting authentication.getPrincipal() to User - if user is not logged in, it is String.
2021-02-14 22:55:31 +00:00
Konstantinos Triantafyllou
89e87dea27
[Authorization-Library | Trunk]: Authorization Service add boolean communityMap on mapType
2021-01-27 13:47:55 +00:00
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
Konstantinos Triantafyllou
ab4b0a525d
[AuthorizationLibrary | Trunk]: Add Entry point class to get 401 if user is not loggedin
2020-11-25 12:32:49 +00:00
Konstantinos Triantafyllou
09bc542bc5
[AuthorizationLibrary | Trunk]: Add Entry point class to get 401 if user is not loggedin
2020-11-25 12:30:41 +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
Konstantinos Triantafyllou
d01da64406
2020-11-20 15:05:04 +00:00
Konstantinos Triantafyllou
03da211b20
[Authorization Library | Trunk]: Fix invalid token error
2020-11-05 13:41:16 +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
808fe76fdc
[Auth-Library]: Remove comments
2020-09-04 11:35:44 +00:00
Konstantinos Triantafyllou
2db7769965
Fix some issues. Remove origins temporaly
2020-09-04 11:33:39 +00:00
Konstantinos Triantafyllou
6013bae4c5
Add origin check, rename subscriber to member
2020-09-04 10:41:59 +00:00
Konstantinos Triantafyllou
84be3ba460
Remove authenticated for all requests
2020-09-03 19:49:57 +00:00
Konstantinos Triantafyllou
bf383fc29c
Spring security library providing preauthorize and authenticated methods for apis
2020-09-03 19:40:48 +00:00