21 Jun, 2013

5 commits


20 Jun, 2013

5 commits


19 Jun, 2013

3 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9011 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9010 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • * make protocol versioning the responsibility of the ProtocolSession object. Previously, it was split between various classes making it very confusing and risk-prone. Now only one class (TLSSocketSession) "owns" the protocol version
    * removed ReplicationMsg.getBytes() and require that all message impls implement ReplicationMsg.getBytes(short protocolVersion). Messages which have never evolved since the first protocol version can simply ignore the passed in protocol version parameter
    * simplified the handshake process, ensuring that we always set the protocol version once the handshake has completed. Part of this change was to remove the protocol version from the start message constructors, since it is implied during encoding (this removes some ambiguity in these classes)
    * many other minor code clean ups and bug fixes.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9009 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

18 Jun, 2013

7 commits


17 Jun, 2013

5 commits


14 Jun, 2013

3 commits

  • Close the request processing context after invoking the result handlers not before since the handler may need to interact with context before it is closed. In this case closing the context logged result before the handler had a chance to update the internal error state.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8996 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Skip persistent searches when perform client side request timeout expiration.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8995 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Enhanced JsonValue by adding a record/verify mode for key accesses.
    Client code must call recordKeyAccesses() to verifyAllKeysAccessed().
    When yhere is an an unaccessed key, a JsonException will be thrown and all unaccessed keys will be reported (unaccessed keys located under other unaccessed keys are not reported to reduce noise).
    
    
    HTTPConnectionHandler.java:
    In createAndRegisterServlet(), enabled the record mode before accessing the keys, then verify all the keys have been accessed after we are done with the JSON config.
    
    JsonValue.java:
    Added recordKeyAccesses() and verifyAllKeysAccessed().
    
    JsonValueKeyAccessChecker.java, JsonValueKeyAccessCheckerTest.java: ADDED
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8994 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

13 Jun, 2013

2 commits


12 Jun, 2013

1 commit


11 Jun, 2013

7 commits


10 Jun, 2013

2 commits