10 Jun, 2013

1 commit


07 Jun, 2013

1 commit

  • Back a few years ago, when we did the SVR4 package, we split the schema into read-only (Install) and writable (Instance).
    With the template model in 2.6, the whole schema is under config, and we should never edit/change the one in the template.
    So, I've removed all code related to the 2 locations for schema, reverted some I10N messages to their previous versions, and tidy up code and tests.
    All unit-tests are passing.
    And it's also possible to change the instance.loc and run setup and have a fully functioning server :-)
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8978 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     

06 Jun, 2013

1 commit


05 Jun, 2013

1 commit


04 Jun, 2013

4 commits


03 Jun, 2013

1 commit


31 May, 2013

1 commit


28 May, 2013

1 commit


27 May, 2013

2 commits


26 May, 2013

1 commit


23 May, 2013

1 commit

  • 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

1 commit


21 May, 2013

1 commit


17 May, 2013

1 commit


14 May, 2013

2 commits


07 May, 2013

2 commits


06 May, 2013

2 commits


03 May, 2013

1 commit

  • 
    
    Implemented the HTTP access logger by taking inspiration from other loggers.
    Configured the new logger everywhere other loggers are configured.
    Logged the HTTP request in several places to cover all cases (happy paths, errors, etc.).
    
    
    
    config.ldif, 02-config.ldif, HTTPAccessLogPublisherConfiguration.xml, FileBasedHTTPAccessLogPublisherConfiguration.xml, HTTPAccessLogPublisherCfgDefn.properties, FileBasedHTTPAccessLogPublisherCfgDefn.properties: ADDED
    Added 2 new objectClasses HTTPAccessLogPublisherConfiguration and FileBasedHTTPAccessLogPublisherConfiguration.
    
    config.properties:
    Added new error messages for the HTTP access logger.
    
    HTTPAccessLogger.java, HTTPAccessLogPublisher.java, TextHTTPAccessLogPublisher.java, HTTPRequestInfo.java: ADDED
    HTTPRequestInfo.log() prevents double logging.
    
    CollectClientConnectionsFilter.java:
    Logged the request info when HttpServletResponse.setStatus(), sendAuthenticationFailure() and onFailure() are called.
    Pushed more data to the HTTPRequestContext + switched to use the more specific HttpServletRequest/HttpServletResponse
    
    SdkConnectionAdapter.java:
    Logged the request info when close() is called.
    
    LoggerConfigManager.java, TestCaseUtils.java:
    Configured the HTTP access logger.
    
    InProcessServerController.java: TO BE REMOVED (by Matt on the native packaging branch)
    
    
    
    Sample log:
    localhost bjensen [03/May/2013:10:14:54 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 500 "curl/7.27.0"
    localhost bjensen [03/May/2013:10:15:05 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "curl/7.27.0"
    localhost  [03/May/2013:10:15:14 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0"
    localhost  [03/May/2013:10:16:40 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 401 "curl/7.27.0"
    localhost  [03/May/2013:10:16:50 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "curl/7.27.0"
    localhost  [03/May/2013:10:16:51 +0200] "GET /favicon.ico/null HTTP/1.1" 404 "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0"
    localhost  [03/May/2013:10:17:10 +0200] "GET /users/_queryFilter=true&_prettyPrint=true HTTP/1.1" 200 "curl/7.27.0"
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8832 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

01 May, 2013

6 commits


30 Apr, 2013

2 commits


29 Apr, 2013

2 commits


26 Apr, 2013

1 commit


25 Apr, 2013

1 commit


24 Apr, 2013

2 commits

  • Tons of simplification of code, fix of typos, transformed comments to block.
    In ReplicationDomain, changed synchronization of Map with a concurrentHashMap.
    Fixed an error message in LDAPReplicationDomain
    Removed mods from error message on Assured replication ack timeout (could be too large).
    Added a log message on critical error (when reading change from RS db).
    Removed some unused code.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8797 41b1ffd8-f28e-4786-ab96-9950f0a78031
    ludo
     
  • CryptoManagerTestCase.java:
    Replaced use of reflection with use of direct method call.
    Removed useless parentheses.
    
    
    ExtensionTestUtils.java: ADDED
    Factorizes common code among Extensions tests cases.
    
    EntryDNVirtualAttributeProviderTestCase.java, EntryUUIDVirtualAttributeProviderTestCase.java, GoverningStructureRuleVirtualAttributeProviderTestCase.java, HasSubordinatesVirtualAttributeProviderTestCase.java, NumSubordinatesVirtualAttributeProviderTestCase.java, StructuralObjectClassVirtualAttributeProviderTestCase.java, SubschemaSubentryVirtualAttributeProviderTestCase.java:
    Moved common code from 6 tests methods to ExtensionTestUtils + made tests delegate to the ExtensionTestUtils static methods.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8790 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

23 Apr, 2013

1 commit

  • Implemented the authentication steps (search username + bind) in an async way.
    
    CollectClientConnectionsFilter.java:
    Added inner classes HTTPRequestContext, DoBindResultHandler and CallDoFilterResultHandler to support async processing.
    In doFilter(), built the HTTPRequestContext + removed some local parameters.
    Extracted the methods doFilter(HTTPRequestContext, AuthenticationInfo), sendAuthenticationFailure() and onFailure() from doFilter(ServletRequest, ServletResponse, FilterChain).
    In several methods, replaced several parameters by using just one HTTPRequestContext parameter.
    Extracted method buildSearchRequest(String) from searchUniqueEntryDN().
    Removed getAuthenticationInfo() and added the code back to doFilter().
    Removed authenticate(), searchUniqueEntryDN() and bind(), and moved their corresponding code to the inner classes.
    Added getAsyncContext().
    
    CollectClientConnectionsFilter.java:
    Removed the test for authenticate()
    
    SdkConnectionAdapter.java:
    Fixed two bugs
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8783 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac