Class AttributeRequesterPolicyRule

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

public class AttributeRequesterPolicyRule extends AbstractStringPolicyRule
Compare the attribute requester's entity ID for this resolution with the provided name.
  • Field Details

    • log

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

    • AttributeRequesterPolicyRule

      public AttributeRequesterPolicyRule()
  • Method Details

    • matches

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