| | |
| | | |
| | | import java.io.File; |
| | | import java.io.FileReader; |
| | | import java.util.Map; |
| | | |
| | | import org.forgerock.http.Context; |
| | | import org.forgerock.http.Handler; |
| | |
| | | try |
| | | { |
| | | final File configFile = getFileForPath(connectionHandler.getCurrentConfig().getConfigFile()); |
| | | final Map<String, Object> jsonElems = Json.readJsonLenient(new FileReader(configFile)); |
| | | final Object jsonElems = Json.readJsonLenient(new FileReader(configFile)); |
| | | final JsonValue configuration = new JsonValue(jsonElems).recordKeyAccesses(); |
| | | handler = new LdapHttpHandler(configuration); |
| | | filter = new CollectClientConnectionsFilter(connectionHandler, getAuthenticationConfig(configuration)); |