Class Addroleconstraint
- java.lang.Object
-
- org.apache.directory.fortress.core.ant.Addroleconstraint
-
public class Addroleconstraint extends Object
The class is used byFortressAntTask
to loadRoleConstraint
s used to driveAdminMgr.addRoleConstraint( UserRole uRole, RoleConstraint roleConstraint )
. 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, 'Addroleconstraint', is used for the xml tag in the load script.
<target name="all"> <FortressAdmin> <addroleconstraint> ... </addroleconstraint> </FortressAdmin> </target>
- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description Addroleconstraint()
All Ant data entities must have a default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRoleConstraint(RoleConstraintAnt roleConstraint)
This method name, 'Addroleconstraint', is used for derived xml tag 'roleconstraint' in the load script.List<RoleConstraintAnt>
getRoleConstraints()
Used byFortressAntTask.addUserRoles()
to retrieve list of roleconstraints as defined in input xml file.
-
-
-
Method Detail
-
addRoleConstraint
public void addRoleConstraint(RoleConstraintAnt roleConstraint)
This method name, 'Addroleconstraint', is used for derived xml tag 'roleconstraint' in the load script.<addroleconstraint> <roleconstraint userId="curly" role="Tellers" key="locale" value="east" typeName="USER"/> </addroleconstraint>
- Parameters:
roleConstraint
- contains reference to data element targeted for insertion..
-
getRoleConstraints
public List<RoleConstraintAnt> getRoleConstraints()
Used byFortressAntTask.addUserRoles()
to retrieve list of roleconstraints as defined in input xml file.- Returns:
- collection containing
RoleConstraint
s targeted for insertion.
-
-