Class RoleConstraintAnt

  • All Implemented Interfaces:
    Serializable

    public class RoleConstraintAnt
    extends RoleConstraint
    Entity is used by custom Apache Ant task for special handling of collections. Used when the common entity found in the model doesn't contain necessary attributes to complete the operation via ant admin task.
    Author:
    Apache Directory Project
    See Also:
    Serialized Form
    • Constructor Detail

      • RoleConstraintAnt

        public RoleConstraintAnt()
    • Method Detail

      • getUserId

        public String getUserId()
        Returns:
      • setUserId

        public void setUserId​(String userId)
        Parameters:
        userId -
      • getRole

        public String getRole()
        Return the role as a String.
        Returns:
        String contains a comma delimited set of role names assigned to permission.
      • setRole

        public void setRole​(String role)
        Accept a comma delimited String containing a list of Roles to be granted to a permission. This function will parse the String and call the setter on its parent.
        Parameters:
        role - name targeted for role constraint.