28 Sep, 2007

3 commits


27 Sep, 2007

4 commits

  • …method name in Conditions and the element name in the XML schema.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3230 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • … constraints within components.
    
    This change adds support for defining arbitrary conditions which can be used to test properties and their values. Conditions can be used within aggregations to define 1) when a referenced managed object needs enabling and 2) when it is enabled. For example, the LDAP connection handler requires that its key manager provider and trust manager provider are enabled when it is enable and when either SSL or StartTLS are enabled.
    
    Conditions are also intended for use within the existing constraint/dependency support. For example, it should be possible to indicate that a property "min" is always less than or equal to a property "max", or that when "use-ssl" is set to true, any required SSL configuration related properties are also defined. This will be implemented in a subsequent change (this change just focuses on the work required to resolve issue 1449).
    
    This change adds support for the following conditions:
    
    * logical "not"
    * logical "and"
    * logical "or"
    * logical "implies"
    * contains - determines if a property contains a particular value
    * is-present - determines if a property has any values (incl. defaults)
    
    More will be added as required.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3229 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • …y on all platforms and they are less usefull now that log messages are prepended with the date stamp.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3227 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • As described in Neil's comments, stop-ds can now read arguments values on a properties file. 
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3222 41b1ffd8-f28e-4786-ab96-9950f0a78031
    lutoff
     

26 Sep, 2007

9 commits

  • Add ds-cfg-symmetric-key parsing method
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3220 41b1ffd8-f28e-4786-ab96-9950f0a78031
    david_page
     
  • The messages have been updated with a reference to the log file and a String representation of the exception that caused the error.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3218 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • Provide new options in the command line and new GUI in order to be able to configure secure replication.
    
    The dsreplication status command-line has also been modified to display information about the replication security configuration.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3215 41b1ffd8-f28e-4786-ab96-9950f0a78031
    jvergara
     
  • … use SSL connection options.  The reason for the error is that LDAPConnectionArgumentParser does not properly support initialization of the LDAPConnectionOption's SSL connection factory.  This change involves adding some state variables to LDAPConnectionConsoleInteraction that are populated during the session
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3214 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • object class and config definition rather than relying on the generic
    configuration.  This makes it easier to use through dsconfig.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3211 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • … statements by allowing options to be grouped logically by type.  Many of the utilities arguments have grown to such an extent that it is difficult to sort through the various types of arguments to find what you are looking for.  For instance the usage statement for the task schedulable arguments are mixed with the LDAP connection arguments which makes them difficult to ignore if they want to use the tool in offline mode.
    
    This code also make consistent the position of standard options (e.g. help, version, quiet, verbose) within usage statements.
    
    ArgumentParser (and SubCommandArgumentParse) have 4 built-in groups:  General Options (for help and version commands), LDAP Connection Options (e.g. host, port), Utility Input/Output Options (e.g.  quiet, verbose, no-prompt, argument file etc) and default options (for ungrouped arguments).  The default group appears first in the list without a header to maintain backward consistency.  Other groups can be defined for a usage statement by supplying an ArgumentGroup to the addArgument() method.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3210 41b1ffd8-f28e-4786-ab96-9950f0a78031
    kenneth_suter
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@3209 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew_swift
     
  • isIndexed API in the backend to ensure that all referenced attributes are
    indexed for equality.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3207 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     
  • determine whether a given attribute is indexed in a specified manner, or that
    can be used to determine whether a specified filter is indexed.  At present,
    all backends except the JE backend and the replication backend are considered
    always indexed for all operations.  The JE backend is only considered indexed
    based on its index configuration.  The replication backend is never considered
    indexed.
    
    Update the following components to make use of this new isIndexed capability:
    - The DSEE-compatible access control handler will now log a warning message at
      startup if it detects that there is no presence index for the aci attribute,
      which can make startup take a long time on a big database.
    - The group manager will now log a warning message at startup if any of the
      group implementation filters are unindexed, which can make startup take a
      long time on a big database.
    - The referential integrity plugin now requires that all of the attributes for
      which referential integrity is to be maintained must be configured with
      equality indexes.
    - The unique attribute plugin now requires that all of the attributes for which
      uniqueness is to be enforced must be configured with equality indexes.
    
    This commit also updates the LDIF backend so that it is possible to
    indicate via configuration whether its base DNs should be registered as public
    or private base DNs.  The LDIF backend used as the admin root has been
    updated so that it is considered a private backend.  The replication backend
    has also been updated so that it is considered a private backend.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@3206 41b1ffd8-f28e-4786-ab96-9950f0a78031
    neil_a_wilson
     

25 Sep, 2007

14 commits


24 Sep, 2007

9 commits


23 Sep, 2007

1 commit