You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by co...@apache.org on 2018/04/17 14:04:51 UTC
[camel] branch master updated: Grammatical correction
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new dc7057c Grammatical correction
dc7057c is described below
commit dc7057c175e11b896066c9c0f5a67051474ec8b5
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Apr 17 15:04:23 2018 +0100
Grammatical correction
---
.../component/xmlsecurity/api/DefaultValidationFailedHandler.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultValidationFailedHandler.java b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultValidationFailedHandler.java
index 4dd579a..87dee42 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultValidationFailedHandler.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/DefaultValidationFailedHandler.java
@@ -47,14 +47,14 @@ public class DefaultValidationFailedHandler implements ValidationFailedHandler {
@Override
public void signatureValueValidationFailed(SignatureValue value) throws Exception { //NOPMD
- error.append("The signature value could not be validated by the public key. Either the message has been tampered or the public key is not correct.");
+ error.append("The signature value could not be validated by the public key. Either the message has been tampered with or the public key is not correct.");
throw new XmlSignatureInvalidValueException(error.toString());
}
@Override
public void referenceValidationFailed(Reference ref) throws Exception { //NOPMD
error.append(String
- .format("The calculated digest value of the document %s is not equal to the value specified in the XML signature. The document may have been tampered.",
+ .format("The calculated digest value of the document %s is not equal to the value specified in the XML signature. The document may have been tampered with.",
getReferenceUriOrId(ref)));
throw new XmlSignatureInvalidContentHashException(error.toString());
}
@@ -62,7 +62,7 @@ public class DefaultValidationFailedHandler implements ValidationFailedHandler {
@Override
public void manifestReferenceValidationFailed(Reference ref) throws Exception { //NOPMD
error.append(String
- .format("The calculated digest value of the manifest %s is not equal to the value specified in the XML signature. The document may have been tampered.",
+ .format("The calculated digest value of the manifest %s is not equal to the value specified in the XML signature. The document may have been tampered with.",
getReferenceUriOrId(ref)));
throw new XmlSignatureInvalidContentHashException(error.toString());
}
--
To stop receiving notification emails like this one, please contact
coheigea@apache.org.