06 Mar, 2014
2 commits
-
in "tests" jar to allow usage by other modules * Handle property methods with booleans * Default to mockito behavior (default values) for non-property methods or property methods with no default value in configuration * Add more unit tests to ConfigurationMockTest class git-svn-id: https://svn.forgerock.org/opendj/trunk@10487 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… an LDAP Password Modify extended operation git-svn-id: https://svn.forgerock.org/opendj/trunk@10486 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Mar, 2014
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10483 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added ByteStringBuilder(ByteSequence) and setByte(int, byte). ByteStringBuilderTestCase.java: Added tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@10481 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Preparation work for adding the index query factory support code. AbstractMatchingRuleImpl.java: Renamed DefaultEqualityAssertion to DefaultAssertion. Made DefaultAssertion ctor private. Added equality() and approximate() static methods + indexID field to DefaultAssertion. *.java: Consequence of this change. Some code cleanups. CertificateExactMatchingRuleImpl.java: Reworked the code a bit + extracted method normalizeDN(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10480 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10479 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10476 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Mar, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10475 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10471 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Mar, 2014
11 commits
-
…a schema that can be changed, leading to unexpected behavior * SchemaBuilder: use Reject for ensuring that matching rules and syntaxes have not already been validated when they are added to a schema builder * Syntax: inherit matching rules from default syntax * SyntaxTestCase: remove invalid testCreatesEmptySyntax() test, add two tests for default syntax substitution. git-svn-id: https://svn.forgerock.org/opendj/trunk@10468 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10467 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10466 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
that can be changed, leading to unexpected behavior * Duplicate syntaxes and matching rules when they are taken from another schema * Add new methods buildSyntax() and buildMatchingRule() to allow addition without lazy initialization * Add new method isValidated() to check if a syntax or a matching rule has been validated * Remove workarounds from unit tests git-svn-id: https://svn.forgerock.org/opendj/trunk@10465 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10462 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Removed unreachable code. Renamed trimConsecutiveSpacesInStringList() into trimUnnecessarySpacesInStringList(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10461 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Made code more readable by extracting method canMapToSpace(). In prepareUnicode(), extracted local variable 'b' earlier in the code. Inlined map() method. Code cleanup. SchemaUtils.java: Removed used of temporary LocalizableMessage variables + useless comments. SchemaUtilsTest.java: Added testNormalizeNumericString(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10460 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added more tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@10459 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Change visibility of ServerManagementContext constructor to public to enable instantiation from other package. git-svn-id: https://svn.forgerock.org/opendj/trunk@10458 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add configuration for schema providers * SchemaProviderConfiguration : abstract definition of provider * CoreSchemaProviderConfiguration : provides the core schema, including core matching rules and syntaxes * RootConfiguration : includes one-to-many relation to schema providers git-svn-id: https://svn.forgerock.org/opendj/trunk@10456 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Tests fail randomly depending on order of tests run due to this issue. The workaround allow to ensure matching rules from the core schema are not corrupted. git-svn-id: https://svn.forgerock.org/opendj/trunk@10454 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Mar, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10452 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Feb, 2014
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10451 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Factorized duplicated code from org.forgerock.opendj.ldap.schema into SchemaUtils.java git-svn-id: https://svn.forgerock.org/opendj/trunk@10449 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Preparation work for removing org.opends.server.api.MatchingRule.normalizeAssertionValue(). Updated copyright for r10447. Assertion.java: In matches(), renamed attributeValue parameter to normalizedAttributeValue. MatchingRuleImpl.java: In getAssertion(), renamed value parameter to assertionValue. Fixed javadocs. AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java: ADDED Made the relevant approximate and equality matching rule classes subclass these new ones. AbstractMatchingRuleImpl.java: In getAssertion(), returned UNDEFINED_ASSERTION. Extracted method trimConsecutiveSpaces() here from several places in the code. WordEqualityMatchingRuleImpl.java: REMOVED Implementation was the same as KeywordEqualityMatchingRuleImpl so reused that class instead + updated CoreSchemaImpl. KeywordEqualityMatchingRuleImpl.java: Extracted method isAcceptable(). Removed useless calls to String.intern() on String literals. IntegerFirstComponentEqualityMatchingRuleImpl.java: In getAssertion(), used DefaultEqualityAssertion instead of custom built Assertion. EnumSyntaxTestCase.java: Made the code more readable. *.java: Simplified code by using ConditionResult.valueOf(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10448 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Preparation work for removing org.opends.server.api.MatchingRule.normalizeAssertionValue(). Assertion.java: In matches(), renamed attributeValue parameter to normalizedAttributeValue. MatchingRuleImpl.java: In getAssertion(), renamed value parameter to assertionValue. Fixed javadocs. AbstractApproximateMatchingRuleImpl.java, AbstractEqualityMatchingRuleImpl.java: ADDED Made the relevant approximate and equality matching rule classes subclass these new ones. AbstractMatchingRuleImpl.java: In getAssertion(), returned UNDEFINED_ASSERTION. Extracted method trimConsecutiveSpaces() here from several places in the code. WordEqualityMatchingRuleImpl.java: REMOVED Implementation was the same as KeywordEqualityMatchingRuleImpl so reused that class instead + updated CoreSchemaImpl. KeywordEqualityMatchingRuleImpl.java: Extracted method isAcceptable(). Removed useless calls to String.intern() on String literals. IntegerFirstComponentEqualityMatchingRuleImpl.java: In getAssertion(), used DefaultEqualityAssertion instead of custom built Assertion. EnumSyntaxTestCase.java: Made the code more readable. *.java: Simplified code by using ConditionResult.valueOf(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10447 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…erver() to match @BeforeClass git-svn-id: https://svn.forgerock.org/opendj/trunk@10446 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
add '/' to make the path absolute, to ensure manifest is found when using opendj-config as a jar dependency git-svn-id: https://svn.forgerock.org/opendj/trunk@10445 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fix build break: use older JDK6 socket option APIs. git-svn-id: https://svn.forgerock.org/opendj/trunk@10444 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Feb, 2014
4 commits
-
* throw a connect error when a connection attempt times out instead of a timeout error, as it seems more appropriate. git-svn-id: https://svn.forgerock.org/opendj/trunk@10441 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* improve Javadoc for TimeoutEventListener.handleTimeout() git-svn-id: https://svn.forgerock.org/opendj/trunk@10440 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* added support for setting connect timeout in LDAPOptions * added support for other common socket options: TCP nodelay, keepalive, linger, and reuseaddr git-svn-id: https://svn.forgerock.org/opendj/trunk@10439 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added CONFLICTING_ARGS to ReturnCode. - Added canWrite() to Utils + unit tests. - Replaced calls to org.opends.quicksetup.util.Utils.canWrite by com.forgerock.opendj.cli.Utils.canWrite. - Removed the TablePrinter classes from org.opends.server.util.table as they are now in the opendj-cli. - Minor code cleanup on DSConfig package. (reorganize imports). git-svn-id: https://svn.forgerock.org/opendj/trunk@10435 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Feb, 2014
1 commit
-
SDK DN class Purpose is to ease migration to OpenDJ 3 server by minimizing code that breaks. git-svn-id: https://svn.forgerock.org/opendj/trunk@10434 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Feb, 2014
1 commit
-
SDK Entry class Purpose is to ease migration to OpenDJ 3 server by minimizing code that breaks. git-svn-id: https://svn.forgerock.org/opendj/trunk@10430 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Feb, 2014
4 commits
-
- Replaced harcoded "\n" by ServerConstants.EOL. git-svn-id: https://svn.forgerock.org/opendj/trunk@10425 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Minor Javadoc improvements: document default values for deleteOldRDN and newSuperior for modify DN operations. git-svn-id: https://svn.forgerock.org/opendj/trunk@10424 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…arget server is powered off and restarted * HeartBeatConnectionFactory: check for heartbeat timeouts when there is a bind/startTLS in progress. Use the pending bind/startTLS as a proxy for the heartbeat request * CachedConnectionPool: flush all pending connection futures if an attempt to establish a new pooled connection fails. Improve statistics in toString() representation to make problems easier to diagnose during debugging * AbstractLoadBalancingAlgorithm: minor change - notify event listeners after closing the monitoring connection so that statistics are more accurate. Reviewed by Jean-Noel. git-svn-id: https://svn.forgerock.org/opendj/trunk@10423 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Replaced some argument names by their long identifier.toLowerCase() (in CommonArguments ). - Replaced "trustAll" -> CommonArguments.getTrustAll() - Replaced "showUsage"/"help" -> CommonArguments.getShowUsage() - Renamed sslBlindTrust by trustAll in LDAPPasswordModify.java - Added OPTION_LONG_RESTART to ArgumentConstants. - Replaced "restart" string in StopDS.java by OPTION_LONG_RESTART. - Replaced argument declaration by CommonArguments.getRestart(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10422 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Feb, 2014
2 commits
-
- Fixed build in SetupCli. Added message + replaced importLDIF to getLDIFFile. git-svn-id: https://svn.forgerock.org/opendj/trunk@10420 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added javadoc for arguments which share the same short ID. (TBC...) - added argument constants. git-svn-id: https://svn.forgerock.org/opendj/trunk@10418 41b1ffd8-f28e-4786-ab96-9950f0a78031