Package org.apereo.cas.services
Class AttributeBasedRegisteredServiceAccessStrategyActivationCriteria
java.lang.Object
org.apereo.cas.services.AttributeBasedRegisteredServiceAccessStrategyActivationCriteria
- All Implemented Interfaces:
Serializable
,org.apereo.cas.services.RegisteredServiceAccessStrategyActivationCriteria
,org.springframework.core.Ordered
public class AttributeBasedRegisteredServiceAccessStrategyActivationCriteria
extends Object
implements org.apereo.cas.services.RegisteredServiceAccessStrategyActivationCriteria
- Since:
- 6.5.0
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.apereo.cas.services.LogicalOperatorTypes
int
getOrder()
int
hashCode()
boolean
setAllowIfInactive
(boolean allowIfInactive) setOperator
(org.apereo.cas.services.LogicalOperatorTypes operator) setOrder
(int order) setRequiredAttributes
(Map<String, Object> requiredAttributes) boolean
shouldActivate
(org.apereo.cas.services.RegisteredServiceAccessStrategyRequest request)
-
Constructor Details
-
AttributeBasedRegisteredServiceAccessStrategyActivationCriteria
public AttributeBasedRegisteredServiceAccessStrategyActivationCriteria()
-
-
Method Details
-
shouldActivate
public boolean shouldActivate(org.apereo.cas.services.RegisteredServiceAccessStrategyRequest request) - Specified by:
shouldActivate
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategyActivationCriteria
-
getRequiredAttributes
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
- Specified by:
getOrder
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategyActivationCriteria
-
isAllowIfInactive
public boolean isAllowIfInactive()- Specified by:
isAllowIfInactive
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategyActivationCriteria
-
getOperator
public org.apereo.cas.services.LogicalOperatorTypes getOperator() -
setRequiredAttributes
public AttributeBasedRegisteredServiceAccessStrategyActivationCriteria setRequiredAttributes(Map<String, Object> requiredAttributes) - Returns:
this
.
-
setOrder
- Returns:
this
.
-
setAllowIfInactive
public AttributeBasedRegisteredServiceAccessStrategyActivationCriteria setAllowIfInactive(boolean allowIfInactive) - Returns:
this
.
-
setOperator
public AttributeBasedRegisteredServiceAccessStrategyActivationCriteria setOperator(org.apereo.cas.services.LogicalOperatorTypes operator) - Returns:
this
.
-
equals
-
hashCode
public int hashCode()
-