diff options
author | Antoine Vigneau <antoine.vigneau@sonarsource.com> | 2023-11-13 13:59:57 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-11-13 20:02:32 +0000 |
commit | 081fbbc6d906b6eebb9098ee0a925a11d5bd6029 (patch) | |
tree | 639022019346bcb026805d5cbb31660d4f1b9583 /sonar-testing-ldap/src | |
parent | 46e2b86bd834658de555c3e64bef150909f3e9dc (diff) | |
download | sonarqube-081fbbc6d906b6eebb9098ee0a925a11d5bd6029.tar.gz sonarqube-081fbbc6d906b6eebb9098ee0a925a11d5bd6029.zip |
NOJIRA Fix a code smell
Diffstat (limited to 'sonar-testing-ldap/src')
-rw-r--r-- | sonar-testing-ldap/src/main/java/org/sonar/ldap/ApacheDS.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-ldap/src/main/java/org/sonar/ldap/ApacheDS.java b/sonar-testing-ldap/src/main/java/org/sonar/ldap/ApacheDS.java index 9aa94d31483..184ffb616ec 100644 --- a/sonar-testing-ldap/src/main/java/org/sonar/ldap/ApacheDS.java +++ b/sonar-testing-ldap/src/main/java/org/sonar/ldap/ApacheDS.java @@ -186,7 +186,7 @@ public final class ApacheDS { mechanismHandlerMap.put(SupportedSaslMechanisms.GSSAPI, new GssapiMechanismHandler()); ldapServer.setSaslMechanismHandlers(mechanismHandlerMap); - ldapServer.setSaslHost("localhost"); + ldapServer.setSaslHost(HOSTNAME_LOCALHOST); ldapServer.setSaslRealms(Collections.singletonList(realm)); // TODO ldapServer.setSaslPrincipal(); // The base DN containing users that can be SASL authenticated. |