Commit Graph

30 Commits

Author SHA1 Message Date
Mauro Mugnaini 4f9061fd64 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-23 14:46:58 +01:00
Mauro Mugnaini bb43178b29 Log message typo fixed 2021-03-03 09:37:00 +01:00
Mauro Mugnaini 012a8e24e4 Now user reconciliation/identification from OIDC token after the login is performed no more checking by using the User's email address but the username field, the Liferay `screenname`. (#20827) (#20840) 2021-03-01 16:46:23 +01:00
Mauro Mugnaini e6c453e2bb Restored per-session token removal. Logs revised. (#20445) 2021-01-20 01:02:24 +01:00
Mauro Mugnaini b3f9d6cd24 Added some info of the user is about to create in the logs expecially for screen name (autogenerated or externally provided) 2021-01-12 14:41:50 +01:00
Mauro Mugnaini 8b458e4af7 Fixed typo in log message 2021-01-11 15:58:43 +01:00
Mauro Mugnaini 70431f83eb Updated to new cache proxy api and log typo fixed 2020-12-21 18:02:41 +01:00
Mauro Mugnaini 1f3e67a975 Try to use request object instead of session object to bring original requested URI to the post-login action 2020-11-09 16:02:39 +01:00
Mauro Mugnaini 3fdebddb7e Now avatar file format can be forced to be a specific format (default PNG) if needed (default ON) 2020-09-04 18:30:03 +02:00
Mauro Mugnaini 335197a072 Added try/catch arounf portrait save/delete operation to avoid CNFE for `com.sun.image.codec.jpeg.ImageFormatException`. 2020-08-18 12:18:03 +02:00
Mauro Mugnaini a75fa1d620 The exception is no more raised. A `null` byte array is returned instead 2020-08-13 20:48:52 +02:00
Mauro Mugnaini f272b680ed Added save and delete portrait log messages 2020-08-13 17:46:19 +02:00
Mauro Mugnaini 02ea26fc60 Using UserLocalServiceUtil to update the portrait to avoid `PrincipalException: PermissionChecker not initialized` 2020-08-13 17:42:50 +02:00
Mauro Mugnaini be44328ae2 Getting avatar in try catch block to avoid auto-login interruption when avatar is not found 2020-08-13 17:27:20 +02:00
Mauro Mugnaini 705b9129da Added avatar retrieve/update at every login (#19726) 2020-08-12 20:14:54 +02:00
Mauro Mugnaini 9007b09b9e Changed according to renamed classes method names 2020-07-03 18:37:22 +02:00
Mauro Mugnaini fad2ca8be0 Implemented redirect to reqeusted URI (last path) after login 2020-07-01 19:36:59 +02:00
Mauro Mugnaini 446286b77a Screenname is the OIDC user's username (if provided) for new users 2020-07-01 19:35:20 +02:00
Mauro Mugnaini 061962fa84 Performing logout using info inside the JWT token 2020-06-30 12:50:35 +02:00
Mauro Mugnaini 1ea97a6f10 OIDC token got from proxy cache on logout in order to have the last refrehed one 2020-06-29 16:26:09 +02:00
Mauro Mugnaini a02bc215a4 Removed wrong constant string use. 2020-06-29 16:25:46 +02:00
Mauro Mugnaini a892814d64 Changed the proxy class name 2020-06-18 12:30:35 +02:00
Mauro Mugnaini 2383ff9690 Renamed packages from com.nubisware.* to org.gcube.* 2020-06-18 12:30:00 +02:00
Mauro Mugnaini 646b714399 Now client id for the logout is took from the token itself since can be issued for new (dynamically) created gateways 2020-06-18 12:29:14 +02:00
Mauro Mugnaini 41262534b4 Renamed packages from com.nubisware.* to org.gcube.* 2020-06-18 12:27:52 +02:00
Mauro Mugnaini c1e5dce24a Example file to be used as template for deploy on a LR server instance 2020-06-18 12:24:49 +02:00
Mauro Mugnaini bb59776f2a Now request server name is used as clientId for OIDC authentication and packages renamed from com.nubisware.* to org.gcube.* 2020-06-18 12:21:36 +02:00
Mauro Mugnaini eb662eed3a Typo fixed and log level lowered 2020-05-29 15:02:25 +02:00
Mauro Mugnaini 0edbd88e8f Beta version 2020-05-29 13:03:07 +02:00
Mauro Mugnaini 3d8c926ccc Intial GIT commit 2020-05-21 15:48:12 +02:00