fixes #3207: corrects reading of configuration options

This commit is contained in:
Oliver Goldschmidt
2021-03-25 12:36:17 +01:00
parent e1478f6fdd
commit 2d069b019a

View File

@@ -681,7 +681,7 @@ public class LDAPAuthentication
if (StringUtils.isNotBlank(dn)) { if (StringUtils.isNotBlank(dn)) {
System.out.println("dn:" + dn); System.out.println("dn:" + dn);
int i = 1; int i = 1;
String groupMap = configurationService.getProperty("authentication-ldap", "login.groupmap." + i); String groupMap = configurationService.getProperty("authentication-ldap.login.groupmap." + i);
boolean cmp; boolean cmp;
@@ -721,7 +721,7 @@ public class LDAPAuthentication
} }
} }
groupMap = configurationService.getProperty("authentication-ldap", "login.groupmap." + ++i); groupMap = configurationService.getProperty("authentication-ldap.login.groupmap." + ++i);
} }
} }
} }