OPENDJ-3202: Rest2ldap gateway configuration file: 'root' is hard-coded
for basic authentication.
root ldap connection factory is mandatory and cannot be renamed. The fix
generate a user-friendly error message if this root connection factory
is missing from the config file.
| | |
| | | } |
| | | |
| | | private void configureConnectionFactories(final JsonValue config) { |
| | | // Make sure that the mandatory root connection factory exists (used to perform the proxy-authz operations). |
| | | config.get(DEFAULT_ROOT_FACTORY).required(); |
| | | connectionFactories.clear(); |
| | | for (String name : config.keys()) { |
| | | connectionFactories |