14 Aug, 2015
5 commits
-
Removed setResults(), used the more complete setResponseData() instead *.java: Called AbstractOperation.setResponseData(). Removed useless @inheritDoc javadocs. Ran UCDetector Grouped relevant fields together. Cleaned up constructors. git-svn-id: https://svn.forgerock.org/opendj/trunk@12739 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
I think PasswordModifyExtendedOperation.processExtendedOperation() should call setMatchedDN() ? AbstractOperation.java: Extracted methods processOperationResult() and setResults(). PluginResult.java: Extracted PluginResult.OperationResult interface out of several types. Removed duplicate javadocs. Used {@code} in javadocs. Fixed typos. SynchronizationProviderResult.java: Now extends PluginResult.OperationResult + removed duplicate declarations. *OperationBasis.java: Called processOperationResult() and setResults(). Used static imports for DirectoryServer.*. Removed useless comments. LocalBackend*Operation.java Called processOperationResult() and setResults(). Used static imports for DirectoryServer.*. Removed useless comments. Extracted method getAccessControlHandler(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12738 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
git-svn-id: https://svn.forgerock.org/opendj/trunk@12737 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
PasswordPolicyState.java: Extracted methods isLocked(), computeHighestTime() and newAttribute() *.java: Used PasswordPolicyState.isLocked(). git-svn-id: https://svn.forgerock.org/opendj/trunk@12736 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- removed code duplication - explicited code. this allowed to remove useless comments LocalBackendModifyOperation.java: Extracted methods mustCheckSchema(), processInitialSchema(), addIfAttributeValueExistsPreEncodedPassword(), addIfAttributeValueExistsNoPreEncodedPassword(), checkSchema(), isHumanReadable() Removed unused method getName() git-svn-id: https://svn.forgerock.org/opendj/trunk@12735 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Aug, 2015
6 commits
-
Used Attributes.create(String, String...) instead of AttributeBuilder. Extracted methods addAttribute(), addOperation(), modifyOperation(), getAttributeType() Used more newModification() Reordered a few statements + grouped together related statements to make code clearer Removed useless comments git-svn-id: https://svn.forgerock.org/opendj/trunk@12734 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Renamed buildMod() to newModification(). Used static import for ModificationType.* git-svn-id: https://svn.forgerock.org/opendj/trunk@12733 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12732 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12731 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12730 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12729 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Aug, 2015
7 commits
-
This patch implements a formatting suggestion from Chris Lee. git-svn-id: https://svn.forgerock.org/opendj/trunk@12728 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch updates the dev guide discussion of synchronous vs. asynchronous APIs. git-svn-id: https://svn.forgerock.org/opendj/trunk@12727 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adds some new examples using the asynchronous APIs: * ModifyAsync.java * SearchBindAsync.java * ShortLifeAsync.java * SimpleAuthAsync.java * UpdateGroupAsync.java * UseSchemaAsync.java The examples also tend to be written in fluent style, which in some cases looks a bit cluttered due to inline declarations. git-svn-id: https://svn.forgerock.org/opendj/trunk@12726 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12725 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12724 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12723 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12721 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Aug, 2015
2 commits
-
Thanks to Jean-Noel for pointing out problems. git-svn-id: https://svn.forgerock.org/opendj/trunk@12720 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12719 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Aug, 2015
1 commit
-
This patch adds a chapter on securing and hardening the server for use in production environments. Thanks to Chris Ridd and Lee Trujillo for review and suggestions. git-svn-id: https://svn.forgerock.org/opendj/trunk@12718 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Aug, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12717 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Aug, 2015
1 commit
-
Removed an "error" message that should only be in access log. git-svn-id: https://svn.forgerock.org/opendj/trunk@12716 41b1ffd8-f28e-4786-ab96-9950f0a78031
31 Jul, 2015
3 commits
-
Fixes a shutdown problem where cursoring through the changelog files was trying to skip didabled domains when none of the domains are enabled. Should also work for the case where a domain is deleted from a running server. git-svn-id: https://svn.forgerock.org/opendj/trunk@12714 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12713 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch avoids an attempt to unpack man pages before they are packaged in the package phase. git-svn-id: https://svn.forgerock.org/opendj/trunk@12712 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Jul, 2015
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12711 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
In fact OPENDJ-2229 was not an issue, so the artifacts are available. git-svn-id: https://svn.forgerock.org/opendj/trunk@12709 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The doc build tools require an entry point, default index.xml, in order to find the man pages to be built. git-svn-id: https://svn.forgerock.org/opendj/trunk@12708 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12707 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12706 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adapts the project files for the move of server doc content. git-svn-id: https://svn.forgerock.org/opendj/trunk@12705 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jul, 2015
1 commit
-
Hand-written docs depend on generated doc sources. In order to move the hand-written docs out of the project, the sources generated from project code must be in artifacts. This initial patch creates the artifacts for man pages and other generated documentation. git-svn-id: https://svn.forgerock.org/opendj/trunk@12703 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jul, 2015
7 commits
-
The real problem is the server is killed before flushing has a chance to run and the fact operations for tree creation do not appear in the journal file. Adding a flag to open tree operations so that we can skip errors on missing trees while the storage is read only. Moreover, verify-index was trying to verify indexes already known to be in degraded state, and printing weird stats about them. git-svn-id: https://svn.forgerock.org/opendj/trunk@12702 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This commit makes all tools consistent in the way that if no arguments are provided on the command line (or only the non prompt argument for interactive tools), tool prints the error and the help reference message on error stream. Changes details: * ArgumentParser ** Create method displayMessageAndUsageReference(), this method is used by tools to print both an error message and the help usage reference message ** getHelpUsageReference() has been moved from SubCommandArgumentParser * DSConfig ** displayErrorMessageAndUsageReference() has been moved to ArgumentParser * CreateRCScript ** Moves the server root path check after the argument parsing in order to have a consistent error message if arguments are invalid. * RebuildIndex * VerifyIndex ** Removed dead code which printed usage if no args were provided (if so, an argument exception is raised before). * MakeLDIF ** Add a main method for test purpose * ArgumentParserToolsTestCase ** Test that tools are consistent if an invalid argument is provided or if no args are provided. Tools modified by this commit are the following: Server tools * Does not print usage anymore ** backup ** base64 (only if no args are provided) ** control-panel ** create-rc-script ** dbtest ** dsjavaproperties ** dsreplication ** encode-password ** export-ldif ** import-ldif ** ldapcompare ** ldapdelete ** ldapmodify ** ldappasswordmodify ** ldapsearch ** ldif-diff ** ldifmodify ** ldifsearch ** make-ldif ** manage-account ** manage-tasks ** rebuild-index ** restore ** setup ** start-ds ** status ** stop-ds ** uninstall ** upgrade ** verify-index * Usage reference message added ** base64 (only if invalid args are provided) SDK tools * Does not print usage anymore ** addrate ** makeldif * Usage reference message added ** authrate ** ldapcompare ** ldapmodify ** ldappasswordmodify ** ldapsearch ** ldifdiff ** ldifmodify ** ldifsearch ** modrate ** searchrate git-svn-id: https://svn.forgerock.org/opendj/trunk@12701 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* MakeLDIFITCase ** Inherits from ToolITCase ** Uses parent checkOutputStreams() method ** Add a test to check that -H displays help ** Code cleanup git-svn-id: https://svn.forgerock.org/opendj/trunk@12700 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* MakeLDIFTestCase -> MakeLDIFITCase to improve consistency in the package. git-svn-id: https://svn.forgerock.org/opendj/trunk@12699 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12698 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch documents an example app that checks an entry against the directory server schema before attempting an LDAP add. git-svn-id: https://svn.forgerock.org/opendj/trunk@12697 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This patch adds an example app that checks an entry against the directory server schema before attempting an LDAP add. git-svn-id: https://svn.forgerock.org/opendj/trunk@12696 41b1ffd8-f28e-4786-ab96-9950f0a78031