23 May, 2013

7 commits

  • 
    
    HTTPS was wrongly configured: code was configuring an SSLEngine that was then never used.
    Changed the code to configure an SSLEngineConfigurator that is passed down to Grizzly HTTP server.
    
    
    
    (Un)surprisingly I hit a bug on my Linux Mint:
    https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1006776
    I had to modify /etc/java-6-openjdk/security/java.security so it uses the sun Elliptic Curve implementation by changing the line
        security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg
    to
        security.provider.9=sun.security.ec.SunEC
        #security.provider.10=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg
    
    
    
    HTTPConnectionHandler.java:
    Replaced instance members sslContext and sslEngine with sslEngineConfigurator.
    Renamed createSSLEngine() into createSSLEngineConfigurator().
    In createSSLContext(), removed the try / catch block duplicated with the one in createSSLEngineConfigurator().
    As a consequence, the following methods changed: configureSSL(), getEnabledSSLCipherSuites(), getEnabledSSLProtocols(), getSSLEngine(), isConfigurationAcceptable(), startHttpServer().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8901 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • The fallback mechanism leaves validation to complete with a warning rather than a failure.
    
    Builds fine for me locally
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8900 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8899 41b1ffd8-f28e-4786-ab96-9950f0a78031
    glennvl
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8898 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • OPENDJ-842 On Windows, the setup command hangs when the length of the install path is too long
    
    
    Code review and initial idea: violette
    
    
    Now that the application starts with the single bootstrap jar, MacOS X can take advantage of this by referencing it statically in the plist files. In other words, it is no longer necessary to build the plist files dynamically.
    
    
    Info.plist:
    Hardcoded the path to bootstrap.jar
    
    build.xml:
    Removed the code that appended the jars to the **/Info.plist files for MacOS X.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8897 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8896 41b1ffd8-f28e-4786-ab96-9950f0a78031
    glennvl
     
  • OPENDJ-914 Upgrade should add Based HTTP Access Logger to config.ldif
    - HTTP connection handler and the based HTTP access logger are now added to upgrade.
    - The http-config.json is added to the config file during upgrade.
    - Simplified UpgradeTasks.java
    - Added new messages.
    - Fixed javadoc for unit test.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8895 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

22 May, 2013

5 commits


21 May, 2013

9 commits


19 May, 2013

1 commit


17 May, 2013

4 commits


16 May, 2013

2 commits


15 May, 2013

4 commits


14 May, 2013

8 commits

  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8869 41b1ffd8-f28e-4786-ab96-9950f0a78031
    cjr
     
  • 
    
    Added support for ds-cfg-num-request-handlers in the HTTPConnectionHandler configuration to bring it at par with the LDAPConnectionHandler configuration.
    
    
    
    02-config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties:
    Added ds-cfg-num-request-handlers.
    
    HTTPConnectionHandler.java:
    Set the SelectorRunnersCount in grizzly based on the numRequestHandlers property.
    
    LDAPConnectionHandler.java, ConnectionHandler.java:
    Moved getNumRequestHandlers() from LDAPConnectionHandler to ConnectionHandler.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8868 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8867 41b1ffd8-f28e-4786-ab96-9950f0a78031
    mark
     
  • …uration of the password policy is explicitly set as expected for the test.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8866 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • …ons across the product
    
    * change SDK dependencies from 3.0.0-SNAPSHOT to 2.5.0-SNAPSHOT.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8865 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • …ons across the product
    
    * update project version to 2.5.0-SNAPSHOT (development version leading to 2.6.0).
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8864 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8863 41b1ffd8-f28e-4786-ab96-9950f0a78031
    glennvl
     
  • 
    
    Now monitoring total etime for each supported HTTP method.
    While implementing this, I noticed that HTTPRequestInfo was duplicating fields in HTTPClientConnection and adding little more. I moved the missing data in HTTPRequestInfo to HTTPClientConnection and transformed the HTTPRequestInfo class into an interface to keep zero coupling between logging and HTTPClientConnection.
    
    
    
    HTTPRequestInfo.java:
    Transformed this class into an interface.
    Renamed getRemoteHost() to getClientHost() and getRemoteAddress() to getClientAddress().
    
    HTTPClientConnection.java
    Now implements HTTPRequestInfo.
    Moved several fields from HTTPRequestInfo here + added missing getters and setters.
    In sendResponse(), calling HTTPStatistics.updateRequestMonitoringData().
    Added log().
    
    TextHTTPAccessLogPublisher.java:
    Consequence of the changes to HTTPRequestInfo.
    Also added support for the "c-port", "s-ip", "s-computername", and "s-port" fields.
    
    CollectClientConnectionsFilter.java, SdkConnectionAdapter.java:
    Consequence of the changes to HTTPRequestInfo.
    
    HTTPStatistics.java:
    Renamed instance members nbRequests to requestMethodsTotalCount and nbRequestsTotalCount to requestsTotalCount.
    Added requestMethodsTotalTime instance member.
    Completed the constructor, clearStatistics(), getMonitorData().
    Fixed clearStatistics().
    Added addAll(), updateRequestMonitoringData().
    
    02-config.ldif:
    Added attributes for monitoring the total etime of HTTP requests.
    Renumbered some previously added attributes to follow what is done for LDAP operations etime.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8862 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac