Class ListRule


  • public class ListRule
    extends MetaRule

    Created by Jeff Gaynor
    on 2/12/24 at 1:45 PM

    • Constructor Detail

      • ListRule

        public ListRule()
    • Method Detail

      • isBlackList

        public boolean isBlackList()
      • setBlackList

        public void setBlackList​(boolean blackList)
      • setIdList

        public void setIdList​(List<edu.uiuc.ncsa.security.core.Identifier> idList)
      • setRegexList

        public void setRegexList​(List<String> regexList)
      • getIDlist

        public List<edu.uiuc.ncsa.security.core.Identifier> getIDlist()
      • getRegexList

        public List<String> getRegexList()
      • getRuleFilter

        public RuleFilter getRuleFilter()
      • setRuleFilter

        public void setRuleFilter​(RuleFilter ruleFilter)
      • hasRuleFilter

        public boolean hasRuleFilter()
      • applies

        public boolean applies​(edu.uiuc.ncsa.security.core.Identifier id)
        Does this rule apply to this list? This means that the argument fulfills the conditions in the list.
        Parameters:
        id -
        Returns:
      • applyToID

        protected boolean applyToID​(edu.uiuc.ncsa.security.core.Identifier id)
      • applyToID

        protected boolean applyToID​(String id)
      • applyToRegex

        protected boolean applyToRegex​(String id)
      • applies

        public boolean applies​(String id)