public class Addcontainer extends Object
FortressAntTask
to create new
OrganizationalUnit
s used to drive
OrganizationalUnitP.add(
org.apache.directory.fortress.core.model.OrganizationalUnit)
.
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, 'Addcontainer', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addcontainer>
...
</addcontainer>
</FortressAdmin>
</target>
Constructor and Description |
---|
Addcontainer()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addContainer(OrganizationalUnit ou)
This method name, 'addContainer', is used for derived xml tag 'container' in the load script.
|
List<OrganizationalUnit> |
getContainers()
Used by
FortressAntTask.addContainers() to retrieve list of OrganizationalUnits as defined in input xml file. |
public Addcontainer()
public void addContainer(OrganizationalUnit ou)
<addcontainer>
<container name="Config" description="Fortress Configuration Realms"/>
<container name="People" description="Fortress People"/>
<container name="Policies" description="Fortress Policies"/>
<container name="RBAC" description="Fortress RBAC Policies"/>
<container name="Roles" parent="RBAC" description="Fortress Roles"/>
<container name="Permissions" parent="RBAC" description="Fortress Permissions"/>
<container name="Constraints" parent="RBAC" description="Fortress Separation of Duty Constraints"/>
<container name="ARBAC" description="Fortress Administrative RBAC Policies"/>
<container name="OS-U" parent="ARBAC" description="Fortress User Organizational Units"/>
<container name="OS-P" parent="ARBAC" description="Fortress Perm Organizational Units"/>
<container name="AdminRoles" parent="ARBAC" description="Fortress AdminRoles"/>
<container name="AdminPerms" parent="ARBAC" description="Fortress Admin Permissions"/>
</addcontainer>
ou
- contains reference to data element targeted for insertion..public List<OrganizationalUnit> getContainers()
FortressAntTask.addContainers()
to retrieve list of OrganizationalUnits as defined in input xml file.OrganizationalUnit
s targeted for
insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20180714-1500