Commit Graph

74 Commits

Author SHA1 Message Date
Mauro Mugnaini ccce7944ee
Moved from `maven-portal-bom` to `gcube-bom` 2024-05-08 13:56:23 +02:00
Mauro Mugnaini 83041827c4
Releasing `v1.3.2` 2024-04-24 10:59:46 +02:00
Mauro Mugnaini 098bfc9fef
Removed `permission` list from exchange method signature and improved it adding also `refresh-token` as requested token type and `offline_access` scope. Added also extra headers support for all the token methods. 2024-03-27 18:43:21 +01:00
Mauro Mugnaini 6da3a9f55a
Moved to `maven-portal-bom` `v3.7.0` and `openjdk11` 2024-03-26 11:40:54 +01:00
Mauro Mugnaini ed5ea15599 Merge pull request 'Porting `token_exchange` branch to `master`' (!1) from token_exchange into master
Reviewed-on: #1
2024-03-26 11:34:35 +01:00
Alfredo Oliviero 33a22f9448 rimosso header 2024-03-25 15:50:45 +01:00
Alfredo Oliviero 7c1597d479 Token exchange (#27099)
Header X-D4Science-Context in query exchange and refresh

- performQueryTokenWithPOST accepts also optional headers
- performURLEncodedPOSTSendData accepts also optional headers
- implemented queryExchangeToken
2024-03-22 15:43:59 +01:00
Mauro Mugnaini fccbedb299 Release of new version with addition of new `Catalogue-Manager` and `Catalogue-Moderator` roles to the enum of known roles (#23623) 2022-07-07 16:17:28 +02:00
Mauro Mugnaini fea71c720c Added new `Catalogue-Manager` and `Catalogue-Moderator` roles to the enum (#23623) 2022-07-06 12:54:44 +02:00
Mauro Mugnaini bbcd35e14f Updated `maven-portal-bom` to last version: 3.6.3 2021-06-24 18:25:36 +02:00
Mauro Mugnaini a37cd40b99 Releasing v.1.3.0 2021-06-24 11:06:19 +02:00
Mauro Mugnaini bee9d59f22 Internally renamed variable `token` to `tokens` since the JSON helds more tah one token 2021-06-24 11:03:46 +02:00
Mauro Mugnaini 3c201dd6f0 Internally renamed variable `token` to `tokens` since the JSON helds more tah one token 2021-06-24 11:03:31 +02:00
Mauro Mugnaini 79c45245dd Transformed in unit test class 2021-05-06 17:52:08 +02:00
Mauro Mugnaini c5a9dca54c Now audience can be provided in both encoded and not encoded form (starts with "/" check is performed). Ugly test added. 2021-05-06 17:51:46 +02:00
Mauro Mugnaini 17e503c786 Added method to retrieve UMA token by using `clientId` and `clientSecret` in a specific `audience` (aka context, that must be in `URLEncoded` form) and Javadoc for all interesting methods 2021-05-06 17:15:10 +02:00
Mauro Mugnaini 527f04fb67 Prepared for the new 1.3.0 snapshot version. Moved to `test scope` some dependencies wronlgy set as `default scope` 2021-05-06 17:08:19 +02:00
Mauro Mugnaini abe7e42937 Releasing v1.2.1 2021-04-12 19:27:06 +02:00
Mauro Mugnaini 032168aed6 Fixed capitalized letter in title inside the README.md file 2021-03-23 16:21:59 +01:00
Mauro Mugnaini e82d2be4b9 added ticket reference 2021-03-17 19:12:10 +01:00
Mauro Mugnaini ac26a35417 Prepared for new 1.2.1 version 2021-03-17 11:38:49 +01:00
Mauro Mugnaini 7689b2238e Logs message changed from info to debug 2021-03-17 11:38:27 +01:00
Mauro Mugnaini 784896bda0 New "Data-Editor" role added 2021-03-17 11:37:44 +01:00
Mauro Mugnaini 2e0fb63ee6 Added convenience method to check Role existance by string 2021-01-27 19:35:13 +01:00
Mauro Mugnaini c75eb8af91 Simply ignoring resources that not start with slash ('/') and removed warn level log for it. 2021-01-27 17:09:15 +01:00
Mauro Mugnaini 1e48c3ce03 Release of the 1.1.2 version 2021-01-20 11:45:47 +01:00
Mauro Mugnaini 0a24b10c87 Ready for the 1.2.0-SNAPSHOT version 2021-01-20 00:58:23 +01:00
Mauro Mugnaini 35459bec6b Revised get avatar helper method 2021-01-20 00:58:02 +01:00
Mauro Mugnaini 8dc8f1d2a7 Added JTI value getter and essentials info dump in JWT 2021-01-20 00:57:49 +01:00
Mauro Mugnaini 200d47bb6a Site is now comparable. 2021-01-20 00:57:34 +01:00
Mauro Mugnaini 1fb2b2408e New checks for "invalid_grant" and "access_denied" error together with ""Token is not active"", "Invalid bearer token" and "not_authorized" descriptions 2021-01-11 16:04:18 +01:00
Mauro Mugnaini a8c38ee12e Disabled annoying log message 2021-01-11 16:03:02 +01:00
Mauro Mugnaini 38cb6ec47e Fixed typo in comment 2021-01-11 16:02:45 +01:00
Mauro Mugnaini 125f7d91df Added parsing of the response if is JSON and added specific exception to handle also this response 2020-12-21 18:00:08 +01:00
Mauro Mugnaini 977dcf4bc6 Missing SCM section added to POM 2020-11-24 17:30:36 +01:00
Mauro Mugnaini 22ad9b579c Removed test that fails 2020-11-24 12:47:06 +01:00
Mauro Mugnaini b443c27f1d Prepared for the Next release 2020-11-20 13:07:56 +01:00
Mauro Mugnaini 41ffb26bcd Some logs added and 404 not found status support added 2020-09-04 18:31:46 +02:00
Mauro Mugnaini 9335a80b5a Added JUnit dependency and test 2020-09-04 18:31:12 +02:00
Mauro Mugnaini 9dd3f3843e Added helper method for "Bearer token" direct use 2020-08-18 12:40:53 +02:00
Mauro Mugnaini bb3728c421 Added some log message to better debug and remove the exception raise 2020-08-13 20:47:37 +02:00
Mauro Mugnaini da8ed52808 Aligned to new templates 2020-08-13 18:28:15 +02:00
Mauro Mugnaini 71a017c721 Reintroduced wrongly removed (renamed) only `getAsBearer` method (as deprecated) to avoid dependents projects changes 2020-08-13 18:27:53 +02:00
Mauro Mugnaini 7e035d24c2 Added avatar settings and retrieve helper method (#19726) 2020-08-12 20:12:21 +02:00
Mauro Mugnaini 1536523d53 Updated to follow ner rules for gcube templated project in Jenkins 2020-07-16 16:23:55 +02:00
Mauro Mugnaini 1ec5eeda03 No more required 2020-07-16 16:23:43 +02:00
Mauro Mugnaini 5d49f1a6c1 -SNAPSHOT suffix removed too early 2020-07-07 11:56:11 +02:00
Mauro Mugnaini 367bc4c4e3 Release for 1.0.0 2020-07-07 10:47:41 +02:00
Mauro Mugnaini a647b68dd7 Snapshot release for 1.0.0 2020-07-07 10:07:31 +02:00
Mauro Mugnaini a80f07c759 Rationalized logs 2020-07-03 17:31:19 +02:00