private ClientConnection getClientConnection() { for (ConnectionHandler<?> handler : DirectoryServer.getConnectionHandlers()) { for (ClientConnection c : handler.getClientConnections()) { if (c.getConnectionID() == connectionID) { return c; } } } return null; }