public class Addadminrole extends Object
FortressAntTask
to load AdminRole
s used to
drive DelAdminMgr.addRole(org.apache.directory.fortress.core.model.AdminRole)
.
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, 'Addadminrole', is used for the xml tag in the load script.
<target name="all">
<FortressAdmin>
<addadminrole>
...
</addadminrole>
</FortressAdmin>
</target>
Constructor and Description |
---|
Addadminrole()
All Ant data entities must have a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addRole(AdminRoleAnt role)
This method name, 'addRole', is used for derived xml tag 'role' in the load script.
|
List<AdminRoleAnt> |
getRoles()
Used by
FortressAntTask.addAdminRoles() to retrieve list of AdminRoles as defined in input xml file. |
public Addadminrole()
public void addRole(AdminRoleAnt role)
<addadminrole>
<role name="DemoAdminUsers"
description="Test Admin Role for Demo"
osps="demoapps1,demoapps2"
osus="demousrs1,demousrs2"
beginrange="role1"
endrange="role1"
begininclusive="true"
endinclusive="true"/>
</addadminrole>
role
- contains extension of AdminRole
.public List<AdminRoleAnt> getRoles()
FortressAntTask.addAdminRoles()
to retrieve list of AdminRoles as defined in input xml file.AdminRoleAnt
s targeted for insertion.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621