Commit Graph

68 Commits

Author SHA1 Message Date
Massimiliano Assante 110b24282d updated bom 2021-06-24 17:32:40 +02:00
Massimiliano Assante 651bb173e1 ready to release 2021-06-24 10:37:06 +02:00
Massimiliano Assante 0ef38bfbcd #21503 Update threadlocal-vars-cleaner to support AccessTokenProvider 2021-05-25 16:29:28 +02:00
Massimiliano Assante 58641ac4a4 removed snapshot from bom 2021-05-03 14:04:22 +02:00
Massimiliano Assante e995002708 ready to release 2021-05-03 12:42:19 +02:00
Massimiliano Assante 10313013e8 just updated the message session is null 2021-05-03 12:30:47 +02:00
Massimiliano Assante 5f066da115 Merge pull request 'Restored session existance check before OIDC/UMA ticket related checks' (#9) from mauro.mugnaini/threadlocal-vars-cleaner:master into master
Reviewed-on: #9
2021-05-03 11:33:16 +02:00
Mauro Mugnaini 99b38ef4b7 Wrong extra return if session is null at check 2021-04-30 08:27:46 +02:00
Mauro Mugnaini 760448c7db Restored session existance check before OIDC/UMA ticket related checks 2021-04-29 19:18:52 +02:00
Massimiliano Assante d1ce7ef5c9 updated pom for release 2021-04-12 16:30:42 +02:00
Massimiliano Assante 7219cf69fe updated pom 2021-04-12 16:29:50 +02:00
Massimiliano Assante 2c45fb1549 Fix Bug #20591 portlet calls in landing page have not UMA token set 2021-04-12 16:29:25 +02:00
Massimiliano Assante 4f402e1821 Merge pull request 'Extracted the UMA issuing code' (#8) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2021-03-19 12:23:53 +01:00
Mauro Mugnaini eb383671aa Extracted the UMA issuing code for logged user from the Valve in the `threadlocal-vars-cleaner` project to be used also after the login process for UMA issue in the context, since the Valve has already finished its work at that moment. (#20591) 2021-03-17 19:09:28 +01:00
Mauro Mugnaini 3b54a86bc8 Prepared for new version SNAPSHOT 2021-02-15 17:58:49 +01:00
Massimiliano Assante 6e67b8dae2 lowered the level of log "OIDC token is null in cache proxy" 2021-02-10 15:56:46 +01:00
Massimiliano Assante 62a6375372 Merge pull request 'The UMA refresh token flow is skipped by the specific setting (constant in the class) and a new token is requested if the old is expired.' (#7) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2021-01-22 15:01:57 +01:00
Mauro Mugnaini 07c8a1219e The UMA refresh token flow is skipped by the specific setting (constant in the class) and a new token is requested if the old is expired. 2021-01-22 14:59:19 +01:00
Massimiliano Assante f67c570402 Merge pull request 'Porting to master repo of the changes that seems to resolves issues related to ticket #20445' (#6) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2021-01-20 12:35:51 +01:00
Mauro Mugnaini 8e28d139b5 Revised implementation that rely completely on cache proxy and ignore the several session objects (with same session ID) that are involved in different calls and threads. In addition to avoid also multiple thread collision that refreshes/requests the same object several times at each call, a specific mutex (per user) has been put in place. 2021-01-20 00:56:27 +01:00
Mauro Mugnaini f5479d8f58 Fixed wrong log messages 2021-01-19 18:00:39 +01:00
Mauro Mugnaini fc18dda68e Remove the user of the session to store objects and rely on cache proxy only adding a mutex to avoid concurrency problems 2021-01-19 17:54:06 +01:00
Mauro Mugnaini 1a0f9b5086 A lot of logs added and rationalized loop 2021-01-19 15:04:31 +01:00
Massimiliano Assante 6c7961c7b0 Merge pull request 'Moved out synch from method to session object and added checks for response messages from Keycloak. Added also redirection to logout URI in case of revoked or invalid OIDC token.' (#5) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2021-01-11 16:45:41 +01:00
Mauro Mugnaini 9a25509add Moved out synch from method to session object and added checks for response messages from Keycloak. Added also redirection to logout URI in case of revoked or invalid OIDC token. 2021-01-11 16:08:53 +01:00
Massimiliano Assante 52433442c2 Merge pull request 'Rewrote the flow according to last tests and strange LR behavior in session management' (#4) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2020-12-22 11:13:02 +01:00
Mauro Mugnaini b110e21b3f Rewrote the flow according to last tests and strange LR behavior in session management 2020-12-21 18:14:00 +01:00
Massimiliano Assante fbe94b6fd1 updated date of last commit in changelog 2020-12-17 10:16:13 +01:00
Massimiliano Assante 91465f9a8e Merge pull request 'Forced refresh of access token when current scope changes' (#3) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2020-12-16 16:03:02 +01:00
Mauro Mugnaini fa407f471a Forced refresh of access token when current scope changes 2020-12-16 15:53:26 +01:00
Massimiliano Assante e4e7352e2c removed snapshot from pom version 2020-11-17 10:57:28 +01:00
Massimiliano Assante d2508827e9 applied necessary changes to supplementary files for release 2020-11-17 10:52:33 +01:00
Massimiliano Assante 561d278f15 Merge pull request 'Finalization of the enabling of the portal to send the user's UMA token in the HTTP services invokation' (#2) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2020-07-07 12:14:16 +02:00
Mauro Mugnaini 3a4fee1fd4 Added range dependency according to CI rules for DEV 2020-07-07 12:01:19 +02:00
Mauro Mugnaini de67ba9d22 Added range dependency according to CI rules 2020-07-07 10:51:33 +02:00
Mauro Mugnaini 6b86a0700b Changed according to renamed classes method names 2020-07-03 18:45:41 +02:00
Mauro Mugnaini be0860d928 Fixed wrong token put in cache after refresh. Rationalized logs. 2020-07-03 18:38:58 +02:00
Mauro Mugnaini 3f965a9143 Implemented the token refresh on expired access-token validity 2020-07-01 19:42:10 +02:00
Mauro Mugnaini 081e3dd257 Specific version required. Range removed 2020-07-01 19:40:32 +02:00
Massimiliano Assante 7c2c755e6f added -SNAPSHOT 2020-06-25 10:07:49 +02:00
Massimiliano Assante 2b5733d6ff fixed wrong method name call 2020-06-24 12:02:48 +02:00
Massimiliano Assante 02cc26dacb Merge pull request 'Porting of OIDC related modifications' (#1) from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2020-06-24 11:55:07 +02:00
Mauro Mugnaini b156114d3d Changed the proxy class name and renamed packages from com.nubisware.* to org.gcube.* 2020-06-18 12:32:03 +02:00
Mauro Mugnaini ee7a088be2 Beta version 2020-05-29 13:06:55 +02:00
Massimiliano Assante 40fdbe773f removed -Snapshot 2020-03-26 11:03:47 +01:00
Massimiliano Assante 49c9171de7 removed deprecated readme and license 2020-03-26 10:55:27 +01:00
Massimiliano Assante 452d7a0bbb Small fix which checks if the current Liferay Site is a valid context 2020-03-26 10:53:47 +01:00
Massimiliano Assante ccac1fb7c4 added readme 2020-03-26 10:46:35 +01:00
Massimiliano Assante 0dc63acf9f first import to git 2020-03-26 10:46:24 +01:00
Massimiliano Assante efdc5eb4b1 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@183892 82a268e6-3cf1-43bd-a215-b396298e98cf 2020-03-26 08:52:37 +00:00