Class PrincipalNameRegexpPolicyRule

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

public class PrincipalNameRegexpPolicyRule extends AbstractRegexpPolicyRule
Compare the principal name for this resolution with the provided regexp.
  • Field Details

    • log

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

    • PrincipalNameRegexpPolicyRule

      public PrincipalNameRegexpPolicyRule()
  • Method Details

    • matches

      public PolicyRequirementRule.Tristate matches(@Nonnull AttributeFilterContext filterContext)
      Compare the principal name for this resolution with the provided regexp.
      Parameters:
      filterContext - the context
      Returns:
      whether it matches whether the rule holds