Class GetADChangeNotifications

java.lang.Object
org.forgerock.opendj.examples.GetADChangeNotifications

public final class GetADChangeNotifications extends Object
An example client application which searches Microsoft Active Directory synchronously, using GenericControl to pass the Microsoft LDAP Notification control.

This example is a near copy of Search, but works only with directory servers like Active Directory that support the control with OID 1.2.840.113556.1.4.528.

This example takes the following command line parameters:

  <host> <port> <username> <password> <baseDN>
 

The baseDN must be the root of a naming context in this example.

  • Method Details

    • main

      public static void main(String[] args)
      Main method.
      Parameters:
      args - The command line arguments: host, port, username, password, base DN, where the base DN is the root of a naming context.