07 Feb, 2014
4 commits
-
Now implements Closeable. git-svn-id: https://svn.forgerock.org/opendj/trunk@10311 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Removed default CLI value from ListenerSettings. - Modified CLI to add default values to ldap port, admin port, etc... and unit tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@10304 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10303 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Extracted CLI arguments identifiers from CliConstants to ArgumentConstants. - Moved default CLI values like DEFAULT_LDAP_PORT, DEFAULT_ADMIN_PORT to CliConstants. - Code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@10302 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Feb, 2014
7 commits
-
* ByteStringBuilder - cache the output stream view * ASN1*Writer - truncate cached internal buffers if they grow too big. git-svn-id: https://svn.forgerock.org/opendj/trunk@10299 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added opendj-server3x-adapter to map the SDK Connection to an Internal Client Connection. This module will only be used to link the opendj3-server-dev branch to opendj-rest2ldap. This module will be deleted once the opendj3-server-dev branch uses only the OpenDJ SDK 3 types. git-svn-id: https://svn.forgerock.org/opendj/trunk@10297 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added subcommand for Setup CLI. - Added logger. - Removed javacheckversion from model. The function is now in the Utils. - Added unit tests for subcommands. git-svn-id: https://svn.forgerock.org/opendj/trunk@10296 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added opendj-server3x-adapter to map the SDK Connection to an Internal Client Connection. This module will only be used to link the opendj3-server-dev branch to opendj-rest2ldap. This module will be deleted once the opendj3-server-dev branch uses only the OpenDJ SDK 3 types. git-svn-id: https://svn.forgerock.org/opendj/trunk@10295 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Renamed CommonArguments which are used here. git-svn-id: https://svn.forgerock.org/opendj/trunk@10294 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added ReturnCode class. - Added/Renamed common arguments. - Added messages. git-svn-id: https://svn.forgerock.org/opendj/trunk@10293 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Matthew Swift ByteStringBuilder.java: Renamed clear(int capacity) to clearAndTruncate(int thresholdCapacity, int newCapacity). Minor code cleanups. ASN1OutputStreamWriter.java In writeEndSequence(), moved some code to ByteStringBuilder.clearAndTruncate() + called the latter. ByteStringBuilderTestCase.java: Added tests for ByteStringBuilder.clearAndTruncate(). Added method "_" to ease bytes readability. git-svn-id: https://svn.forgerock.org/opendj/trunk@10287 41b1ffd8-f28e-4786-ab96-9950f0a78031
05 Feb, 2014
11 commits
-
Remove dependency on server ACI support: * use regular expression for basic validation. The RE is taken from the server's Aci class * change value type of ACI properties from "Aci" to "String". git-svn-id: https://svn.forgerock.org/opendj/trunk@10286 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* rename ConfigurationFramework#isEnabled() to isInitialized(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10285 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* removed dependencies on DirectoryServer class * renamed ClassLoaderProvider to ConfigurationFramework to make its responsibility for overall management of the configuration framework more obvious * removed PropertyDefinitionsOptions and replaced with single "isClient" getter/setter in ConfigurationFramework. This is now used throughout the framework * use default schema throughout. If we need to add support for customization of the schema then we could provide the capability via the ConfigurationFramework class * pass in install/instance paths to ConfigurationFramework during initialization. Default to "user.dir" property if no paths are provided. git-svn-id: https://svn.forgerock.org/opendj/trunk@10284 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… running as a windows service git-svn-id: https://svn.forgerock.org/opendj/trunk@10280 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server. Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category). More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api. StaticUtils.java, *.java: Removed DEFAULT_LOG and DEFAULT_LOGGER_NAME + replaced every uses of it by using per class LocalizedLoggers. git-svn-id: https://svn.forgerock.org/opendj/trunk@10279 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server. Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category). More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api. StaticUtils.java, *.java: Removed DEFAULT_LOG and DEFAULT_LOGGER_NAME + replaced every uses of it by using per class LocalizedLoggers. git-svn-id: https://svn.forgerock.org/opendj/trunk@10278 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Modified classes for their future use in the opendj3-server-dev - Migrate tests from server. git-svn-id: https://svn.forgerock.org/opendj/trunk@10276 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server. Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category). More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api. StaticUtils.java, *.java: Removed CONTROLS_LOG and SCHEMA_LOG + replaced every uses of it by using per class LocalizedLoggers. git-svn-id: https://svn.forgerock.org/opendj/trunk@10275 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server. Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category). More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api. StaticUtils.java, *.java: Removed IO_LOG + replaced every uses of it by using per class LocalizedLoggers. pom.xml: Added a compile time dependency to 18n-slf4j. OpenDJLoggerAdapter.java: Removed an empty line. git-svn-id: https://svn.forgerock.org/opendj/trunk@10274 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10272 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…en passing 'ServerSocket' in parameter. git-svn-id: https://svn.forgerock.org/opendj/trunk@10270 41b1ffd8-f28e-4786-ab96-9950f0a78031
04 Feb, 2014
6 commits
-
Code review: Matthew Swift Preparation work to allow opendj3-server-dev branch to use the SDK ASN1 types. ASN1.java: Added UNIVERSAL_BIT_STRING_TYPE. Reordered the UNIVERSAL_* fields. Made a few TYPE_MASK_* public. Added getWriter(ByteStringBuilder, int maxBufferSize) Added getWriter(OutputStream, int maxBufferSize) ASN1Reader.java, ASN1*Reader: Added readEndExplicitTag() and readStartExplicitTag(). ASN1OutputStreamWriter.java, ASN1OutputStreamWriterTestCase.java: Changed ASN1OutputStreamWriter(OutputStream) to ASN1OutputStreamWriter(OutputStream, int maxBufferSize) + updated the test. Added maxBufferSize field and used it in writeEndSequence(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10269 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
OPENDJ-1301 Implement model for installing OpenDJ as a directory server - Added package org.forgerock.opendj.server.setup.model - Added unit tests **************************************************************************** OPENDJ-1306 Implement setup CLI for directory server - Added package org.forgerock.opendj.server.setup.cli - Added unit tests **************************************************************************** - modified pom to add a dependency on the opendj-CLI module. - added some classes needed by the setup see : package org.opends.server.types (TODO those files are just here temporary, they will be removed!). git-svn-id: https://svn.forgerock.org/opendj/trunk@10266 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… into a separate Maven module, "opendj-cli" - Added SubCommand && SubCommandParser. - Added more commonsArguments. - Replaced "double" in IntegerArgument to "int". - Added LINE_SEPARATOR in Utils. - Updated Constants. - Updated messages. git-svn-id: https://svn.forgerock.org/opendj/trunk@10265 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Used Utils.joinAsString(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10262 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10261 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10259 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Feb, 2014
3 commits
-
…ting a password validator git-svn-id: https://svn.forgerock.org/opendj/trunk@10252 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10243 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10242 41b1ffd8-f28e-4786-ab96-9950f0a78031
31 Jan, 2014
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10240 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…Directory Change Notifications git-svn-id: https://svn.forgerock.org/opendj/trunk@10230 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10229 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…nfig which is now defined in the parent. git-svn-id: https://svn.forgerock.org/opendj/trunk@10226 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Jan, 2014
2 commits
-
Migrate I18n and logging support to i18n framework and SLF4J * Update OpendDJLoggerAdapter class ** Adapt to methods change from DebugTracer class ** Use of LoggingCategoryNames to convert from class name to simplified category name (eg, CORE) * Move adapter and factory to org.opends.server.logger package, to share same package than openDJ logger classes git-svn-id: https://svn.forgerock.org/opendj/trunk@10220 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
To do so, one will need to add an auxiliary objectclass in the password policy subentry and the mandatory ds-cfg-password-validator attribute (value is the DN of the validator in cn=config DIT). git-svn-id: https://svn.forgerock.org/opendj/trunk@10215 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jan, 2014
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10209 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… module, "opendj-cli" - Add dependency to opendj-cli module. - Classes modified in order to take into account this change. - Fixed comments. git-svn-id: https://svn.forgerock.org/opendj/trunk@10207 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10205 41b1ffd8-f28e-4786-ab96-9950f0a78031