![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e498. Performing an LDAP ``Extended'' OperationThis example performs an extended operation on an LDAP context.try { LdapContext ctx = new InitialLdapContext(env, null); // Create "extended" operation to use ExtendedRequest req = new GetTimeRequest(); // Perform the operation GetTimeResponse response = (GetTimeResponse) ctx.extendedOperation(req); } catch (NamingException e) { }
e496. Setting LDAP Context Request Controls e497. Getting LDAP Response Controls © 2002 Addison-Wesley. |