KEYCLOAK-14766 - Removed setting default password for LDAPRule configuration

This commit is contained in:
Pavel Drozd 2021-03-03 06:01:39 +01:00 committed by Pavel Drozd
parent b122f31d2c
commit 8203c4451e

View file

@ -227,9 +227,6 @@ public class LDAPRule extends ExternalResource {
case VAULT_EXPRESSION: case VAULT_EXPRESSION:
config.put(LDAPConstants.BIND_CREDENTIAL, VAULT_EXPRESSION); config.put(LDAPConstants.BIND_CREDENTIAL, VAULT_EXPRESSION);
break; break;
default:
// Default to secret as the bind credential
config.put(LDAPConstants.BIND_CREDENTIAL, "secret");
} }
switch (defaultProperties.getProperty(LDAPEmbeddedServer.PROPERTY_ENABLE_ANONYMOUS_ACCESS)) { switch (defaultProperties.getProperty(LDAPEmbeddedServer.PROPERTY_ENABLE_ANONYMOUS_ACCESS)) {
case "true": case "true":