[java-identity-provider] 03/03: Tweak JVM trust exception message.
Scott Cantor
cantor.2 at osu.edu
Fri Dec 17 18:42:24 UTC 2021
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch maint-4.1
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=db494a229516b28968d53d117f62fa94054e2d61
commit db494a229516b28968d53d117f62fa94054e2d61
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