Commit Graph

61 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou e91a0e6af8 Fix mapType in Authorization Service to handle extra '.' 2024-01-11 18:39:30 +02:00
Konstantinos Triantafyllou b84f29c803 [maven-release-plugin] prepare for next development iteration 2023-12-14 15:28:30 +02:00
Konstantinos Triantafyllou 695c02355c [maven-release-plugin] prepare release uoa-authorization-library-2.1.4 2023-12-14 15:28:26 +02:00
Konstantinos Triantafyllou 93fd8a651b Create IgnoreSecurityConfiguration and move WebMvcConfigurer to AuthorizationConfiguration. 2023-12-14 15:28:10 +02:00
Konstantinos Triantafyllou 78ad75ca3f [maven-release-plugin] prepare for next development iteration 2022-10-07 17:49:07 +03:00
Konstantinos Triantafyllou 0e4d58a284 [maven-release-plugin] prepare release uoa-authorization-library-2.1.3 2022-10-07 17:49:04 +03:00
Konstantinos Triantafyllou e20cc9559d Update spring-boot-parent version 2022-10-07 17:48:46 +03:00
Konstantinos Triantafyllou da334c1b97 Add new parent and change log4j 2022-10-07 11:20:31 +03:00
Konstantinos Triantafyllou 30f98cf9ff [maven-release-plugin] prepare for next development iteration 2021-12-13 15:34:05 +02:00
Konstantinos Triantafyllou b22554665b [maven-release-plugin] prepare release uoa-authorization-library-2.1.2 2021-12-13 15:34:02 +02:00
Konstantinos Triantafyllou 2a3301aeed Prepare for new release 2021-12-13 15:33:33 +02:00
Konstantinos Triantafyllou 7175c9586c Rename globalVars to global-vars 2021-12-13 10:28:30 +02:00
Konstantinos Triantafyllou ca890552cb [maven-release-plugin] prepare for next development iteration 2021-12-08 13:58:17 +02:00
Konstantinos Triantafyllou 00edaeb5ce [maven-release-plugin] prepare release uoa-authorization-library-2.1.1 2021-12-08 13:58:13 +02:00
Konstantinos Triantafyllou bde479b4ac Change default value of userInfoUrl. Add redis configuration to ReadMe 2021-12-08 13:57:39 +02:00
Konstantinos Triantafyllou 0603002333 Add ReadMe and .gitignore 2021-12-08 13:46:09 +02:00
Konstantinos Triantafyllou 622c63f122 Update <scm> for gitea 2021-12-07 17:23:13 +02:00
Konstantinos Triantafyllou d14e3ffd70 [maven-release-plugin] prepare for next development iteration 2021-12-07 09:24:04 +00:00
Konstantinos Triantafyllou bd1d517be4 [maven-release-plugin] prepare release uoa-authorization-library-2.1.0 2021-12-07 09:24:02 +00:00
Konstantinos Triantafyllou b30fb5fd0b Add classifier to enable Redis Authorization. Default Stateless Authorization 2021-12-07 09:23:36 +00:00
Konstantinos Triantafyllou 38ac5d60ea [maven-release-plugin] prepare for next development iteration 2021-12-06 14:53:31 +00:00
Konstantinos Triantafyllou 435dbbe050 [maven-release-plugin] prepare release uoa-authorization-library-2.0.4 2021-12-06 14:53:30 +00:00
Konstantinos Triantafyllou 86cdad5232 Change snapshot version back to 2.0.4 2021-12-06 14:52:13 +00:00
Konstantinos Triantafyllou f8c80fad37 Add property for session id 2021-12-03 10:25:34 +00:00
Konstantinos Triantafyllou e95c9a6468 [maven-release-plugin] prepare for next development iteration 2021-11-23 13:57:49 +00:00
Konstantinos Triantafyllou 5ae6e998d4 [maven-release-plugin] prepare release uoa-authorization-library-2.0.3 2021-11-23 13:57:48 +00:00
Konstantinos Triantafyllou da4af632f0 Add version to check deploy configuration 2021-11-23 13:57:28 +00:00
Konstantinos Triantafyllou 8ecfd6ed35 Fix null pointer exception in cookies 2021-11-23 13:45:16 +00:00
Konstantinos Triantafyllou 61f6c96aed [maven-release-plugin] prepare for next development iteration 2021-11-23 13:20:17 +00:00
Konstantinos Triantafyllou 2ea69775f9 [maven-release-plugin] prepare release uoa-authorization-library-2.0.2 2021-11-23 13:20:16 +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 639dc02108 [maven-release-plugin] prepare for next development iteration 2021-11-16 14:44:52 +00:00
Konstantinos Triantafyllou d064bea648 [maven-release-plugin] prepare release uoa-authorization-library-2.0.1 2021-11-16 14:44:51 +00:00
Konstantinos Triantafyllou ed48bb0c6d Fix filter set Authentication 2021-11-16 14:43:53 +00:00
Konstantinos Triantafyllou db66b6f91e [maven-release-plugin] prepare for next development iteration 2021-11-16 13:38:31 +00:00
Konstantinos Triantafyllou 0716ff7f24 [maven-release-plugin] prepare release uoa-authorization-library-2.0.0 2021-11-16 13:38:30 +00:00
Konstantinos Triantafyllou fe7816e5a4 Add .idea and target to ignore svn list 2021-11-16 13:37:56 +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 006e289b50 [maven-release-plugin] prepare for next development iteration 2021-10-04 07:20:47 +00:00
Konstantinos Triantafyllou 73f826cd40 [maven-release-plugin] prepare release uoa-authorization-library-1.0.0 2021-10-04 07:20:46 +00:00
Konstantinos Triantafyllou 612cbeafea [Authorization Library]: Add dnet45 parert 2021-10-04 07:20:00 +00:00
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@
2021-09-15 22:10:42 +00:00
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.
2021-04-22 09:12:49 +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