Commit Graph

12 Commits

Author SHA1 Message Date
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 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 446286b77a Screenname is the OIDC user's username (if provided) for new users 2020-07-01 19:35:20 +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