public static void main(String[] args) {

    try {
      Injector injector = Guice.createInjector(new ControllerModule(), new AuditLoggerModule());
      LdapToPamMigrationHelper migrationHelper = injector.getInstance(LdapToPamMigrationHelper.class);

      migrationHelper.migrateLdapUsersGroups();

    } catch (Throwable t) {
      LOG.error("Caught exception on migration. Exiting...", t);
      System.exit(1);
    }

  }
Support changes needed to migrate LDAP users & groups to PAM

@param args Simple key value json map
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/LdapToPamMigrationHelper.java