05 Apr, 2013

2 commits

  • 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.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8694 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 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.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8693 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

04 Apr, 2013

10 commits


03 Apr, 2013

9 commits


02 Apr, 2013

2 commits


29 Mar, 2013

6 commits


28 Mar, 2013

4 commits

  • Implemented async search operation.
    Added support for canceling tasks.
    
    SdkConnectionAdapter.java: ADDED
    
    CollectClientConnectionsFilter.java:
    Hooked the async implementation instead of the synchronous InternalClientConnection.
    
    HTTPClientConnection.java:
    Implemented sendResponse(), sendSearchEntry(), sendSearchReference(), disconnect(), getOperationsInProgress(), getOperationInProgress(), removeOperationInProgress(), cancelOperation(), cancelAllOperations(), cancelAllOperationsExcept(), getNumberOfOperations().
    Added addOperationInProgress() and isConnectionValid().
    
    procotol*.properties:
    Renamed MILD_WARN_LDAP_CLIENT_DISCONNECT_IN_PROGRESS_166 to MILD_WARN_CLIENT_DISCONNECT_IN_PROGRESS_166.
    Removed INFO_HTTP_CONNHANDLER_STARTTLS_NOT_SUPPORTED_1515.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8665 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8664 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • * add more internal connection factory methods to make it easier to bind connections to the memory backend during testing.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8663 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • * added class MemoryBackend
    * added Entries.modifyEntry() and included support for increment
    * added Connection.deleteSubtree()
    * added Request.containsControl() and Response.containsControl()
    * aligned attributes APIs in Post/Pre read controls with SearchRequest (i.e. use List)
    * refactored server example to use new memory backend
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8662 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

27 Mar, 2013

5 commits


26 Mar, 2013

2 commits