mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

matthew_swift
27.50.2007 ace2bd4146fe55154c0d716f20d9cbff3a2297d3
refs
author matthew_swift <matthew_swift@localhost>
Thursday, September 27, 2007 16:50 +0200
committer matthew_swift <matthew_swift@localhost>
Thursday, September 27, 2007 16:50 +0200
commitace2bd4146fe55154c0d716f20d9cbff3a2297d3
tree 27531bddd5d0d45b2f1a9d87fac37dd35b67b69b tree | zip | gz
parent 499c126c880ff715aae7fd989a2f3fe57e289d8f view | diff
Improvements to aggregation support and foundation work for expressing arbitrary 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.
9 files added
26 files modified
2495 ■■■■ changed files
opends/resource/admin/admin.xsd 163 ●●●● diff | view | raw | blame | history
opends/resource/admin/conditions.xsl 96 ●●●●● diff | view | raw | blame | history
opends/resource/admin/metaMO.xsl 4 ●●●● diff | view | raw | blame | history
opends/resource/admin/property-types/aggregation.xsl 35 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/CramMD5SASLMechanismHandlerConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/DigestMD5SASLMechanismHandlerConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/ExternalSASLMechanismHandlerConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/GSSAPISASLMechanismHandlerConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/GlobalConfiguration.xml 4 ●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/JMXConnectionHandlerConfiguration.xml 37 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/LDAPConnectionHandlerConfiguration.xml 123 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/Package.xml 60 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PasswordModifyExtendedOperationHandlerConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyConfiguration.xml 20 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PasswordPolicyImportPluginConfiguration.xml 16 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PlainSASLMechanismHandlerConfiguration.xml 8 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/admin.properties 3 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/dsconfig.properties 3 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/AggregationPropertyDefinition.java 346 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/Configuration.java 13 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/ANDCondition.java 112 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/Condition.java 94 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/Conditions.java 237 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/ContainsValueCondition.java 197 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/IsPresentCondition.java 104 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/NOTCondition.java 97 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/ORCondition.java 112 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/condition/package-info.java 36 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/CreateSubCommandHandler.java 256 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java 256 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestChildCfgDefn.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/TestParentCfgDefn.java 2 ●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/AggregationTest.java 7 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/plugin/DomainFakeCfg.java 6 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplServerFakeConfiguration.java 6 ●●●● diff | view | raw | blame | history