Package org.apereo.cas.services
Class SurrogateRegisteredServiceAccessStrategy
- java.lang.Object
-
- org.apereo.cas.services.BaseRegisteredServiceAccessStrategy
-
- org.apereo.cas.services.BaseSurrogateRegisteredServiceAccessStrategy
-
- org.apereo.cas.services.SurrogateRegisteredServiceAccessStrategy
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.services.RegisteredServiceAccessStrategy,org.springframework.core.Ordered
public class SurrogateRegisteredServiceAccessStrategy extends BaseSurrogateRegisteredServiceAccessStrategy
- Since:
- 5.2.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancaseInsensitiveIndicates whether matching on required attribute values should be done in a case-insensitive manner.protected booleanrequireAllAttributesDefines the attribute aggregation behavior when checking for required attributes.
-
Constructor Summary
Constructors Constructor Description SurrogateRegisteredServiceAccessStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoPrincipalAttributesAllowServiceAccess(java.lang.String principal, java.util.Map<java.lang.String,java.lang.Object> attributes)protected booleandoPrincipalAttributesAllowSurrogateServiceAccess(java.lang.String principal, java.util.Map<java.lang.String,java.lang.Object> principalAttributes)Do principal attributes allow surrogate service access?.-
Methods inherited from class org.apereo.cas.services.BaseSurrogateRegisteredServiceAccessStrategy
isSurrogateAuthenticationSession
-
Methods inherited from class org.apereo.cas.services.BaseRegisteredServiceAccessStrategy
canEqual, equals, hashCode, toString
-
-
-
-
Field Detail
-
requireAllAttributes
protected boolean requireAllAttributes
Defines the attribute aggregation behavior when checking for required attributes. Default requires that all attributes be present and match the principal's.
-
caseInsensitive
protected boolean caseInsensitive
Indicates whether matching on required attribute values should be done in a case-insensitive manner.
-
-
Method Detail
-
doPrincipalAttributesAllowServiceAccess
public boolean doPrincipalAttributesAllowServiceAccess(java.lang.String principal, java.util.Map<java.lang.String,java.lang.Object> attributes)
-
doPrincipalAttributesAllowSurrogateServiceAccess
protected boolean doPrincipalAttributesAllowSurrogateServiceAccess(java.lang.String principal, java.util.Map<java.lang.String,java.lang.Object> principalAttributes)Do principal attributes allow surrogate service access?.- Parameters:
principal- the principalprincipalAttributes- the principal attributes- Returns:
- true /false
-
-