public class Addsdset extends Object
FortressAntTask
to create new SDSetAnt
s used to drive
AdminMgr.createSsdSet(org.apache.directory.fortress.core.model.SDSet)
or
AdminMgr.createDsdSet(org.apache.directory.fortress.core.model.SDSet)
.
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, 'Addsdset', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addsdset>
...
</addsdset>
</FortressAdmin>
</target>
Constructor and Description |
---|
Addsdset()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addSdset(SDSetAnt sd)
This method name, 'addSdset', is used for derived xml tag 'sdset' in the load script.
|
List<SDSetAnt> |
getSdset()
Used by
FortressAntTask.addSdsets() to retrieve list of SDSetAnt as defined in input xml file. |
public Addsdset()
public void addSdset(SDSetAnt sd)
<addsdset>
<sdset name="DemoSSD1"
description="Demo static separation of duties"
cardinality="2"
settype="STATIC"
setmembers="role1,role2"/>
<sdset name="DemoDSD1"
description="Demo dynamic separation of duties"
cardinality="2"
settype="DYNAMIC"
setmembers="role1,role3"/>
</addsdset>
sd
- contains reference to data element targeted for insertion..public List<SDSetAnt> getSdset()
FortressAntTask.addSdsets()
to retrieve list of SDSetAnt as defined in input xml file.SDSetAnt
s targeted for insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621