[java-identity-provider] branch main updated: Tweak JVM trust exception message.

Scott Cantor cantor.2 at osu.edu
Thu Nov 4 21:26:59 UTC 2021


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

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=7de7bae41f3341a35d1d655da23a545639fc2c80

The following commit(s) were added to refs/heads/main by this push:
     new 7de7bae41 Tweak JVM trust exception message.
7de7bae41 is described below

commit 7de7bae41f3341a35d1d655da23a545639fc2c80
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Nov 4 17:26:52 2021 -0400

    Tweak JVM trust exception message.
---
 .../idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java
index 1143d71e0..68b829ff0 100644
--- a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/ldap/impl/LDAPDataConnector.java
@@ -182,8 +182,8 @@ public class LDAPDataConnector extends AbstractSearchDataConnector<ExecutableSea
                         sslConfig.getCredentialConfig().createSSLContextInitializer() : null;
                     if (cxtInit instanceof X509SSLContextInitializer) {
                         if (((X509SSLContextInitializer) cxtInit).getTrustCertificates() == null) {
-                            throw new ComponentInitializationException("Cannot use the default JVM trust store for "+
-                                    getLogPrefix());
+                            throw new ComponentInitializationException(getLogPrefix() +
+                                    ": Use of default JVM trust store not supported");
                         }
                     }
                 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list