@Override public synchronized void close(final RequestControl[] controls) { try { if (isOpen()) { providerConnection.close(controls); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } }
@Override public synchronized void close() { try { if (isOpen()) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } }
@Override public synchronized void close(final RequestControl[] controls) { try { if (isOpen()) { providerConnection.close(controls); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } }
@Override public synchronized void close(final RequestControl[] controls) { try { if (isOpen()) { providerConnection.close(controls); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } }
@Override public synchronized void close() { try { if (isOpen()) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } }
@Override public synchronized void close() { try { if (isOpen()) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } }
@Override public synchronized Response<Void> reopen(final BindRequest request) throws LdapException { try { if (providerConnection != null) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } providerConnection = providerConnectionFactory.create(); return providerConnection.bind(request); }
@Override public synchronized Response<Void> reopen(final BindRequest request) throws LdapException { try { if (providerConnection != null) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } providerConnection = providerConnectionFactory.create(); return providerConnection.bind(request); }
@Override public synchronized Response<Void> reopen(final BindRequest request) throws LdapException { try { if (providerConnection != null) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } providerConnection = providerConnectionFactory.create(); return providerConnection.bind(request); }
@Override public synchronized Response<Void> reopen() throws LdapException { try { if (providerConnection != null) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } providerConnection = providerConnectionFactory.create(); if (config.getConnectionInitializer() != null) { return config.getConnectionInitializer().initialize(this); } else { return new Response<>(null, null); } }
@Override public synchronized Response<Void> reopen() throws LdapException { try { if (providerConnection != null) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } providerConnection = providerConnectionFactory.create(); if (config.getConnectionInitializer() != null) { return config.getConnectionInitializer().initialize(this); } else { return new Response<>(null, null); } }
@Override public synchronized Response<Void> reopen() throws LdapException { try { if (providerConnection != null) { providerConnection.close(null); } } catch (LdapException e) { logger.warn("Error closing connection with the LDAP", e); } finally { providerConnection = null; } providerConnection = providerConnectionFactory.create(); if (config.getConnectionInitializer() != null) { return config.getConnectionInitializer().initialize(this); } else { return new Response<>(null, null); } }