11 Dec, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9961 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted method hasGroupMembershipUpdateControl(). In loadGroup(), used StaticUtils.collectionToString(). Automatic code cleanups. git-svn-id: https://svn.forgerock.org/opendj/trunk@9960 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
SetPropSubCommandHandler.java: Extracted methods parseValue() and getPropertyDefinition(). Argument.java: Improved the toString() + javadocs. Minor code cleanups. ArgumentParser.java: Removed one parseArguments() method - never used. Extracted method indentAndWrap() to match SubCommandArgumentParser. Minor code cleanups. SubCommandArgumentParser.java: Removed one parseArguments() method - never used. Minor code cleanups. DsconfigOptionsTestCase.java: Added testGenerateDoc(). Minor code cleanups. git-svn-id: https://svn.forgerock.org/opendj/trunk@9959 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9958 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Dec, 2013
6 commits
-
* ensure that temporary enviroment is always closed. git-svn-id: https://svn.forgerock.org/opendj/trunk@9955 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9954 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9953 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Remove all remaining compilation errors in org.opends.server.admin packages * Replace client.AuthorizationException and client.CommunicateException classes by ErrorResultException from SDK ** Update stylesheets clientMO.xsl and metaMO.xsl to use ErrorResultException in generated code * Replace all javax.naming classes by SDK classes ** Remove JNDIDirContextAdaptor class * Replace all remaining occurences of RDN, DN and Attribute classes from server by SDK classes * Other minor changes git-svn-id: https://svn.forgerock.org/opendj/trunk@9952 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Implemented toString(). Code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@9951 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9950 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Dec, 2013
12 commits
-
…ach import. This shouldn't be necessary since there is only one suffix per backend. git-svn-id: https://svn.forgerock.org/opendj/trunk@9949 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9948 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9947 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9946 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9945 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9944 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Matthew Swift Regression caused by the fix for OPENDJ-948 unauthorized disclosure of directory contents. The code was looking for the entry matching the DN we are adding which obviously was null here. Since it was null, the code went on to wrongly check the following conditions: op.isInternalOperation() || op.isSynchronizationOperation() || op.isInnerOperation(). The correct fix was to avoid calling AccessControlHandler.canDiscloseInformation() where it did not make sense at all, when there was no info to protect yet. LocalBackend*Operation.java: Do not call the setResultCodeAndMessageNoInfoDisclosure() when we fail to grab a lock, because this is not disclosing any sensitive information at that point. LocalBackendAddOperation.java: Do not call the setResultCodeAndMessageNoInfoDisclosure() when we fail to grab a lock, because this is not disclosing any sensitive information at that point. In lockParent(), reversed the exception to make the code easier to read. LocalBackendModifyDNOperation.java: Do not call the setResultCodeAndMessageNoInfoDisclosure() when we fail to grab a lock, because this is not disclosing any sensitive information at that point. In newDirectoryException(), removed the entryDN parameter since now this method is always called with a non null entry. AciHandler.java: Code cleanup git-svn-id: https://svn.forgerock.org/opendj/trunk@9943 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9942 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationServerDomain.java: Fixed NPEs in stopStatusAnalyzer() and stopMonitoringPublisher(). In getEligibleCSN(), removed useless null checks. ServerWriter.java: Code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@9941 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9940 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9939 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Test cleanup: stop the indexer thread after each test method has finished running. TestListener.java: Automatic code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@9938 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Dec, 2013
16 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9937 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9936 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Reducing compilation errors in org.opends.server.admin packages * Convert AttributeValue class from server to SDK compliant code * Add new interface ConfigurationRepository to simplify ConfigEntry * Add AciException class from server * Add extension.properties file from server * Add validation of XML core definitions ** Add catalog.xml file to handle references to other schema files * Other minor changes git-svn-id: https://svn.forgerock.org/opendj/trunk@9935 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…s a user with insufficient access rights Fixed ConcurrentModificationException introduced in r7972 for OPENDJ-475: Incorrect behaviour/result code regarding non-critical controls. The ConcurrentModificationExcepotion was hidden via several method calls, but generally it takes such form: 1. for (Control c : Operation.getRequestControls()) - directly or via indirect calls 2. AccessControlHandler.isAllowed() 2.1. Operation.removeRequestControl() 3. ConcurrentModificationException on next loop iteration at 1. LocalBackendWorkflowElement.java: Replaced isControlAllowed() by removeAllDisallowedControls() that uses Iterator.remove() instead of Operation.removeRequestControl(). LocalBackend*Operation.java: In handleRequestControls(), processControls() and processRequestControls(), called LocalBackendWorkflowElement.removeAllDisallowedControls() before the for loop + removed call to LocalBackendWorkflowElement.isControlAllowed() in the loop body. Tiny code cleanups. ExtendedOperationBasis.java, ECLSearchOperation.java: Used Iterator.remove() instead of Operation.removeRequestControl(). MultimasterReplication.java: In findDomain(), used Iterator.remove() instead of Operation.removeRequestControl() + simplified the while loop code. Operation.java, OperationWrapper.java, PreParseOperation.java: Removed now unused removeRequestControl(). AbstractOperation.java: Consequence of the change to Operation. little code tidy up. git-svn-id: https://svn.forgerock.org/opendj/trunk@9934 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted method normalizeArguments(). Made printVersion() protected. SubCommandArgumentParser.java: Removed normalizeArguments() and printVersion(). Extracted method indentAndWrap2(). In isUsageArgumentPresent() and isVersionArgumentPresent(), code cleanup. In toRefSect2(), used a StringBuilder. git-svn-id: https://svn.forgerock.org/opendj/trunk@9933 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- fixed upgrade (removed white spaces in upgrade tasks, added Filter instead of LDAPFilter, added matcher and setting schema default matching rule/syntax.) git-svn-id: https://svn.forgerock.org/opendj/trunk@9932 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Moved try / catch / ignore inside getUsage() methods. Extracted method printVersion(), dashVAccepted() and normalizeArguments(). Code cleanups. git-svn-id: https://svn.forgerock.org/opendj/trunk@9931 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Keep checkstyle happy git-svn-id: https://svn.forgerock.org/opendj/trunk@9930 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9929 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- fixed Rebuild Index git-svn-id: https://svn.forgerock.org/opendj/trunk@9928 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* improve code for tracking thread count changes. git-svn-id: https://svn.forgerock.org/opendj/trunk@9927 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…mentStats appearing frequently in debug logs * avoiding collecting buggy stats. git-svn-id: https://svn.forgerock.org/opendj/trunk@9926 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AbstractOperation.java: Replaced javadocs duplicated from Operation interface by {@inheritDoc}. Put {@inheritDoc} on one line only. Removed empty lines. Little code formatting. git-svn-id: https://svn.forgerock.org/opendj/trunk@9925 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
WhoAmIExtendedOperation.java: Initialized supportedControlOIDs once and for all. Applied automatic refactorings ECLSearchOperation.java: Applied automatic refactorings git-svn-id: https://svn.forgerock.org/opendj/trunk@9924 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added unit tests about CaseExactMatchingRule && CaseIgnoreMatchingRule use. git-svn-id: https://svn.forgerock.org/opendj/trunk@9923 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ckend being empty, which is not necessarily the case if previous unit tests have performed any tasks. git-svn-id: https://svn.forgerock.org/opendj/trunk@9922 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Dec, 2013
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9921 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9920 41b1ffd8-f28e-4786-ab96-9950f0a78031