mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
12.17.2013 3945d5b6c83388fbdeb0cf0c85052563badff04f
refs
author Matthew Swift <matthew.swift@forgerock.com>
Thursday, December 12, 2013 18:17 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, December 12, 2013 18:17 +0100
commit3945d5b6c83388fbdeb0cf0c85052563badff04f
tree 11a18edc687de92f5c0bea7c3a0c253c5c957421 tree | zip | gz
parent db3336e30e64052504fdc8f89914b97e4baa1ebb view | diff
Fix OPENDJ-1247: Client side timeouts do not cancel bind or startTLS requests properly

* 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.
1 files added
8 files modified
741 ■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldap/TimeoutChecker.java 82 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/spi/AbstractLDAPFutureResultImpl.java 64 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/spi/LDAPBindFutureResultImpl.java 9 ●●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/spi/LDAPExtendedFutureResultImpl.java 7 ●●●● diff | view | raw | blame | history
opendj-grizzly/pom.xml 17 ●●●●● diff | view | raw | blame | history
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyLDAPConnection.java 159 ●●●●● diff | view | raw | blame | history
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/GrizzlyLDAPConnectionFactory.java 5 ●●●● diff | view | raw | blame | history
opendj-grizzly/src/main/resources/com/forgerock/opendj/grizzly/grizzly.properties 33 ●●●●● diff | view | raw | blame | history
opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/GrizzlyLDAPConnectionFactoryTestCase.java 365 ●●●● diff | view | raw | blame | history