[java-identity-provider] branch master updated: Deprecate JVM trust in LDAP connector.

Scott Cantor cantor.2 at osu.edu
Fri Aug 25 10:08:14 EDT 2017


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  035d370   Deprecate JVM trust in LDAP connector.
035d370 is described below

commit 035d370e13f50c9020b6719fdf46793cc97d982a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Aug 25 10:08:14 2017 -0400

    Deprecate JVM trust in LDAP connector.
---
 .../resolver/spring/dc/ldap/impl/LDAPDataConnectorParser.java          | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/ldap/impl/LDAPDataConnectorParser.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/ldap/impl/LDAPDataConnectorParser.java
index 5eef8b3..bcb5b71 100644
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/ldap/impl/LDAPDataConnectorParser.java
+++ b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/dc/ldap/impl/LDAPDataConnectorParser.java
@@ -373,6 +373,9 @@ public class LDAPDataConnectorParser extends AbstractWarningDataConnectorParser
                 }
                 result.addPropertyValue("trustCredential",
                         SpringSupport.parseCustomElements(trustElements, parserContext).get(0));
+            } else {
+                DeprecationSupport.warn(ObjectType.CONFIGURATION, "Use of default JVM trust store", logPrefix,
+                        "trustFile attribute");
             }
 
             final List<Element> authElements =

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


More information about the commits mailing list