public interface ContextBuilder
| Modifier and Type | Method and Description | 
|---|---|
javax.naming.directory.DirContext | 
build(ContextSettings contextSettings)  | 
javax.naming.directory.DirContext | 
build(java.lang.String factory,
     java.lang.String server,
     java.lang.String user,
     java.lang.String password,
     boolean pooled)  | 
void | 
close(javax.naming.directory.DirContext context)
Closes the given context. 
 | 
javax.naming.directory.DirContext build(ContextSettings contextSettings) throws javax.naming.NamingException
contextSettings - The settings to use to build the contextjavax.naming.NamingException - If an error occursjavax.naming.directory.DirContext build(java.lang.String factory,
                                        java.lang.String server,
                                        java.lang.String user,
                                        java.lang.String password,
                                        boolean pooled)
                                 throws javax.naming.NamingException
factory - The factory classserver - The ldap serveruser - The user DN to bindpassword - The password to bindpooled - If the query should be pooledjavax.naming.NamingException - If an error occursvoid close(@Nullable
           javax.naming.directory.DirContext context)
context - The context to close