[java-opensaml] branch main updated: Tweak warning when no encryption key is found.
Scott Cantor
cantor.2 at osu.edu
Tue Jan 26 17:33:15 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor 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=4f3841fedc6eb1dbe12db180c87625d7cd5b454e
The following commit(s) were added to refs/heads/main by this push:
new 4f3841fed Tweak warning when no encryption key is found.
4f3841fed is described below
commit 4f3841fedc6eb1dbe12db180c87625d7cd5b454e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jan 26 12:33:13 2021 -0500
Tweak warning when no encryption key is found.
---
.../org/opensaml/xmlsec/impl/BasicEncryptionParametersResolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicEncryptionParametersResolver.java b/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicEncryptionParametersResolver.java
index 5d9a47dc9..2387b9e79 100644
--- a/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicEncryptionParametersResolver.java
+++ b/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicEncryptionParametersResolver.java
@@ -227,7 +227,7 @@ public class BasicEncryptionParametersResolver extends AbstractSecurityParameter
protected boolean validate(@Nonnull final EncryptionParameters params, final boolean encryptionOptional) {
if (params.getKeyTransportEncryptionCredential() == null
&& params.getDataEncryptionCredential() == null) {
- final String msg = "Validation failure: Failed to resolve both a data and a key encryption credential";
+ final String msg = "Validation failure: Failed to resolve an encryption key";
if (encryptionOptional) {
log.debug(msg);
} else {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list