OPENAM-2671: LDAPConnectionPool.getConnFromPool could lead to ArrayIndexOutOfBoundsException

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@5893 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-1511: closing of LDAPConnection in LDAPConnectionPool is not synchronized

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@5896 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d