Class RegisteredServiceAccessStrategyEvaluator

java.lang.Object
org.apereo.cas.services.util.RegisteredServiceAccessStrategyEvaluator
All Implemented Interfaces:
Function<org.apereo.cas.services.RegisteredServiceAccessStrategyRequest,Boolean>

public class RegisteredServiceAccessStrategyEvaluator extends Object implements Function<org.apereo.cas.services.RegisteredServiceAccessStrategyRequest,Boolean>
Since:
6.5.0
  • Method Details

    • apply

      public Boolean apply(org.apereo.cas.services.RegisteredServiceAccessStrategyRequest request)
      Specified by:
      apply in interface Function<org.apereo.cas.services.RegisteredServiceAccessStrategyRequest,Boolean>
    • builder

    • getRequiredAttributes

      public Map<String,Set<String>> getRequiredAttributes()
      Collection of required attributes for this service to proceed.
    • getRejectedAttributes

      public Map<String,Set<String>> getRejectedAttributes()
      Collection of attributes that will be rejected which will cause this policy to refuse access.
    • isCaseInsensitive

      public boolean isCaseInsensitive()
      Indicates whether matching on required attribute values should be done in a case-insensitive manner.
    • isRequireAllAttributes

      public boolean isRequireAllAttributes()
      Defines the attribute aggregation behavior when checking for required attributes. Default requires that all attributes be present and match the principal's.