OPENDJ-830 (CR-1505) Implement authentication and authorization for HTTP connection handler
Implemented authentication with a synchronous username search + bind.
To come next: asynchronous username search + bind.
HTTPAuthenticationConfig.java: ADDED
build.xml, ivy.xml:
Added some tests jars + updated grizzly to the newly released 2.3 stable version.
CollectClientConnectionsFilter.java:
Added HTTPAuthenticationConfig instance member to configure the HTTP auth from the JSON file.
Added many methods to handle HTTP auth in a synchronous way. Will have to change this code to run asynchronously for performance.
HTTPClientConnection.java:
Changed a few signatures and types to handle more than Search operations.
HTTPConnectionHandler.java:
Added methods parseJsonConfiguration(), getAuthenticationConfig(), asString() and asBool() to read the config for HTTP Authentication.
SdkConnectionAdapter.java:
Handled several messages being sent through the same connection.
Extracted methods enqueueOperation() from searchAsync().
Implemented bindAsync().
Adapters.java, Converters.java:
Added new conversion methods.
Renamed local variables to correctly use camel case.
ConvertersTestCase.java:
Removed try / catch / empty anti pattern.