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

Matthew Swift
14.09.2012 1dfff197eadcf24823d7915e6eead2a850f679f9
refs
author Matthew Swift <matthew.swift@forgerock.com>
Tuesday, February 14, 2012 17:09 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Tuesday, February 14, 2012 17:09 +0100
commit1dfff197eadcf24823d7915e6eead2a850f679f9
tree 31893f94235abe74bd396884856c22a051338b08 tree | zip | gz
parent 2dba9b9beb52a409bb9d3a5c947704008e8d724e view | diff
Fix OPENDJ-420: Rare SSLExceptions while handling LDAPS connections and big LDAP searches

Re-implement SASL and TLS byte channel support including:

* handle SSL application and packet buffer size changes
* introduce finer grained locking so that reads and writes can be performed concurrently
* handle incoming SASL packets which are bigger than the negotiated buffer size.

9 files modified
1496 ■■■■ changed files
opends/src/server/org/opends/server/api/ClientConnection.java 21 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/ConnectionSecurityProvider.java 18 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/DigestMD5SASLMechanismHandler.java 14 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/GSSAPISASLMechanismHandler.java 15 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/RedirectingByteChannel.java 2 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/SASLByteChannel.java 579 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/SASLContext.java 63 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/TLSByteChannel.java 737 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/ldap/LDAPClientConnection.java 47 ●●●● diff | view | raw | blame | history