Class GroovyCasWebflowAuthenticationExceptionHandler

java.lang.Object
org.apereo.cas.web.flow.authentication.GroovyCasWebflowAuthenticationExceptionHandler
All Implemented Interfaces:
CasWebflowExceptionHandler<Exception>, org.springframework.core.Ordered

public class GroovyCasWebflowAuthenticationExceptionHandler extends Object implements CasWebflowExceptionHandler<Exception>
Since:
6.4.0
  • Constructor Details

    • GroovyCasWebflowAuthenticationExceptionHandler

      public GroovyCasWebflowAuthenticationExceptionHandler(org.springframework.core.io.Resource groovyScript, org.springframework.context.ApplicationContext applicationContext)
    • GroovyCasWebflowAuthenticationExceptionHandler

      public GroovyCasWebflowAuthenticationExceptionHandler(org.apereo.cas.util.scripting.ExecutableCompiledScript watchableScript, org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • handle

      public org.springframework.webflow.execution.Event handle(Exception exception, org.springframework.webflow.execution.RequestContext requestContext) throws Throwable
      Description copied from interface: CasWebflowExceptionHandler
      Handle event.
      Specified by:
      handle in interface CasWebflowExceptionHandler<Exception>
      Parameters:
      exception - the exception
      requestContext - the request context
      Returns:
      the event
      Throws:
      Throwable - the throwable
    • supports

      public boolean supports(Exception exception, org.springframework.webflow.execution.RequestContext requestContext) throws Throwable
      Description copied from interface: CasWebflowExceptionHandler
      Supports exception.
      Specified by:
      supports in interface CasWebflowExceptionHandler<Exception>
      Parameters:
      exception - the exception
      requestContext - the request context
      Returns:
      true /false
      Throws:
      Throwable - the throwable
    • getWatchableScript

      public org.apereo.cas.util.scripting.ExecutableCompiledScript getWatchableScript()
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)