[java-xmltooling COMMIT] /branches/REL_1/src/main/java/org/opensaml/xml/signature/SignatureValidator.java

noreply at shibboleth.net noreply at shibboleth.net
Mon Dec 15 20:39:25 EST 2014


Author: putmanb
Date: Mon Dec 15 20:39:25 2014
New Revision: 844

URL: http://svn.shibboleth.net/view/java-xmltooling?rev=844&view=rev
Log:
(backport) OSJ-97: Better log and exception message text from SignatureValidator on failure

Modified:
    branches/REL_1/src/main/java/org/opensaml/xml/signature/SignatureValidator.java

Modified: branches/REL_1/src/main/java/org/opensaml/xml/signature/SignatureValidator.java
URL: http://svn.shibboleth.net/view/java-xmltooling/branches/REL_1/src/main/java/org/opensaml/xml/signature/SignatureValidator.java?rev=844&r1=843&r2=844&view=diff
==============================================================================
--- branches/REL_1/src/main/java/org/opensaml/xml/signature/SignatureValidator.java (original)
+++ branches/REL_1/src/main/java/org/opensaml/xml/signature/SignatureValidator.java Mon Dec 15 20:39:25 2014
@@ -74,9 +74,9 @@
             throw new ValidationException("Unable to evaluate key against signature", e);
         }
 
-        log.debug("Signature did not validate against the credential's key");
+        log.debug("Signature cryptographic validation not successful");
 
-        throw new ValidationException("Signature did not validate against the credential's key");
+        throw new ValidationException("Signature cryptographic validation not successful");
     }
 
     /**



More information about the commits mailing list