Commit Graph

33 Commits (61f6c96aed157f8888ee220da605acb6a46621a3)
 

Author SHA1 Message Date
Konstantinos Triantafyllou 61f6c96aed [maven-release-plugin] prepare for next development iteration 2 years ago
Konstantinos Triantafyllou 2ea69775f9 [maven-release-plugin] prepare release uoa-authorization-library-2.0.2 2 years ago
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. 2 years ago
Konstantinos Triantafyllou 639dc02108 [maven-release-plugin] prepare for next development iteration 2 years ago
Konstantinos Triantafyllou d064bea648 [maven-release-plugin] prepare release uoa-authorization-library-2.0.1 2 years ago
Konstantinos Triantafyllou ed48bb0c6d Fix filter set Authentication 2 years ago
Konstantinos Triantafyllou db66b6f91e [maven-release-plugin] prepare for next development iteration 2 years ago
Konstantinos Triantafyllou 0716ff7f24 [maven-release-plugin] prepare release uoa-authorization-library-2.0.0 2 years ago
Konstantinos Triantafyllou fe7816e5a4 Add .idea and target to ignore svn list 2 years ago
Konstantinos Triantafyllou ae71a30dcc Create OpenAIREAuthentication object. Get user Info supports new login service user Info implementation 2 years ago
Konstantinos Triantafyllou 006e289b50 [maven-release-plugin] prepare for next development iteration 3 years ago
Konstantinos Triantafyllou 73f826cd40 [maven-release-plugin] prepare release uoa-authorization-library-1.0.0 3 years ago
Konstantinos Triantafyllou 612cbeafea [Authorization Library]: Add dnet45 parert 3 years ago
Konstantina Galouni 4dff8c29c3 [Trunk | Authorization Service]:
1. pom.xml: 
        a. Added timestamp in properties.
        b. In <build> added <resources> with filtering set to true.
2. GlobalVars.java: Added GlobalVars class for date of deploy & date of build.
3. AuthorizationConfiguration.java: In @EnableConfigurationProperties added GlobalVars.class.
4. AuthorizationLibraryCheckDeployController.java: Added exposing date of deploy and date of build.
5. authorization.properties: Added property authorization.globalVars.buildDate=@timestamp@
3 years ago
Konstantina Galouni 8a52aea7b6 [Trunk | Authorization Library]:
1. Added folder /controllers.
2. AuthorizationLibraryCheckDeployController.java: [NEW] Controller added and 
	a. "hello()" method (@RequestMapping(value = {"", "/health_check"}, method = RequestMethod.GET)) which just prints and returns a greeting message.
	b. "checkEverything()" method @RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET) only accessible by PORTAL ADMINS which checks connection with db and prints properties.
3 years ago
Konstantina Galouni 9c8aaa75b1 [Trunk | Authorization Library]: AuthorizationService.java: add method "getEmail()", to get user email. 3 years ago
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.
3 years ago
Konstantinos Triantafyllou 89e87dea27 [Authorization-Library | Trunk]: Authorization Service add boolean communityMap on mapType 3 years ago
Konstantinos Triantafyllou cc70806ad2 [Authorization Library | Trunk]: Add role anonymous and registered user 3 years ago
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). 3 years ago
Konstantinos Triantafyllou ab4b0a525d [AuthorizationLibrary | Trunk]: Add Entry point class to get 401 if user is not loggedin 3 years ago
Konstantinos Triantafyllou 09bc542bc5 [AuthorizationLibrary | Trunk]: Add Entry point class to get 401 if user is not loggedin 3 years ago
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.
3 years ago
Konstantinos Triantafyllou d01da64406 3 years ago
Konstantinos Triantafyllou 03da211b20 [Authorization Library | Trunk]: Fix invalid token error 4 years ago
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.
4 years ago
Konstantinos Triantafyllou a42f2db850 Rename subscriber to member 4 years ago
Konstantinos Triantafyllou 808fe76fdc [Auth-Library]: Remove comments 4 years ago
Konstantinos Triantafyllou 2db7769965 Fix some issues. Remove origins temporaly 4 years ago
Konstantinos Triantafyllou 6013bae4c5 Add origin check, rename subscriber to member 4 years ago
Konstantinos Triantafyllou 84be3ba460 Remove authenticated for all requests 4 years ago
Konstantinos Triantafyllou bf383fc29c Spring security library providing preauthorize and authenticated methods for apis 4 years ago
Konstantinos Triantafyllou dd8f9bfe45 4 years ago