Class EntityAttributesPredicate.Candidate

java.lang.Object
org.opensaml.saml.common.profile.logic.EntityAttributesPredicate.Candidate
Enclosing class:
EntityAttributesPredicate

public static class EntityAttributesPredicate.Candidate extends Object
An object to encapsulate the set of criteria that must be satisfied by an EntityAttributes extension to satisfy the enclosing predicate.

All of the value and regular expression criteria provided must match for the individual object's result to be "true".

  • Field Details

    • nam

      @Nonnull @NotEmpty private final String nam
      Attribute Name.
    • nameFormat

      @Nullable private final String nameFormat
      Attribute NameFormat.
    • values

      @Nonnull private List<String> values
      Values that must match exactly.
    • regexps

      @Nonnull private List<Pattern> regexps
      Regular expressions that must be satisfied.
  • Constructor Details

  • Method Details

    • getName

      @Nonnull @NotEmpty public String getName()
      Get the Attribute Name to match.
      Returns:
      Attribute Name to match
    • getNameFormat

      @Nullable public String getNameFormat()
      Get the Attribute NameFormat to match.
      Returns:
      Attribute NameFormat to match
    • getValues

      @Nonnull @Unmodifiable @NotLive public List<String> getValues()
      Get the exact values to match.
      Returns:
      the exact values to match
    • setValues

      public void setValues(@Nonnull Collection<String> vals)
      Set the exact values to match.
      Parameters:
      vals - the exact values to match
    • getRegexps

      @Nonnull @Unmodifiable @NotLive public List<Pattern> getRegexps()
      Get the regular expressions to match.
      Returns:
      the regular expressions to match.
    • setRegexps

      public void setRegexps(@Nonnull Collection<Pattern> exps)
      Set the regular expressions to match.
      Parameters:
      exps - the regular expressions to match