[java-plugin-shibd-saml] branch main updated: Fix a null bug, add some logging.

Codeberg noreply at shibboleth.net
Tue Jun 2 12:57:43 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-plugin-shibd-saml.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/26e9d3da3e2e6d554169420abc9287e701dbed47

The following commit(s) were added to refs/heads/main by this push:
     new 26e9d3d  Fix a null bug, add some logging.
26e9d3d is described below

commit 26e9d3da3e2e6d554169420abc9287e701dbed47
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Jun 2 08:57:06 2026 -0400

    Fix a null bug, add some logging.
---
 .../net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutResponse.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutResponse.java b/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutResponse.java
index d63c925..237b112 100644
--- a/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutResponse.java
+++ b/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddLogoutResponse.java
@@ -252,9 +252,12 @@ public class AddLogoutResponse extends AbstractApplicationAction {
         final StatusCode code = codeBuilder.buildObject();
         
         final DDF input = ensureAgentRequestContext().getInput();
-        if (input != null && input.getmember(ConsumerConstants.SUCCESS_PARAM).integer() == 1) {
+        final Integer success = input != null ? input.getmember(ConsumerConstants.SUCCESS_PARAM).integer() : null; 
+        if (success != null && success == 1) {
+            log.debug("{} Setting successful status", getLogPrefix());
             code.setValue(StatusCode.SUCCESS);
         } else {
+            log.debug("{} Setting failed status", getLogPrefix());
             code.setValue(StatusCode.RESPONDER);
         }
         

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


More information about the commits mailing list