From 46e370e06c5f3b7f164168e2c97ec9869704bc55 Mon Sep 17 00:00:00 2001 From: Travis Tomsu Date: Fri, 18 Aug 2017 09:24:19 -0400 Subject: [PATCH] fix(ldap): Bump LDAP lib version (#198) --- fiat-ldap/fiat-ldap.gradle | 2 +- .../spinnaker/fiat/roles/ldap/LdapUserRolesProvider.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fiat-ldap/fiat-ldap.gradle b/fiat-ldap/fiat-ldap.gradle index 25c645bf3..14ecb7c2f 100644 --- a/fiat-ldap/fiat-ldap.gradle +++ b/fiat-ldap/fiat-ldap.gradle @@ -25,5 +25,5 @@ dependencies { compileOnly spinnaker.dependency("lombok") - compile "org.springframework.security:spring-security-ldap:3.2.9.RELEASE" + compile "org.springframework.security:spring-security-ldap:4.2.3.RELEASE" } diff --git a/fiat-ldap/src/main/java/com/netflix/spinnaker/fiat/roles/ldap/LdapUserRolesProvider.java b/fiat-ldap/src/main/java/com/netflix/spinnaker/fiat/roles/ldap/LdapUserRolesProvider.java index e334352ff..49ad7091c 100644 --- a/fiat-ldap/src/main/java/com/netflix/spinnaker/fiat/roles/ldap/LdapUserRolesProvider.java +++ b/fiat-ldap/src/main/java/com/netflix/spinnaker/fiat/roles/ldap/LdapUserRolesProvider.java @@ -28,7 +28,7 @@ import org.springframework.dao.IncorrectResultSizeDataAccessException; import org.springframework.ldap.core.DirContextOperations; import org.springframework.ldap.core.DistinguishedName; -import org.springframework.ldap.core.LdapEncoder; +import org.springframework.ldap.support.LdapEncoder; import org.springframework.security.ldap.LdapUtils; import org.springframework.security.ldap.SpringSecurityLdapTemplate; import org.springframework.stereotype.Component;