[java-opensaml] branch main updated: OSJ-383: Signature failures log WARN for Redirect binding ...

Brent Putman putmanb at georgetown.edu
Thu Jul 20 03:19:54 UTC 2023


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

putmanb pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=7c97e46140be2242db02d416017e6e03d1a2eac3

The following commit(s) were added to refs/heads/main by this push:
     new 7c97e4614 OSJ-383: Signature failures log WARN for Redirect binding ...
7c97e4614 is described below

commit 7c97e46140be2242db02d416017e6e03d1a2eac3
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Jul 19 23:17:50 2023 -0400

    OSJ-383: Signature failures log WARN for Redirect binding ...
    
    Signature failures log WARN for Redirect binding but DEBUG for POST
    binding.
---
 .../security/impl/SAMLProtocolMessageXMLSignatureSecurityHandler.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/security/impl/SAMLProtocolMessageXMLSignatureSecurityHandler.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/security/impl/SAMLProtocolMessageXMLSignatureSecurityHandler.java
index cee2a8472..e797fd00b 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/security/impl/SAMLProtocolMessageXMLSignatureSecurityHandler.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/common/binding/security/impl/SAMLProtocolMessageXMLSignatureSecurityHandler.java
@@ -142,8 +142,7 @@ public class SAMLProtocolMessageXMLSignatureSecurityHandler extends BaseSAMLXMLS
                     peerContext.setAuthenticated(true);
                 }
             } else {
-                log.debug(
-                        "{} Validation of protocol message signature failed for context issuer '{}', message type: {}",
+                log.warn("{} Validation of protocol message signature failed for context issuer '{}', message type: {}",
                         getLogPrefix(), contextEntityID, msgType);
                 throw new MessageHandlerException("Validation of protocol message signature failed");
             }

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


More information about the commits mailing list