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

public class PrincipalNamePolicyRule extends AbstractStringPolicyRule
Compare the principal name for this resolution with the provided string.
  • Field Details

    • log

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

    • PrincipalNamePolicyRule

      public PrincipalNamePolicyRule()
  • Method Details

    • matches

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