Commit Graph

63 Commits

Author SHA1 Message Date
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
Mauro Mugnaini 9aafc0d289 Using azp field (if present) also in logout 2020-06-30 13:57:41 +02:00
Mauro Mugnaini d6362f0cb5 New version with micro 2020-06-30 12:57:03 +02:00
Mauro Mugnaini cb05b4a63b Authorized party field is used first refresshing the token if clientId is not provided 2020-06-30 12:47:30 +02:00
Mauro Mugnaini c8e2a30489 Added getter for authorized party field (azp) 2020-06-30 12:46:45 +02:00
Mauro Mugnaini a8f328cf56 "exp" field was wrongly returned as string instead of Long 2020-06-29 16:43:16 +02:00
Mauro Mugnaini 65e2882c2f Refactoring of common code and new mthods to get "refreshed" token 2020-06-29 16:22:51 +02:00
Mauro Mugnaini 10806e57cb Typo fixed 2020-06-26 18:15:05 +02:00
Mauro Mugnaini faf59e9d00 Now mapping is fault tollerant to support all kind of clients 2020-06-26 18:10:27 +02:00
Mauro Mugnaini db882bd0bf Request method declaration fixed and some logs added 2020-06-26 18:09:36 +02:00
Mauro Mugnaini 35cf56a086 Trying build with snapshot as suffix for minor version 2020-06-22 10:48:12 +02:00
Mauro Mugnaini af354369a0 Added missing CI description/helper files 2020-06-22 10:47:39 +02:00