20 Jul, 2015
1 commit
-
* Note that this migration just solved compilation issues, it does not try to take benefits from the apis enhancements. * The major change is that org.forgerock.opendj.ldap.ResultHandler has been renamed to org.forgerock.opendj.ldap.LdapResultHandler.java to prevent conflicts with the org.forgerock.util.promise.ResultHandler git-svn-id: https://svn.forgerock.org/opendj/trunk@12687 41b1ffd8-f28e-4786-ab96-9950f0a78031
01 Jun, 2015
1 commit
-
This patch has the side effect of removing some trailing spaces. git-svn-id: https://svn.forgerock.org/opendj/trunk@12386 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 May, 2015
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12354 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12352 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Apr, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@12169 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Mar, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11939 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jan, 2015
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11660 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Nov, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11357 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Nov, 2014
1 commit
-
…actory and GrizzlyLDAPConnectionFactory To avoid code duplication and makes API more fluent, we have merged HBCF, ACF and GCF by creating an AbstractLdapConnectionFactoryImpl. The new connection skeletal associated is AbstractLdapConnectionImpl. This is a sub-optimal solution, there is still some concurrency issues to address in AbstractLdapConnecitonImpl. git-svn-id: https://svn.forgerock.org/opendj/trunk@11348 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Nov, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11331 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Nov, 2014
1 commit
-
AttributeFilter.java: In toString(), removed use of 'isFirst' local variable by checking the StringBuilder's length. git-svn-id: https://svn.forgerock.org/opendj/trunk@11297 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Oct, 2014
1 commit
-
Collapsed else { if (...){...} } into else if (...) {...} Reversed boolean equals conditions using constants. In tests, used the correct assert*() methods. git-svn-id: https://svn.forgerock.org/opendj/trunk@11224 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Oct, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11174 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11168 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Oct, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11160 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- removed useless parentheses - added parentheses to disambiguate expressions - removed useless use of "this" keyword in method calls - removed useless null checks in conjunction with use of instanceof operator *.java: Manually extracted local variables. OperatingSystem.java: Manually changed the code to use String.contains() git-svn-id: https://svn.forgerock.org/opendj/trunk@11158 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Oct, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11146 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Oct, 2014
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11142 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Sep, 2014
1 commit
-
* org.forgerock.opendj.ldap package: ** Rename FutureResult to LdapPromise ** Rename FutureResultImpl to LdapPromiseImpl and move it to org.forgerock.opendj.ldap.spi ** Rename the util class FutureResultWrapper to LdapPromises and move it to org.forgerock.opendj.ldap.spi package ** Solve some bugs in HeartBeatConnectionFactory class org.forgerock.opendj.ldap.spi ** Merge old LDAPFutureResultImpl and AbstractLDAPFutureResultImpl and rename it as ResultLdapPromiseImpl ** Remove AbstractLDAPFutureResultImpl, LDAPFutureResultImpl and LDAPCompareFutureResultImpl ** Rename LDAP[Bind | Extended | Search]FutureResultImpl to [Bind | Extended | Search]ResultLdapPromiseImpl ** Add static methods in LdapPromises to return *LdapPromiseImpl instances git-svn-id: https://svn.forgerock.org/opendj/trunk@11065 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Sep, 2014
1 commit
-
…and remove ErrorResultIOException git-svn-id: https://svn.forgerock.org/opendj/trunk@11019 41b1ffd8-f28e-4786-ab96-9950f0a78031
15 Sep, 2014
1 commit
-
Connection, ConnectionFactory, ResultHandler and SearchResultHandler public APIs have been changed. * Connection.java In all xxxAsync method, the final handler parameter will be removed and the client is expected to register the handler with the returned promise. For search request, a SearchResultHandler is still required because it needs to handle search result entries/references. * ConnectionFactory.java In the method getConnectionAsync(), the final handler parameter will be removed. * ResultHandler.java Now extends SuccessHandler and FailureHandler in order to allow usage of then() method call. * SearchResultHandler.java Remove the inheritance link with ResultHandler. So client needs to register a ResultHandler instance when he calls searchAsync in addition to register a SearchResultHandler. git-svn-id: https://svn.forgerock.org/opendj/trunk@11001 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 May, 2014
2 commits
-
In toString(), simplified and improved code. git-svn-id: https://svn.forgerock.org/opendj/trunk@10749 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10747 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Feb, 2014
2 commits
-
…erver() to match @BeforeClass git-svn-id: https://svn.forgerock.org/opendj/trunk@10446 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
2 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
-
* 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
06 Feb, 2014
1 commit
-
* 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
05 Feb, 2014
2 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@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 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
1 commit
-
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
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
08 Jan, 2014
1 commit
-
* 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
19 Dec, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10029 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Dec, 2013
1 commit
-
* fail the connection when a bind or startTLS request times out * ensure that abandon requests are sent for other types of operation * fix a bug which meant that the timeout checker could fail to enforce timeouts for the first LDAP connection * minor improvements: only register connections which have a non-zero timeout; remove duplicate requestID field from LDAP future implementation * added unit tests. These tests are a bit too functional at the moment and will be split up in a subsequent change. git-svn-id: https://svn.forgerock.org/opendj/trunk@9975 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Dec, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9945 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Nov, 2013
3 commits
-
…runk once the new Maven module and package layout has been validated * move all classes to public org.* package so that they get Javadoc, except for GrizzlyTransportProvider. git-svn-id: https://svn.forgerock.org/opendj/trunk@9850 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…runk once the new Maven module and package layout has been validated * fix grizzly module site generation * add links for sub-module Javadoc * add link for server 2x adapter * clean up examples site. git-svn-id: https://svn.forgerock.org/opendj/trunk@9849 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…runk once the new Maven module and package layout has been validated * convert opendj-ldap-sdk module into a Maven group (pom + only dependencies) * kept old opendj-ldap-sdk site as primary "About" page in order to avoid breaking bookmarks and links. The opendj-core module's site is hidden * remove all sub-module site.xml files and instead inherit menus from parent * switch SDK Javadoc URLs to point at opendj-core Javadoc since opendj-ldap-sdk Javadoc is stale * add simple place holder index.xml.vm site pages for most sub-modules * change how we document getting the binaries: instead reference the dependencies report. Although slight less helpful to the reader, at least the links won't become stale. git-svn-id: https://svn.forgerock.org/opendj/trunk@9845 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Nov, 2013
1 commit
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9840 41b1ffd8-f28e-4786-ab96-9950f0a78031