Class Server

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

public final class Server extends Object
An LDAP directory server which exposes data contained in an LDIF file. This is implementation is very simple and is only intended as an example:
  • It does not support StartTLS
  • It does not support Abandon or Cancel requests
  • Very basic authentication and authorization support.
This example takes the following command line parameters:
  <listenAddress> <listenPort> <ldifFile> [<keyStoreFile> <keyStorePassword> <certNickname>]
 
  • Method Details

    • main

      public static void main(String[] args)
      Main method.
      Parameters:
      args - The command line arguments: listen address, listen port, ldifFile, and optionally: key store, key store password and certificate nick name