Interface ConsentActivationStrategy

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ConsentActivationStrategy
    Since:
    6.3.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isConsentRequired​(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, org.apereo.cas.authentication.Authentication authentication, org.springframework.webflow.execution.RequestContext requestContext)
      Determine if consent is required.
    • Method Detail

      • isConsentRequired

        boolean isConsentRequired​(org.apereo.cas.authentication.principal.Service service,
                                  org.apereo.cas.services.RegisteredService registeredService,
                                  org.apereo.cas.authentication.Authentication authentication,
                                  org.springframework.webflow.execution.RequestContext requestContext)
        Determine if consent is required.
        Parameters:
        service - the service
        registeredService - the registered service
        authentication - the authentication
        requestContext - the request context
        Returns:
        the boolean