[java-oidc-common] branch main updated: JCOMOIDC-115 - Update Nimbus oauth2-oidc-sdk into 10.15
Henri Mikkonen
henri.mikkonen at iki.fi
Fri Aug 30 16:49:39 UTC 2024
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=d1bf4b10591073b08c983bf269176aa336cdf295
The following commit(s) were added to refs/heads/main by this push:
new d1bf4b1 JCOMOIDC-115 - Update Nimbus oauth2-oidc-sdk into 10.15
d1bf4b1 is described below
commit d1bf4b10591073b08c983bf269176aa336cdf295
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Aug 30 18:43:32 2024 +0300
JCOMOIDC-115 - Update Nimbus oauth2-oidc-sdk into 10.15
https://shibboleth.atlassian.net/browse/JCOMOIDC-115
- oauth2-oidc-sdk version into 10.15 (the latest v10)
- nimbus-jose-jwt version into 9.40 (the latest)
---
.../java/net/shibboleth/oidc/profile/messaging/JSONErrorResponse.java | 2 +-
.../net/shibboleth/oidc/profile/messaging/JSONSuccessResponse.java | 2 +-
.../oidc/profile/impl/FormOutboundKeySetResponseMessageTest.java | 2 +-
pom.xml | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONErrorResponse.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONErrorResponse.java
index cb9ffc7..5d5bc7a 100644
--- a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONErrorResponse.java
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONErrorResponse.java
@@ -102,7 +102,7 @@ public class JSONErrorResponse implements ErrorResponse {
if (pragma != null) {
httpResponse.setPragma(pragma);
}
- httpResponse.setBody(getContent());
+ httpResponse.setContent(getContent());
return httpResponse;
}
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONSuccessResponse.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONSuccessResponse.java
index 6bbbce3..2bf996b 100644
--- a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONSuccessResponse.java
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/messaging/JSONSuccessResponse.java
@@ -94,7 +94,7 @@ public class JSONSuccessResponse implements SuccessResponse {
if (pragma != null) {
httpResponse.setPragma(pragma);
}
- httpResponse.setBody(content.toJSONString());
+ httpResponse.setContent(content.toJSONString());
return httpResponse;
}
}
diff --git a/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/impl/FormOutboundKeySetResponseMessageTest.java b/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/impl/FormOutboundKeySetResponseMessageTest.java
index cf77b04..ccf63a9 100644
--- a/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/impl/FormOutboundKeySetResponseMessageTest.java
+++ b/oidc-common-profile-impl/src/test/java/net/shibboleth/oidc/profile/impl/FormOutboundKeySetResponseMessageTest.java
@@ -131,7 +131,7 @@ public class FormOutboundKeySetResponseMessageTest {
final JSONSuccessResponse resp =
(JSONSuccessResponse) profileRequestCtx.ensureOutboundMessageContext().ensureMessage();
Assert.assertTrue(resp.indicatesSuccess());
- final JSONObject keyset = resp.toHTTPResponse().getBodyAsJSONObject();
+ final JSONObject keyset = resp.toHTTPResponse().getContentAsJSONObject();
final JSONArray keys = (JSONArray) keyset.get("keys");
//The test for content could be more thorough
Assert.assertEquals(keys.size(), 3);
diff --git a/pom.xml b/pom.xml
index f7ee62a..7edd820 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,8 +48,8 @@
<shib-metadata.version>5.0.0</shib-metadata.version>
<opensaml.groupId>org.opensaml</opensaml.groupId>
<opensaml.version>5.0.0</opensaml.version>
- <nimbus-jose-jwt.version>9.39.1</nimbus-jose-jwt.version>
- <oauth2-oidc-sdk.version>11.11</oauth2-oidc-sdk.version>
+ <nimbus-jose-jwt.version>9.40</nimbus-jose-jwt.version>
+ <oauth2-oidc-sdk.version>10.15</oauth2-oidc-sdk.version>
<json.smart.version>2.5.1</json.smart.version>
<accessors.smart.version>1.2</accessors.smart.version>
<nimbus.lang.tag.version>1.7</nimbus.lang.tag.version>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list