From b596eb63eda64a127f05d99dbe773151ae0fd6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Fri, 30 Jan 2009 08:54:39 +0000 Subject: [PATCH] Add a log warning when signature in document do not have a valid message digest git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1215 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/Metadata/SAMLParser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/SimpleSAML/Metadata/SAMLParser.php b/lib/SimpleSAML/Metadata/SAMLParser.php index b8f082c11..dfcd11ddd 100644 --- a/lib/SimpleSAML/Metadata/SAMLParser.php +++ b/lib/SimpleSAML/Metadata/SAMLParser.php @@ -331,6 +331,8 @@ class SimpleSAML_Metadata_SAMLParser { try { $entitiesValidator = new SimpleSAML_XML_Validator($element, 'ID'); } catch(Exception $e) { + SimpleSAML_Logger::warning('SAMLParser: Error creating XML Signature validator for XML document: ' . + $e->getMessage()); $entitiesValidator = NULL; } } -- GitLab