public interface BaseLdap
BaseLdap provides a base interface for all ldap implementations.| Modifier and Type | Method and Description |
|---|---|
void |
close()
This will close the connection to the LDAP.
|
boolean |
connect()
This will establish a connection to the ldap.
|
boolean |
reconnect()
This will close the connection to the LDAP and establish a new connection.
|
boolean connect()
throws NamingException
boolean - whether the connection was successfullNamingException - if the LDAP cannot be reachedboolean reconnect()
throws NamingException
boolean - whether the connection was successfullNamingException - if the LDAP cannot be reachedvoid close()
Copyright © 2018. All rights reserved.