10 Feb, 2014
2 commits
-
Output throwable class names and message in the trace. StaticUtilsTestCase.java: Added more tests + fixed the existing ones. git-svn-id: https://svn.forgerock.org/opendj/trunk@10331 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted DataProvider methods. git-svn-id: https://svn.forgerock.org/opendj/trunk@10330 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Feb, 2014
2 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
-
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
3 commits
-
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
-
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
04 Feb, 2014
2 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
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10261 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jan, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10192 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jan, 2014
2 commits
-
* moved closeSilently() methods and a couple of others from StaticUtils to forgerock-utils * bumped dependency on forgerock-utils to 1.3.0-SNAPSHOT * all remaining Findbugs warnings are just noise. It's a shame that it's not possible to use @SuppressWarnings("findbugs"). git-svn-id: https://svn.forgerock.org/opendj/trunk@10187 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
* on my machine, which has IPv6 networking, the test for invalid IPv6 address masks was taking 60 seconds to complete, or 10s per attempted decode * use reflection to invoke sun.net.util.IPAddressUtil#isIPv6LiteralAddress() if it is available. git-svn-id: https://svn.forgerock.org/opendj/trunk@10186 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Jan, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10178 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10177 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Jan, 2014
1 commit
-
… compared to opendj-ldap-sdk so they are documented. pom.xml: Now depends on forgerock-parent 1.2.1-SNAPSHOT to inherit clirr profile. opendj-core/pom.xml: Added clirr-maven-plugin to the build and report plugins due to the use of <comparisonArtifacts> instead of <comparisonVersion>. opendj-core/clirr-ignored-api-changes.xml: Added to trigger clirr checks + ignore and document changes compared to opendj-ldap-sdk. git-svn-id: https://svn.forgerock.org/opendj/trunk@10169 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Jan, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10165 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Jan, 2014
1 commit
-
…are not always forced to sub-class from SdkTestCase. git-svn-id: https://svn.forgerock.org/opendj/trunk@10153 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Jan, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10142 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Jan, 2014
2 commits
-
to align class with ByteStringBuilder class from server 2.x git-svn-id: https://svn.forgerock.org/opendj/trunk@10121 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
to align class with ByteStringBuilder class from server 2.x git-svn-id: https://svn.forgerock.org/opendj/trunk@10118 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Jan, 2014
7 commits
-
* added ByteStringBuilder.asOutputStream() * added test case illustrating compression. git-svn-id: https://svn.forgerock.org/opendj/trunk@10111 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10110 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* throw LocalizedIllegalArgumentException in ByteString.valueOfHex() instead of ParseException and align with other methods * move StaticUtils.hexToByte() to ByteString and make it private * improve hexToByte() error handling. git-svn-id: https://svn.forgerock.org/opendj/trunk@10109 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10108 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
class in favor of equivalent methods in ByteString class git-svn-id: https://svn.forgerock.org/opendj/trunk@10107 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* rename LDAP{ConnectionFactory|Listener}.getHostname() to getHostName() * change LDAP{ConnectionFactory|Listener}.getAddress() to return InetSocketAddresses * change constructors to only accept InetSocketAddresses instead of more generic SocketAddress * ensure that LDAP{ConnectionFactory|Listener}.getAddress() returns an address which represents the exact socket address passed in during construction, except in the case where a listener is created with port 0 where we return the selected port * modify LDAP{ConnectionFactory|Listener}.getHostName() to return whatever was provided as the host name during construction, which may have been a raw IP address. This avoids attempts to perform a reverse DNS lookup in the case where the provided host name was an IP address and, in particular, avoids DNS timeouts in environments where there is no DNS * modify client bind processing to use LDAPConnectionFactory.getHostName() as the server name used for SASL authentication, and avoid any potential DNS delays as a result. git-svn-id: https://svn.forgerock.org/opendj/trunk@10106 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
* Align class with ByteString class from server 2.x git-svn-id: https://svn.forgerock.org/opendj/trunk@10100 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Dec, 2013
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10056 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
** Localize exception ** Return exception for all edge cases ** Add two new messages in core.properties for edge cases * Add two new convenience methods LDIF makeEntries and makeEntry that accepts List<String> * Adapt unit tests to changes git-svn-id: https://svn.forgerock.org/opendj/trunk@10051 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Dec, 2013
1 commit
-
* Add both methods to Entries class as well (indirection to LDIF implementations). * Add test for both methods in LDIFTestCase. git-svn-id: https://svn.forgerock.org/opendj/trunk@10047 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Dec, 2013
3 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10031 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10029 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10026 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Dec, 2013
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10017 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10015 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ease creation of entries from LDIF lines in test cases. git-svn-id: https://svn.forgerock.org/opendj/trunk@10012 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* change to 3 seconds. git-svn-id: https://svn.forgerock.org/opendj/trunk@10009 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Dec, 2013
3 commits
-
Adding built-in support for Active Directory Change Notifications git-svn-id: https://svn.forgerock.org/opendj/trunk@10001 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…Rule.getSubstringAssertion(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10000 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9999 41b1ffd8-f28e-4786-ab96-9950f0a78031