13 Nov, 2006
6 commits
-
the HistoricalCsnOrderingMatchingRule after it had been moved from the org.opends.server.synchronization package to the org.opends.server.synchronization.plugin package. OpenDS Issue Number: 1004 git-svn-id: https://svn.forgerock.org/opendj/trunk@709 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@708 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@707 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
server along with their base DNs, as well as list all base DNs for a given backend ID or list the backend ID for a given base DN. Reviewed By: David Ely OpenDS Issue Number: 44 git-svn-id: https://svn.forgerock.org/opendj/trunk@706 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@705 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
before synchronization code was in 2 packages : org.opends.server.synchronization and org.opends.server.changelog It was not clear that the code in the changelog package is part of the synchronization also some code in both of these packages are actually used by both sides of the synchronization. To make this better (and as said in the synchronization meeting) the code is now split in 4 packages that are all below : org.opends.server.synchronization - synchronization.changelog contain the code running on the changelog side - synchronization.plugin contain the code running on the DS side. - synchronization.protocol contain the code used by both side to exchange information. - synchronization.common contain utilities that can be used by any of the first 3 packages. Hopefully this should make the synchronization code more easy to understand. git-svn-id: https://svn.forgerock.org/opendj/trunk@704 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Nov, 2006
1 commit
-
plugins. OpenDS Issue Number: 995 git-svn-id: https://svn.forgerock.org/opendj/trunk@703 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Nov, 2006
3 commits
-
are all made under the umbrella of issue #994, but there are individual issues for each change. - Issue #979 -- Re-order LDAP tool arguments When displaying usage information for many of the LDAP tools (e.g., ldapsearch, ldapmodify, etc.), the arguments were not provided in any kind of logical grouping. This has been corrected so that the arguments are listed in a more logical ordering. - Issue #983 -- Add tool description to argument parser When displaying usage information for administrative tools, it now includes a small summary of what the tool does at the top of the argument list. - Issue #984 -- Make tool usage more compact Previously, the tool usage included a blank line between each argument, which made the usage information seem too verbose, especially for tools like ldapsearch with a lot of arguments. This extra space has been removed. Also, many of the argument descriptions have been rewritten in an attempt to avoid requiring multiple lines. - Issue #985 -- Wrap long output in administrative tools when appropriate Update most of the output for the administrative tools so that it is easier to read on 80-column displays. This primarily impacts error message, and cases in which the format of the output is important (e.g., LDIF output from ldapsearch) no changes were made. - Issue #986 -- Eliminate hard-coded strings in tools Some of the tools had hard-coded strings used for error and warning messages. They have been replaced with localizeable output from the messages files. - Issue #990 -- LDAP tools don't use trust store password The LDAP tools didn't provide any mechanism for specifying the PIN needed to access the contents of an SSL trust store. Some types of trust stores may require a PIN to access them, so it is now possible to either directly specify the PIN or to provide the path to a PIN file. - Issue #991 -- Disconnect when running stop-ds shouldn't be an error When using the stop-ds script, if the server began shutting down before it returned a response to the client, the client would provide an error message making it sound like something went wrong. The output has now been updated to indicate that the server is likely in the course of shutting down. - Issue #992 -- Tool usage should include the tool name rather than the class When displaying usage information for the administrative tools, the fully-qualified class name for the Java class was displayed, where the name of the shell script or batch file would have been more useful. git-svn-id: https://svn.forgerock.org/opendj/trunk@702 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
These changes implement a window mechanism in the sycnhronization protocol. Up to now the flow control mechanism used by the synchronization was the TCP flow control mechanism. However, since TCP is not aware about the type of the synchronization mechanism this was not allowing sending of ACK messages when the TCP connection was saturated. This was also preventing the implementation of the prioritized synchronization. With these changes the TCP windows are set to a very large value and the flow control is based on a configurable window size on the changelog servers and on the LDAP servers. These changes also add monitoring informations for the current and max window sizes. I also took the opportunity to remove most the static variables and methods that were preventing multi instantiation of the Changelog class. I have also added tests for the incoding/decoding of ServerStartMessage and ChangelogStartMessage, WindowMessage and for testing the window mechanism. Also add the possibility to choose the port number used by the LDAP server when running the unit test using property : org.opends.server.LdapPort This can be usefull for debugging purpose. reviewed by Daniel git-svn-id: https://svn.forgerock.org/opendj/trunk@700 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
--configFile arguments are marked hidden since those options will be provided by the shell script or batch file used to launch the tool. Also, unhide the "--nodetach" option in the start-ds script and make sure that it will appear in all lowercase characters. OpenDS Issue Numbers: 978, 980 git-svn-id: https://svn.forgerock.org/opendj/trunk@699 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Nov, 2006
11 commits
-
AssertionError if any of the arguments is null, rather than throwing a NullPointerException if assertions were disabled and an AssertionError if assertions were enabled. Also, make the ensureTrue method always throw AssertionError if the provided condition is not true rather than throwing an IllegalArgumentException if assertions are disabled and AssertionError if assertions are enabled. Reviewed By: David Ely OpenDS Issue Number: 975 git-svn-id: https://svn.forgerock.org/opendj/trunk@698 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
problems in the specification, including: - The calEntry objectclass has been updated so that the calCalAdrURI and calOtherCalAdrURIs attributes are now allowed. - The invalid "SUBSTRING" token has been replaced with the correct "SUBSTR" value. - The reference to the invalid "caseIgnoreMatch" substring matching rule has been replaced with the correct "caseIgnoreSubstringsMatch" value. OpenDS Issue Number: 977 git-svn-id: https://svn.forgerock.org/opendj/trunk@697 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
that there are no duplicate message ID assignments, and the other makes sure that all message IDs defined are registered with the server and have a valid default message. This testing is conducted using reflection to examine all declared fields in the message classes. This commit also includes a number of updates to the message classes to fix problems identified by these unit tests. OpenDS Issue Number: 974 git-svn-id: https://svn.forgerock.org/opendj/trunk@696 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
for the case in which an authentication attempt fails because the client sent a request with a digest having the correct length but that did not contain only hexadecimal characters. OpenDS Issue Number: 976 git-svn-id: https://svn.forgerock.org/opendj/trunk@695 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
into the DynamicConstants class as a COMPACT_VERSION_STRING constant. A FULL_VERSION_STRING constant has also been added. git-svn-id: https://svn.forgerock.org/opendj/trunk@694 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Committed without review. git-svn-id: https://svn.forgerock.org/opendj/trunk@693 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
catch Exception with catch Throwable. This is necessary because when assertions are enabled when running the unit tests, an AssertionError will be generated by the methods in the Validator class rather than an exception, and Throwable covers both exceptions and errors whereas Exception doesn't handle errors. git-svn-id: https://svn.forgerock.org/opendj/trunk@692 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
compact server version string, matching the one used for the top-level directory included in the OpenDS zip file, as well as in the name of that ZIP file. git-svn-id: https://svn.forgerock.org/opendj/trunk@691 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ate test cases prviously. Now they are simply steps in one test case for setting up and another test case for tearing down an ssl configuration. Also, test messages and test names were modified for readibility. git-svn-id: https://svn.forgerock.org/opendj/trunk@690 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
MSGID_JEB_CONFIG_ATTR_REQUIRES_RESTART and the MSGID_JEB_VERIFY_CACHE_AND_MEMORY_REPORT message values. OpenDS Issue Number: 973 git-svn-id: https://svn.forgerock.org/opendj/trunk@689 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Synopsis: Controls/MatchedValuesFilter: invalid parameters are not rejected when MatchedValuesFilter are created. We now check that input parameters are not null (by means of Validator.ensureNotNull) Unit Test are also added (review by Neil) git-svn-id: https://svn.forgerock.org/opendj/trunk@688 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Nov, 2006
7 commits
-
- All administrative shell scripts and batch files now have the svn:eol-style property set to "native". This property was not set for some of these files. - All administrative shell scripts now have the svn:executable property set. Some of them did not have this property set and therefore did not have the executable file permission bit set. - All administrative batch files now have the svn:executable property removed. Some batch files inadvertently had this property set. OpenDS Issue Number: 970 git-svn-id: https://svn.forgerock.org/opendj/trunk@686 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
administrative shell scripts were renamed to drop the ".sh" extension. OpenDS Issue Number: 967 git-svn-id: https://svn.forgerock.org/opendj/trunk@685 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
CATEGORY_MASK_JEB in order to ensure they are all unique and don't conflict with messages in any other message file. OpenDS Issue Number: 968 git-svn-id: https://svn.forgerock.org/opendj/trunk@684 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@683 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…or it out of the EntryID class. The nextId property is now a non static property in the RootContainer class. Each RootContainer is responsible for keeping track of the next ID and assigning new entry IDs to all entries in its EntryContainers. The constructor for IndexIteratorAllIds now requires a RootContainer parameter. The getIterator method in EntryIDSet class is also modified so it will no longer return a IndexIteratorAllIds object if no values are added to the set. This fix also fixes the issue where performing a replaceEntryTransaction or renameEntryTransaction throws a NPE if a ModifyOperation is not specified. The backends API states that backend implementation should allow nulls for internal operations. Thanks Neil for the code review. Fix for issue 802 and issue 803 git-svn-id: https://svn.forgerock.org/opendj/trunk@682 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@681 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Security: Min Pwd Age: Pre-test Check Security: Min Pwd Age: Test Security: Min Pwd Age: Post-test Reset The number of operations are the same as before. Previously, each of the operations was a separate test case. Now the operations are clustered under one of these three tests. The test names are now short, meaningful, and easily read. git-svn-id: https://svn.forgerock.org/opendj/trunk@680 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Nov, 2006
4 commits
-
whether the JVM is susceptible to the issue described in CR 6322825 in which calls to the NIO select() method fail. If this problem is detected, a detailed error message will be written to the log and the LDAP connection handler will not be started. OpenDS Issue Number: 860 git-svn-id: https://svn.forgerock.org/opendj/trunk@679 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
to wait until any previous operations have completed all processing (including post-response processing) before submitting a new operation. This fixes a problem in which post-response processing from an earlier operation could interfere with the post-response invocation count check made in other test cases. OpenDS Issue Number: 921 git-svn-id: https://svn.forgerock.org/opendj/trunk@678 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
may be used to determine whether the queue is currently idle (i.e., that it is not being used to process any operations). OpenDS Issue Number: 952 git-svn-id: https://svn.forgerock.org/opendj/trunk@677 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@676 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Nov, 2006
2 commits
-
test cases. git-svn-id: https://svn.forgerock.org/opendj/trunk@674 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
null arguments. This also requires making changes to other areas of the server code to eliminate cases in which it was possible that at least one of the arguments was null. Reviewed by: Matthew Swift OpenDS Issue Number: 703 git-svn-id: https://svn.forgerock.org/opendj/trunk@673 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Nov, 2006
1 commit
-
The following refactoring work was performed: * removed the DN, RDN, and AVA comparator classes. The DN and RDN classes implement Comparable. RDN.compareTo now uses ordering matching rules where possible (taken from the original RDN Comparator class) * RDN class is now almost immutable (it's intention is to be 100% immutable). It is still possible to retrieve attribute values and modify them (attribute values should be immutable - issue raised) * RDN compareTo, hashCode, and equals methods now sort AVAs based on the type's name/oid (previously no sorting was performed) * provide factory methods for simple RDNs and a builder class for constructing more complex RDNs * DN class is now immutable with the exception described above for RDN attribute values. There are now factory methods for creating, joining, and splitting DNs * special factory method for creating null DNs - DN.nullDN() * DN.getParent() renamed to DN.getParentDNInSuffix() - all references updated - this method will be moved in a subsequent change to the DirectoryServer class * implemented a new DN.getParent() method which ignores suffixes * DN no longer copy their RDN array when constructing parent DNs or localNames - instead array offset+length is identifies which part of the array is associated with the DN * refactored and simplified much of the DN/RDN decoding routines git-svn-id: https://svn.forgerock.org/opendj/trunk@671 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Nov, 2006
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@670 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@669 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Nov, 2006
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@668 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@667 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@666 41b1ffd8-f28e-4786-ab96-9950f0a78031