Performing an LDAP ``Extended'' Operation This 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) { }