23 Feb, 2007

8 commits

  • …s) did not check for null OperationStatus objects being passed in and caused an NullPointerException whenever EntryCount was called. Added a null check.
    
    Changed ID2Entry#getRecordCount to use the Database#count method in JE 3.1.0. The JE backend no longer keeps a count of entries in entry ID 0. Modified TestVerifyJob unit test to no longer simulate a incorrect entry count.
    
    It was a clear case that using Database#count is much faster then keeping a count at entryID 0. At the least, it can eliminate a database read and write on every entry add and delete operation. In addition, calling Database#count is faster then getting an entry out of the database as the following shows.
    
    Time took to get entry count 100 times (w/o transactions):
    
    Duration using Database#count: 16731000 ns
    Duration using old entry counter: 22094000 ns
    
    Duration using Database#count: 17124000 ns
    Duration using old entry counter: 39434000 ns
    
    Duration using Database#count: 15522000 ns
    Duration using old entry counter: 20069000 ns
    
    Duration using Database#count: 15873000 ns
    Duration using old entry counter: 19732000 ns
    
    Duration using Database#count: 15871000 ns
    Duration using old entry counter: 20594000 ns
    
    Duration using Database#count: 21099000 ns
    Duration using old entry counter: 21877000 ns
    
    Fix for issue 740
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1247 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • …r enabled.  The testDigestMD5 test in LDAPCompareTestCase was not actually binding using DigestMD5 because the SASL mechanism name was omitted from the arguments.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1246 41b1ffd8-f28e-4786-ab96-9950f0a78031
    coulbeck
     
  • introduced a large number of test failures.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1245 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • … default.  Most of the failing tests are fixed by adding bypass-acl privilege to the entries of the users the failing tests bind as.
    
    This change also includes an important fix to the server for operations carrying the proxied auth control.  The ACI check in the core operation is moved after the controls processing to ensure that the correct authorization user is picked up, and the ACI handler now gets the authorization user from the operation rather than the connection.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1244 41b1ffd8-f28e-4786-ab96-9950f0a78031
    coulbeck
     
  • least one value.  This will prevent add requests from being able to add entries
    containing attributes with no values.
    
    OpenDS Issue Number:  1275
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1241 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • we don't need in the core server but can help other applications interoperate
    with OpenDS.
    
    Also, add a class org.opends.server.interop.LazyDN which is a
    lazily-initialized version of the org.opends.server.types.DN class.  This makes
    it possible to have very fast DN processing when you need to create a DN from
    a String and the only thing that will be called on that DN is the toString()
    method.  This commit includes test cases to ensure that the public methods of
    the DN and LazyDN classes stay in sync.
    
    OpenDS Issue Number:  1276
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1238 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • …e JE backend no longer keeps a count of entries in entry ID 0. Modified TestVerifyJob unit test to no longer simulate a incorrect entry count.
    
    Fix for issue 740
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1237 41b1ffd8-f28e-4786-ab96-9950f0a78031
    boli
     
  • 
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1232 41b1ffd8-f28e-4786-ab96-9950f0a78031
    gary_williams
     

21 Feb, 2007

2 commits


20 Feb, 2007

2 commits


19 Feb, 2007

1 commit


18 Feb, 2007

2 commits


17 Feb, 2007

1 commit

  • https://opends.dev.java.net/issues/show_bug.cgi?id=1215
    
    The PasswordPolicy configurable component needs to be split in  order to avoid
    the possibility of an operation referencing an  inconsistent PasswordPolicy
    object (i.e., one in the middle of an  update).
    
    Reviewed by neil_a_wilson, who noticed a coding error that would have resulted in intermittent NPEs.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1192 41b1ffd8-f28e-4786-ab96-9950f0a78031
    david_page
     

16 Feb, 2007

6 commits


15 Feb, 2007

1 commit


14 Feb, 2007

8 commits


13 Feb, 2007

7 commits


12 Feb, 2007

2 commits

  • This enhancement adds a convenience method to ConditionResult to return the inverse of a value of the CondtionResult type: e.g., inverseOf(TRUE) is FALSE.
    
    New unit test is included.
    
    Reviewed by neil_a_wilson.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1138 41b1ffd8-f28e-4786-ab96-9950f0a78031
    david_page
     
  • order to use the proxied authorization control.  This privilege is also used
    to determine whether a user can specify an alternate authorization identity for
    the SASL DIGEST-MD5 and PLAIN mechanisms.
    
    OpenDS Issue Number:  476
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@1135 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson