19 Oct, 2006
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@619 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
byte array length is less than 8. git-svn-id: https://svn.forgerock.org/opendj/trunk@612 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
in an Entry class, so calling methods can access to that information. git-svn-id: https://svn.forgerock.org/opendj/trunk@611 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…flict. Reviewed by gbellato. The fix is to replay the operation a maximum of 10 times. There is a unit test for this issue that uses the short-circuit plugin to force the infinite replay loop. git-svn-id: https://svn.forgerock.org/opendj/trunk@609 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Oct, 2006
2 commits
-
already open. git-svn-id: https://svn.forgerock.org/opendj/trunk@601 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The fix is to avoid constructing an RDN using string concatenation of the attribute type and value, when the value could contain characters that need to be quoted inside of a DN. I looked through the rest of the code at uses of DN.decode() and RDN.decode() and did not find any other places where the same mistake has been made. The changes include updated unit tests to catch this issue. git-svn-id: https://svn.forgerock.org/opendj/trunk@600 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Oct, 2006
1 commit
-
…try. Reviewed by gbellato. The synchronization post-operation plugin did not handle the case where an operation had not been assigned a change number. A unit test is added for this. There was also an error in the increment of numReplayedPostOpCalled in the case of a non-synchronization or unsuccessful operation, since that field is documented as "the number of updates replayed successfully by the synchronization". git-svn-id: https://svn.forgerock.org/opendj/trunk@597 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Oct, 2006
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@586 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The test creates a number of modification on the LDAP server and checks that the correct number of modify Messages are received by another thread that has subscribed to the changelog service using the changelogbroker API. It is possible to use several threads to create the modifications. This test can take some time and is therefore tagegd as a slow test and will only be run when the testall ant target is invoked. git-svn-id: https://svn.forgerock.org/opendj/trunk@584 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@583 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Oct, 2006
1 commit
-
This is more in-line with the rest of the code conventions that we use, and it makes it easier to include the config package in what we consider to be our public API. OpenDS Issue Number: 805 git-svn-id: https://svn.forgerock.org/opendj/trunk@580 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Oct, 2006
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@572 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
problem with the template file. A test case has also been provided to cover this condition. This fix and test case was contributed by Benjamin Damm (java.net username bdamm) of Brighton Consulting. OpenDS Issue Number: 616 git-svn-id: https://svn.forgerock.org/opendj/trunk@571 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Oct, 2006
6 commits
-
… memory backend. There are now multiple test cases using the same JE backend, so add TestCaseUtils#clearJEBackend in those test cases to clear any existing data in the JE backend. git-svn-id: https://svn.forgerock.org/opendj/trunk@567 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@566 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@565 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Issue 785: attribute options not returned by search of attribute types only Issue 786: SearchOperation#returnEntry does not always make a copy of the attributes I have added some new methods so that a common code path can be followed whether the search returns attribute values or not. Attribute: public Attribute duplicate(boolean omitValues) Entry: public List<Attribute> duplicateUserAttribute( AttributeType attributeType, Set<String> options, boolean omitValues) public List<Attribute> duplicateOperationalAttribute( AttributeType attributeType, Set<String> options, boolean omitValues) git-svn-id: https://svn.forgerock.org/opendj/trunk@564 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
attempting to terminate a client connection from within an operation plugin. The issue arose when the attempt to terminate the connection tried to cancel the operation that initiated the disconnect, which made it necessary to wait for a 5-second timeout before continuing. This solution also creates a new PluginOperation interface that is the superclass for the PreParseOperation, PreOperationOperation, PostOperationOperation, and PostResponseOperation interfaces. OpenDS Issue Number: 784 git-svn-id: https://svn.forgerock.org/opendj/trunk@562 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Validator.ensureNotNull method for arguments that are not allowed to be null, and also update the javadoc for the corresponding @param tags to indicate this. Also, update the ModifyDNChangeRecordEntry class to rearrange the order of the constructor arguments to be more consistent with the rest of the codebase, as well as the standard definitions in LDAP and LDIF. Reviewed by davidely. git-svn-id: https://svn.forgerock.org/opendj/trunk@561 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Oct, 2006
1 commit
-
--This line, and th se below, will be ignored-- M UpdateMessage.java git-svn-id: https://svn.forgerock.org/opendj/trunk@555 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Oct, 2006
4 commits
-
issue 776: Overflow of large values for time limit. issue 781: search result entries have their object class in the wrong field. Initial unit tests for SearchOperation. git-svn-id: https://svn.forgerock.org/opendj/trunk@553 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
instance for each of them that may be used if all processing completed successfully. Update all uses of the plugin result objects to use this SUCCESS instance where applicable. OpenDS Issue Number: 774 git-svn-id: https://svn.forgerock.org/opendj/trunk@550 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
when - replaying a modify operation on an entry that has already been deleted (778) - replaying a modify DN operation to rename an entry below a parent that does not exist anymore. (775) Fix the conflict resolution code in cases where it is necessary to generate a conflicting DN following a modify DN operation because the new DN has already been used by another added or renamed entry. (779) Fix a race condition in UpdateOperationTest that can make the test fail on some platforms Add some tests for modify DN naming conflicts reviewed by Daniel git-svn-id: https://svn.forgerock.org/opendj/trunk@549 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…anks to Neil and Andy for the reviews. git-svn-id: https://svn.forgerock.org/opendj/trunk@548 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Oct, 2006
6 commits
-
using the defined print stream for error messages. git-svn-id: https://svn.forgerock.org/opendj/trunk@547 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
the ServerShutdownListener interface, which MonitorProvider was originally going to implement. However, the Directory Server explicitly notifies all monitor providers during the shutdown process anyway, so it was not necessary to implement the ServerShutdownListener interface but the methods associated with that interface were never removed from the MonitorProvider API class. git-svn-id: https://svn.forgerock.org/opendj/trunk@544 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
changelog server can now be used directly through the ChangelogBroker class as a client API. This is very usefull for testing because it allows to generate a wide variety of events and therefore helps to test code that is otherwise rarely used and therefore difficult to tests like : .starting condition. .conflicts resolution. .tests of error conditions. .fail-over tests. - add the first set of tests for the currently available conflict resolution code. - fix the two bugs (772 and 773) discovered when coding these tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@542 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
plugins at the appropriate time. Update the JMX client connection to ensure that it invokes the post-disconnect plugins at the appropriate time. Add unit-test to check that post-connect and post-disconnect plugins are called. git-svn-id: https://svn.forgerock.org/opendj/trunk@541 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
control. git-svn-id: https://svn.forgerock.org/opendj/trunk@539 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
twice when the --help option is provided. OpenDS Issue Number: 771 git-svn-id: https://svn.forgerock.org/opendj/trunk@538 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Oct, 2006
5 commits
-
assertion value is to be read from a file but that file does not exist or is not readable. OpenDS Issue Number: 770 git-svn-id: https://svn.forgerock.org/opendj/trunk@537 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
value to filePath, since the expected value is a path and not a URL. OpenDS Issue Number: 766 git-svn-id: https://svn.forgerock.org/opendj/trunk@536 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
value is supposed to be base64-encoded but an error occurs while trying to decode it. OpenDS Issue Number: 765 git-svn-id: https://svn.forgerock.org/opendj/trunk@535 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
the StartTLS capability can actually be used. Also, change the order of evaluation for an argument validation check to make testing easier. OpenDS Issue Number: 769 git-svn-id: https://svn.forgerock.org/opendj/trunk@534 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
it exits with a return code of zero rather than one. OpenDS Issue Number: 768 git-svn-id: https://svn.forgerock.org/opendj/trunk@533 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Oct, 2006
5 commits
-
an increment request where there were multiple increment values in the request from the client. OpenDS Issue Number: 764 git-svn-id: https://svn.forgerock.org/opendj/trunk@531 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
without needing to reference any classes outside of the public API. Also, update several classes that should use the public API to use the ByteStringFactory rather than creating ASN1OctetString objects. Reviewed by davidely. git-svn-id: https://svn.forgerock.org/opendj/trunk@530 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
successful. The attempt to remove the entire attribute (without specifying the individual values) was not properly handled and the entry remained unchanged instead of actually removing the values. OpenDS Issue Number: 762 git-svn-id: https://svn.forgerock.org/opendj/trunk@527 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
values in an LDAP attribute when converting to a core Attribute (it would silently discard the duplicate rather than rejecting it). Also, fix an error in an unrelated Javadoc comment. OpenDS Issue Number: 761 git-svn-id: https://svn.forgerock.org/opendj/trunk@526 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
contain any modifications. OpenDS Issue Number: 760 git-svn-id: https://svn.forgerock.org/opendj/trunk@525 41b1ffd8-f28e-4786-ab96-9950f0a78031