![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e495. Setting LDAP Connection Request ControlsThis example uses the JNDI/LDAP service provider to connect to an LDAP server on the local machine and initializes its connection request controls.try { // Create connection controls to use Control[] connectCtls = new Control[]{new SomeControl()}; LdapContext ctx = new InitialLdapContext(env, connectCtls); } catch (NamingException e) { }
e497. Getting LDAP Response Controls e498. Performing an LDAP ``Extended'' Operation © 2002 Addison-Wesley. |