Class Addconfig


  • public class Addconfig
    extends Object
    The class is used by FortressAntTask to load ConfigAnts used to drive ConfigMgr.add(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, 'Addconfig', is used for the xml tag in the load script.

     
     <target name="all">
         <FortressAdmin>
             <addconfig>
               ...
             </addconfig>
         </FortressAdmin>
     </target>
     
     
    Author:
    Apache Directory Project
    • Constructor Detail

      • Addconfig

        public Addconfig()
        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.
         
         <addconfig>
             <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"/>
             ...
         </addconfig>
         
         
        Parameters:
        config - contains reference to data element targeted for insertion..