Commit Graph

36 Commits

Author SHA1 Message Date
Mauro Mugnaini 512aa043db Check for negatives groups id (returned for a not existing group) added. Solves issue #24831 2023-03-23 12:54:43 +01:00
Mauro Mugnaini aba5f0b01b Check for negatives groups id (returned for a not existing group) added. Solves issue #24831 2023-03-23 12:34:38 +01:00
Mauro Mugnaini 0182c41ec0 Definitively removed the `UMATokensProvider` class since is no more useful to anyone 2021-06-07 11:42:03 +02:00
Mauro Mugnaini 664ea7b34c Removed errors to let the lib to build again 2021-06-07 11:26:14 +02:00
Mauro Mugnaini 443a529cf7 Temporary add error to prevent new compilations 2021-05-27 12:07:36 +02:00
Mauro Mugnaini be4d105190 Changed visibilty of helper method to provide tokens in threadlocal to public 2021-05-25 09:49:30 +02:00
Mauro Mugnaini 5407b79e9a The `UMATokensProvider` (formerly `UmaJWTProvider`) is now in this lib and new provider from common library (`AccessTokenProvider`) is used to transport the `access-token` only to the client lib 2021-05-24 19:06:52 +02:00
Mauro Mugnaini 00dc6538a9 New utility method to access the `access-token` string 2021-05-24 18:45:20 +02:00
Mauro Mugnaini cc3f2ba652 Moved from UmaJWTProvider in `common-authorization` for intra-portal use only 2021-05-24 17:43:38 +02:00
Mauro Mugnaini 51677353b0 Calling directly the right method with session parameter since it is visible in intra-class calls 2021-04-29 19:30:17 +02:00
Mauro Mugnaini bef2410aa4 New methods exposed to issue a temporary UMA/RPT token to the OIDC server and some exceptions classes related to inreresting cases 2021-03-30 19:50:57 +02:00
Mauro Mugnaini b09f9509d5 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 11:42:21 +01:00
Mauro Mugnaini 2e84e960b8 Logs message changed from info to debug 2021-03-17 11:41:43 +01:00
Mauro Mugnaini db8887e3b1 Use extracted new convenience method for Role existance check by string 2021-01-27 19:36:42 +01:00
Mauro Mugnaini 874d91537b An (I think) interesting log message added and one fixed using variable 2021-01-27 18:47:46 +01:00
Mauro Mugnaini 14fbdd6fcf Ignoring non d4s roles when removing from user 2021-01-27 17:04:45 +01:00
Mauro Mugnaini 84531d5f8e Changed the log level of the config to debug and masked secret with '*' 2021-01-26 15:57:29 +01:00
Mauro Mugnaini 79c025fdeb Marked as deprecated all utils methods for session objects get/set (#20445) 2021-01-20 01:00:52 +01:00
Mauro Mugnaini e1dd978a10 New version with mutex and session id used in place of session object 2021-01-19 18:16:52 +01:00
Mauro Mugnaini 13dcfe2a0e Revised version that uses strings instead of object in map for comparison 2021-01-19 18:16:16 +01:00
Mauro Mugnaini ffccf37c06 Method to remove both tokens from session added 2020-12-21 17:58:36 +01:00
Mauro Mugnaini cac9ba8f33 Added logger and method to remove all tokens relted to a user (usefull for the logout) 2020-12-21 17:58:03 +01:00
Mauro Mugnaini 59b44aabae Rewrote the implementation by using a Map of Maps 2020-12-21 17:57:06 +01:00
Mauro Mugnaini 58f154f6d8 Added avatar URL setting (#19726) 2020-08-12 20:14:04 +02:00
Mauro Mugnaini bb7c32faae Rationalized logs 2020-07-03 17:32:48 +02:00
Mauro Mugnaini 2475ee6f00 Renamed classes and harmonized method names 2020-07-03 17:32:39 +02:00
Mauro Mugnaini db2fd773ed Exra CR rmoved 2020-06-29 16:23:51 +02:00
Mauro Mugnaini 00f049e4f9 Now root VO name string is used instead of group object 2020-06-18 12:12:59 +02:00
Mauro Mugnaini c9a7657fec Renamed packages from com.nubisware.* to org.gcube.* 2020-06-18 12:12:00 +02:00
Mauro Mugnaini 57b495af18 OIDC UMA util class to set infrastructure manager token in the thread local object 2020-06-18 12:11:44 +02:00
Mauro Mugnaini 530637d2de Added some methods to clear caches 2020-06-18 12:10:43 +02:00
Mauro Mugnaini 6c6f896b77 New portal client to be used as infrastructure manager actor and URL objects are sused instead of strings for endpoints 2020-06-18 12:09:45 +02:00
Mauro Mugnaini b84297de79 Renamed packages from com.nubisware.* to org.gcube.* 2020-06-18 10:59:48 +02:00
Mauro Mugnaini 9d58dd475e Fixed NPE when user not belongs to any context 2020-05-29 15:47:51 +02:00
Mauro Mugnaini 8989c927c0 Beta version 2020-05-29 13:04:55 +02:00
Mauro Mugnaini e5ab4acec1 Intial GIT commit 2020-05-21 15:47:45 +02:00