aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-ldap/src/test
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2019-12-05 11:01:07 +0100
committerSonarTech <sonartech@sonarsource.com>2019-12-05 20:46:09 +0100
commit86b588f7038e02445b19dc0fb087a09985ee4428 (patch)
tree74268cc4c37d53e812409518ba62856c8a69b197 /server/sonar-auth-ldap/src/test
parent5903d90c057cf58c17e32b4c5c20f87dd8e4f452 (diff)
downloadsonarqube-86b588f7038e02445b19dc0fb087a09985ee4428.tar.gz
sonarqube-86b588f7038e02445b19dc0fb087a09985ee4428.zip
SONAR-12772 Remove deprecated ldap.group.objectClass and ldap. group.memberAttribute
Diffstat (limited to 'server/sonar-auth-ldap/src/test')
-rw-r--r--server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java b/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java
index 5a9acab0469..a2b7cea6bed 100644
--- a/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java
+++ b/server/sonar-auth-ldap/src/test/java/org/sonar/auth/ldap/LdapGroupMappingTest.java
@@ -43,16 +43,6 @@ public class LdapGroupMappingTest {
}
@Test
- public void backward_compatibility() {
- MapSettings settings = new MapSettings()
- .setProperty("ldap.group.objectClass", "group")
- .setProperty("ldap.group.memberAttribute", "member");
- LdapGroupMapping groupMapping = new LdapGroupMapping(settings, "ldap");
-
- assertThat(groupMapping.getRequest()).isEqualTo("(&(objectClass=group)(member={0}))");
- }
-
- @Test
public void custom_request() {
MapSettings settings = new MapSettings()
.setProperty("ldap.group.request", "(&(|(objectClass=posixGroup)(objectClass=groupOfUniqueNames))(|(memberUid={uid})(uniqueMember={dn})))");