Class Updconfig

  • public class Updconfig
    extends Object
    The class is used by FortressAntTask to update an existing config node. It calls ConfigMgr.update(Configuration). It is not intended to be callable by programs outside of the Ant load utility. The class name itself maps to the xml tag used by load utility.

    This class name, 'Updconfig', is used for the xml tag in the load script.

     <target name="all">
    Apache Directory Project
    • Constructor Detail

      • Updconfig

        public Updconfig()
        All Ant data entities must have a default constructor.
    • Method Detail

      • addConfig

        public void addConfig​(ConfigAnt config)
        This method name, 'addConfig', is used for derived xml tag 'config' in the load script.
             <config props="config.realm:DEFAULT"/>
             <config props="enable.audit:true"/>
             <config props="authn.type:default"/>
             <config props="password.policy:openldap"/>
             <config props="clientside.sorting:true"/>
             <config props="suffix:dc=jts\,dc=com"/>
             <config props="user.root:ou=People\,dc=jts\,dc=com"/>
             <config props="pwpolicy.root:ou=Policies\,dc=jts\,dc=com"/>
             <config props="role.root:ou=Roles\,ou=RBAC\,dc=jts\,dc=com"/>
             <config props="perm.root:ou=Permissions\,ou=RBAC\,dc=jts\,dc=com"/>
             <config props="sdconstraint.root:ou=Constraints\,ou=RBAC\,dc=jts\,dc=com"/>
             <config props="userou.root:ou=OS-U\,ou=ARBAC\,dc=jts\,dc=com"/>
             <config props="permou.root:ou=OS-P\,ou=ARBAC\,dc=jts\,dc=com"/>
             <config props="adminrole.root:ou=AdminRoles\,ou=ARBAC\,dc=jts\,dc=com"/>
             <config props="adminperm.root:ou=AdminPerms\,ou=ARBAC\,dc=jts\,dc=com"/>
        config - contains reference to data element targeted for insertion..