[java-oidc-common] branch maint-3.4 updated: JCOMOIDC-197 - JSONErrorResponse returns true for indicatesSuccess

Codeberg noreply at shibboleth.net
Fri Nov 27 12:51:52 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch maint-3.4
in repository java-oidc-common.

View the commit online:
https://codeberg.org/Shibboleth/java-oidc-common/commit/a48395ec648692949c190e3de8abdb7c84a74ff8

The following commit(s) were added to refs/heads/maint-3.4 by this push:
     new a48395ec JCOMOIDC-197 - JSONErrorResponse returns true for indicatesSuccess
a48395ec is described below

commit a48395ec648692949c190e3de8abdb7c84a74ff8
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Nov 27 12:51:15 2026 +0000

    JCOMOIDC-197 - JSONErrorResponse returns true for indicatesSuccess
    
     - revert method for Nimbus compatibility
    
    https://shibboleth.atlassian.net/browse/JCOMOIDC-197
---
 .../java/net/shibboleth/oidc/profile/messaging/JSONErrorResponse.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 63f06c2e..8b683e78 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
@@ -101,7 +101,7 @@ public class JSONErrorResponse implements ErrorResponse {
         if (pragma != null) {
             httpResponse.setPragma(pragma);
         }
-        httpResponse.setBody(getContent());
+        httpResponse.setContent(getContent());
         return httpResponse;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list