Class Delcontainer

  • public class Delcontainer
    extends Object
    The class is used by FortressAntTask to remove OrganizationalUnits used to drive OrganizationalUnitP.delete( 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, 'Delcontainer', is used for the xml tag in the load script.

     <target name="all">

    This class is destructive as it will remove all nodes below the container using recursive delete function.
    Extreme care should be taken during execution to ensure target dn is correct and permanent removal of data is intended. There is no 'undo' for this operation.

    Apache Directory Project
    • Constructor Detail

      • Delcontainer

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

      • addContainer

        public void addContainer​(OrganizationalUnit ou)
        This method name, 'addContainer', is used for derived xml tag 'container' in the load script.
             <container name="Config"/>
             <container name="People"/>
             <container name="Policies"/>
             <container name="RBAC"/>
             <container name="Roles" parent="RBAC"/>
             <container name="Permissions" parent="RBAC"/>
             <container name="Constraints" parent="RBAC"/>
             <container name="ARBAC"/>
             <container name="OS-U" parent="ARBAC"/>
             <container name="OS-P" parent="ARBAC"/>
             <container name="AdminRoles" parent="ARBAC"/>
             <container name="AdminPerms" parent="ARBAC"/>
        ou - contains reference to data element targeted for deletion.