21 Aug, 2007
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2722 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
attribute uniqueness. The plugin has the following features: - provides ability to specify a group of attribute types that must have unique values; if no attribute types are specified then the plugin allows the operations to proceed with no checking - provides ability to specify a set of base DNs that limit the scope of the uniqueness checking; if no base DNs are specified the server's public naming contexts are used - allow changing of these configuration options without server restart - allows the uniqueness checking to span multiple base DNs; if the server's public naming contexts are used, then the specified attribute type values must be globally unique within the server Two configuration attributes have been added: 1. ds-cfg-unique-attribute-type used to specify the unique attribute type(s) 2. ds-cfg-unique-attribute-base-dn used specify the base DN(s) to limit the search scope A disabled plugin configuration has been added to the config.ldif file for the uid attribute: dn: cn=UID Unique Attribute ,cn=Plugins,cn=config objectClass: top objectClass: ds-cfg-plugin objectClass: ds-cfg-unique-attribute-plugin cn: UID Unique Attribute ds-cfg-plugin-class: org.opends.server.plugins.UniqueAttributePlugin ds-cfg-plugin-enabled: false ds-cfg-plugin-type: preOperationAdd ds-cfg-plugin-type: preOperationModify ds-cfg-plugin-type: preOperationModifyDN ds-cfg-unique-attribute-type: uid Issue 258. git-svn-id: https://svn.forgerock.org/opendj/trunk@2721 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2720 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Aug, 2007
34 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2719 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2718 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…esult, in the searchStringForSubstring function. git-svn-id: https://svn.forgerock.org/opendj/trunk@2717 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2716 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2715 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…me according to current best practices. git-svn-id: https://svn.forgerock.org/opendj/trunk@2714 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2713 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2712 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…eicfy the server root for DirectoryServer operations (issue 2121) git-svn-id: https://svn.forgerock.org/opendj/trunk@2711 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…pt function in the functional tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@2710 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
in Java 6. git-svn-id: https://svn.forgerock.org/opendj/trunk@2709 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2708 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… file generated by create-webstart-standalone.sh and do no longer generate the QuickUpgrade.jnlp file git-svn-id: https://svn.forgerock.org/opendj/trunk@2707 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
allows third-party LDAP SDKs to be used to perform internal operations within the server. Rather than performing network communication, the custom socket decodes the request written to it, converts it to an internal operation, processes the request, and encodes the response so that it can be read from the socket by the LDAP SDK. This has been tested with both the Mozilla LDAP SDK for Java (which requires a trivial custom LDAPSocketFactory implementation) and JNDI (which requires a custom property to be set). git-svn-id: https://svn.forgerock.org/opendj/trunk@2706 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2705 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2704 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2703 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2702 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2701 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2700 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2699 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2698 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
method, if any, in related entry cache implementation. - use ServerConstants.EOL where appropriate. - enable entry cache unit tests again [IllegalMonitorStateException should be resolved in r2688/FileSystemEntryCache.java]. git-svn-id: https://svn.forgerock.org/opendj/trunk@2697 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2696 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2695 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- make toVerboseString method private in implementation classes. - make toVerboseString use StringBuilder instead of string concat. - make toVerboseString use ServerConstants.EOL where required. git-svn-id: https://svn.forgerock.org/opendj/trunk@2694 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2693 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2692 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The test was not working as designed. The goal was to test dependecies of ADD/DEL/ADD sequence but the test was trying to create children of entries already deleted, therefore mixing naming conflict resolution with dependency resolution. The test now create and delete independent entries and should work better, I have therefore re-enabled it. No modification was done to the server itself. git-svn-id: https://svn.forgerock.org/opendj/trunk@2691 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2690 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2689 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@2688 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
the consistency in the replication topology in the (hopefully) rare case when hardware failure or software bugs could break it (issue 788 and 791) There are several parts in this commit : - a new log file called replication was added. It's purpose is to store all the consistency errors detected by the replication with enough information to allow the administrator to repair the problem. This file is configured by default and contain only the replication errors, To achieve the a new log severity keyword "None" has been created so that the associated error log publisher does not print any error not related to replication. (I will update the reference guide after this commit) - a new control (the replication repair control) has been added. When this control is used in a MODIFY, DELETE, ADD or MODDN operation the operation is marked as a non-replicated replication operation. This cause the following : - The operation is allowed to modify attributes that are normally not allowed to be modified or added (NO-USER-MODIFCATION) such as entryuuid and ds-sync-hist To achieve this I add to move those checks from the AddOperationBasis.getObjectClasses() or AddOperationBasis.getUserAttributes() to the LocalBackendWorkflowElement.processAdd() but this has already been reviewed. - no change number is associated to the operation. - the operation is not published to the replication server and is therefore a local only operation. - the replication don't try to solve conflict or generate historical information for this operation. The intended usage of this control is that the administrator will check for errors in the replication log, determine the entries that have inconsistent values and use the control to repair them. I will write some documentation explaining in more details how to do this. - even though this is not related to replication repair I also took advantage of this change to add the multimaster replication synchronization provider in the default configuration. This will make configuration of replication using dsconfig easier because the user will now only need to configure the replication servers and replication domains. git-svn-id: https://svn.forgerock.org/opendj/trunk@2687 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
git-svn-id: https://svn.forgerock.org/opendj/trunk@2686 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Aug, 2007
3 commits
-
These tests provide full unit test coverage for all existing entry cache implementations. Some of the test methods reside in "slow" group so that they are skipped for precommit and alike while all implementation test classes belong to "entrycache" group in order to provide selective entry cache tests scope. git-svn-id: https://svn.forgerock.org/opendj/trunk@2685 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- fix bugs found by entry cache unit tests. - sanitize backend map maintenance. git-svn-id: https://svn.forgerock.org/opendj/trunk@2684 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
initialized and contains the parent entry, since some JMX test methods assume that to be true. git-svn-id: https://svn.forgerock.org/opendj/trunk@2683 41b1ffd8-f28e-4786-ab96-9950f0a78031