08 Apr, 2013

5 commits


05 Apr, 2013

6 commits

  • 
    ConvertersTestCase.java:
    Added unit tests for the latest code added.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8698 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • AttributeBuilder.java:
    Added method add(ByteString) - to be used with the adapters' Converters class.
    
    AttributeBuilderTest.java:
    Added test method testAttributeBuilderAddByteString().
    Suppressed javadoc warnings + removed javadoc for exceptions.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8697 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Making checkstyle happy.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8696 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Making checkstyle happy.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8695 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@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

2 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