Package org.apereo.cas.services
Class RemoteEndpointServiceAccessStrategy
- java.lang.Object
-
- org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy
-
- org.apereo.cas.services.RemoteEndpointServiceAccessStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,org.apereo.cas.services.RegisteredServiceAccessStrategy
,org.springframework.core.Ordered
public class RemoteEndpointServiceAccessStrategy extends DefaultRegisteredServiceAccessStrategy
This isRemoteEndpointServiceAccessStrategy
that reaches out to a remote endpoint, passing the CAS principal id to determine if access is allowed. If the status code returned in the final response is not accepted by the policy here, access shall be denied.- Since:
- 5.0.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy
caseInsensitive, delegatedAuthenticationPolicy, enabled, order, rejectedAttributes, requireAllAttributes, requiredAttributes, ssoEnabled, unauthorizedRedirectUrl
-
-
Constructor Summary
Constructors Constructor Description RemoteEndpointServiceAccessStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doPrincipalAttributesAllowServiceAccess(java.lang.String principal, java.util.Map<java.lang.String,java.lang.Object> principalAttributes)
-
Methods inherited from class org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy
doRejectedAttributesRefusePrincipalAccess, doRequiredAttributesAllowPrincipalAccess, enoughAttributesAvailableToProcess, enoughRequiredAttributesAvailableToProcess, getRequiredAttributes, isServiceAccessAllowed, isServiceAccessAllowedForSso, postLoad, requiredAttributesFoundInMap, setServiceAccessAllowed
-
-
-
-
Method Detail
-
doPrincipalAttributesAllowServiceAccess
public boolean doPrincipalAttributesAllowServiceAccess(java.lang.String principal, java.util.Map<java.lang.String,java.lang.Object> principalAttributes)
- Specified by:
doPrincipalAttributesAllowServiceAccess
in interfaceorg.apereo.cas.services.RegisteredServiceAccessStrategy
- Overrides:
doPrincipalAttributesAllowServiceAccess
in classDefaultRegisteredServiceAccessStrategy
-
-