Commit Graph

20 Commits

Author SHA1 Message Date
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
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
Mauro Mugnaini fa407f471a Forced refresh of access token when current scope changes 2020-12-16 15:53:26 +01: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
Massimiliano Assante 2b5733d6ff fixed wrong method name call 2020-06-24 12:02:48 +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 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
Massimiliano Assante 74dd7b1637 added method to generate token only if it doesnt exists
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134277 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 10:19:01 +00:00
Massimiliano Assante 7dca141d2f git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134209 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-11-15 16:42:45 +00:00
Massimiliano Assante dad4c8beb0 removed ASL Session, ported to gCube Client Context
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134194 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-15 14:25:11 +00:00
Massimiliano Assante 056e9adfca removed ASL Session, ported to gCube Client Context
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134185 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-15 13:46:42 +00:00
Massimiliano Assante 800f06bb34 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134128 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-11-14 16:32:21 +00:00
Massimiliano Assante e1dbad90dd added client scope injection
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134101 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 17:36:09 +00:00
Massimiliano Assante f7d01c61af updated to read the header request params for context and set the token and scope in the thread local
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134040 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-10 14:10:01 +00:00
Massimiliano Assante 7d482444cc ported to tomcat catalina 7
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@129332 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-23 10:14:31 +00:00
Massimiliano Assante 082332da5d git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@128410 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-05-02 16:34:19 +00:00
Massimiliano Assante 89be62e437 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@128403 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-05-02 14:52:47 +00:00