Commit Graph

75 Commits

Author SHA1 Message Date
Mauro Mugnaini 96b2489fbe
Moved to liferay's portal `Log` class from `slf4j` to be configurable from portal admin 2024-11-12 12:14:35 +01:00
Mauro Mugnaini 3eaf89964e
Changed OIDC/UMA refreshing errors log to DEBUG to avoid logs flood (#27536) 2024-11-12 11:52:56 +01:00
Giancarlo Panichi 5cd951d641 Update CHANGELOG.md 2024-11-05 11:51:32 +01:00
Giancarlo Panichi 751ea88bef Update pom.xml 2024-11-05 11:47:51 +01:00
Mauro Mugnaini f42e4e78e3 Ready to release `v1.4.0` 2024-09-30 12:06:41 +02:00
Mauro Mugnaini c016d98d8b Some eclipse files changed 2024-09-27 17:00:41 +02:00
Mauro Mugnaini 7d441fb7be
Added missing `v` in the version tag in changelog 2024-06-05 10:43:18 +02:00
Mauro Mugnaini 58eca668ef
Added some info about user to error logs 2024-06-05 10:33:13 +02:00
Mauro Mugnaini 00ced51db5
New handling for missing refresh token and refresh token expired in OIDC token when refreshing it.
Changed OIDC related exceptions: the cause exception can be an `OpenIdConnectRESTHelperException` only.
2024-06-04 16:57:55 +02:00
Mauro Mugnaini 25914adb2e Ready to be released 2023-04-18 11:27:56 +02:00
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 b27d62a862 Missing 'v' in changelog entry, added 2023-03-23 12:36:53 +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 a107f6b54e Updated `maven-portal-bom` to last version: 3.6.3 2021-06-24 18:25:51 +02:00
Mauro Mugnaini f1859341f9 Fixed reference to released `portal-bom` instead of `-snapshot` 2021-06-22 12:50:04 +02:00
Mauro Mugnaini ac162944e0 [v1.3.1] Library release 2021-06-22 10:17:11 +02: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 a143ee99a2 Temporary add error to prevent new compilations 2021-05-27 12:04:05 +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 b54c49527c Updated to version 1.3.1-SNAPSHOT and aligned to the new portal BOM 3.6.2-SNAPSHOT 2021-05-24 18:44:31 +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 f1e32127a8 Releasing v1.3.0 2021-04-12 19:28:40 +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 5580b20923 Prepared for new 1.3.0 version 2021-03-17 11:41:28 +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 c7ac2df206 Release of the 1.2.0 version 2021-01-20 11:48:00 +01:00
Mauro Mugnaini ef0e90e3e4 Ready for the 1.2.0-SNAPSHOT version 2021-01-20 01:01:08 +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 72230995e6 Missing SCM section added to POM 2020-11-24 17:31:03 +01:00
Mauro Mugnaini ebed544d0a Prepared for the Next release 2020-11-20 13:08:36 +01:00
Mauro Mugnaini 35d7b1c0e0 Aligned to new templates 2020-08-13 18:28:41 +02:00
Mauro Mugnaini 58f154f6d8 Added avatar URL setting (#19726) 2020-08-12 20:14:04 +02:00
Mauro Mugnaini 06f1a551e7 Removed provided scopes 2020-07-23 11:23:52 +02:00
Mauro Mugnaini 7b35668c1f Updated to follow ner rules for gcube templated project in Jenkins 2020-07-16 16:20:00 +02:00
Mauro Mugnaini fbc5c3197c No more required 2020-07-16 16:19:52 +02:00