[java-opensaml] 01/02: OSJ-383: Signature failures log WARN for Redirect binding ...

Brent Putman putmanb at georgetown.edu
Fri Mar 15 00:36:00 UTC 2024


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

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

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

commit 559583c18ba295c2c94634c347c7b9bb56ae7c25
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 a8ae11100..a5a1e3471 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
@@ -141,8 +141,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