Examples of dn()


Examples of org.nasutekds.server.admin.std.server.AdministrationConnectorCfg.dn()

    ac.initializeAdministrationConnector(administrationConnectorCfg);

    // Put this connection handler in the hash so that we will be
    // able to find it if it is altered.
    LDAPConnectionHandler connectionHandler = ac.getConnectionHandler();
    connectionHandlers.put(administrationConnectorCfg.dn(), connectionHandler);

    // Register the connection handler with the Directory Server.
    DirectoryServer.registerConnectionHandler(connectionHandler);
  }
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.AlertHandlerCfg.dn()

      {
        String className = configuration.getJavaClass();
        try
        {
          AlertHandler handler = loadHandler(className, configuration, true);
          alertHandlers.put(configuration.dn(), handler);
          DirectoryServer.registerAlertHandler(handler);
        }
        catch (InitializationException ie)
        {
          ErrorLogger.logError(ie.getMessageObject());
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.AttributeSyntaxCfg.dn()

                                              true);

          try
          {
            DirectoryServer.registerAttributeSyntax(syntax, false);
            syntaxes.put(syntaxConfiguration.dn(), syntax);
          }
          catch (DirectoryException de)
          {
            Message message = WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX.get(
               String.valueOf(syntaxConfiguration.dn()), de.getMessageObject());
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.AttributeSyntaxCfg.dn()

            syntaxes.put(syntaxConfiguration.dn(), syntax);
          }
          catch (DirectoryException de)
          {
            Message message = WARN_CONFIG_SCHEMA_SYNTAX_CONFLICTING_SYNTAX.get(
               String.valueOf(syntaxConfiguration.dn()), de.getMessageObject());
            logError(message);
            continue;
          }
        }
        catch (InitializationException ie)
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.BackendCfg.dn()

    int         numBackends = backendList.size();
    for (int i=0; i < numBackends; i++)
    {
      Backend     b = backendList.get(i);
      BackendCfg e = entryList.get(i);
      if (e.dn().equals(configEntryDN))
      {
        backend     = b;
        break;
      }
    }
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.BackendCfg.dn()

          backupDir = BackupDirectory.readBackupDirectoryDescriptor(
               backupLocation.getPath());

          // Check the current backup directory corresponds to the provided
          // backend
          if (! backupDir.getConfigEntryDN().equals(cfg.dn()))
          {
            Message message = ERR_BACKUPDB_CANNOT_BACKUP_IN_DIRECTORY.get(
                b.getBackendID(),backupLocation.getPath(),
                backupDir.getConfigEntryDN().getRDN().
                getAttributeValue(0).toString());
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.BackendCfg.dn()

          return false;
        }
      }
      else
      {
        backupDir = new BackupDirectory(backupLocation.getPath(), cfg.dn());
      }
    }
    else
    {
      try
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.BackendCfg.dn()

        logError(message);
        return false;
      }

      backupDir = new BackupDirectory(backupLocation.getPath(),
                                      cfg.dn());
    }


    // Create a backup configuration.
    backupConfig = new BackupConfig(backupDir, backupID,
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.BackendCfg.dn()

    DN configEntryDN;
    RootCfg root = ServerManagementContext.getInstance().getRootConfiguration();
    try
    {
      BackendCfg cfg = root.getBackend(backendID);
      configEntryDN = cfg.dn();
    }
    catch (ConfigException e)
    {
      throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
                                   e.getMessageObject(), e);
View Full Code Here

Examples of org.nasutekds.server.admin.std.server.BackendCfg.dn()

    DN configEntryDN;
    RootCfg root = ServerManagementContext.getInstance().getRootConfiguration();
    try
    {
      BackendCfg cfg = root.getBackend(backendID);
      configEntryDN = cfg.dn();
    }
    catch (ConfigException e)
    {
      throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
                                   e.getMessageObject(), e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.