Class HttpRequestRegisteredServiceAccessStrategy

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.services.RegisteredServiceAccessStrategy, org.springframework.core.Ordered

    public class HttpRequestRegisteredServiceAccessStrategy
    extends BaseRegisteredServiceAccessStrategy
    This is HttpRequestRegisteredServiceAccessStrategy 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 interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isServiceAccessAllowed()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apereo.cas.services.RegisteredServiceAccessStrategy

        doPrincipalAttributesAllowServiceAccess, getDelegatedAuthenticationPolicy, getOrder, getRequiredAttributes, getUnauthorizedRedirectUrl, isServiceAccessAllowedForSso, setServiceAccessAllowed
    • Constructor Detail

      • HttpRequestRegisteredServiceAccessStrategy

        public HttpRequestRegisteredServiceAccessStrategy()
    • Method Detail

      • isServiceAccessAllowed

        public boolean isServiceAccessAllowed()