package javax.naming.ldap; import javax.naming.NamingException; import javax.naming.directory.DirContext; public interface LdapContext extends DirContext { public static final String CONTROL_FACTORIES = "java.naming.factory.control"; ExtendedResponse extendedOperation(ExtendedRequest extendedRequest) throws NamingException; Control[] getConnectControls() throws NamingException; Control[] getRequestControls() throws NamingException; Control[] getResponseControls() throws NamingException; LdapContext newInstance(Control[] controlArr) throws NamingException; void reconnect(Control[] controlArr) throws NamingException; void setRequestControls(Control[] controlArr) throws NamingException; }