Package org.apereo.cas.services.util
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
RegisteredServiceAccessStrategyEvaluator.RegisteredServiceAccessStrategyEvaluatorBuilder<C extends RegisteredServiceAccessStrategyEvaluator,
B extends RegisteredServiceAccessStrategyEvaluator.RegisteredServiceAccessStrategyEvaluatorBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionapply
(org.apereo.cas.services.RegisteredServiceAccessStrategyRequest request) static RegisteredServiceAccessStrategyEvaluator.RegisteredServiceAccessStrategyEvaluatorBuilder
<?, ?> builder()
Collection of attributes that will be rejected which will cause this policy to refuse access.Collection of required attributes for this service to proceed.boolean
Indicates whether matching on required attribute values should be done in a case-insensitive manner.boolean
Defines the attribute aggregation behavior when checking for required attributes.
-
Method Details
-
apply
-
builder
public static RegisteredServiceAccessStrategyEvaluator.RegisteredServiceAccessStrategyEvaluatorBuilder<?,?> builder() -
getRequiredAttributes
Collection of required attributes for this service to proceed. -
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.
-