Class AttributeRequesterRegexpPolicyRule

All Implemented Interfaces:
PolicyRequirementRule, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent

public class AttributeRequesterRegexpPolicyRule extends AbstractRegexpPolicyRule
Compare the attribute requester's entity ID for this resolution with the provided regexp.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
  • Constructor Details

    • AttributeRequesterRegexpPolicyRule

      public AttributeRequesterRegexpPolicyRule()
  • Method Details

    • matches

      public PolicyRequirementRule.Tristate matches(@Nonnull AttributeFilterContext filterContext)
      Compare the requester from the context with the provided regexp.
      filterContext - the context
      whether it matches whether the rule holds