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
-
Field Summary
Fields inherited from interface org.apereo.cas.web.flow.authentication.CasWebflowExceptionHandler
UNKNOWNFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionGroovyCasWebflowAuthenticationExceptionHandler(org.apereo.cas.util.scripting.ExecutableCompiledScript watchableScript, org.springframework.context.ApplicationContext applicationContext) GroovyCasWebflowAuthenticationExceptionHandler(org.springframework.core.io.Resource groovyScript, org.springframework.context.ApplicationContext applicationContext) -
Method Summary
-
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:CasWebflowExceptionHandlerHandle event.- Specified by:
handlein interfaceCasWebflowExceptionHandler<Exception>- Parameters:
exception- the exceptionrequestContext- 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:CasWebflowExceptionHandlerSupports exception.- Specified by:
supportsin interfaceCasWebflowExceptionHandler<Exception>- Parameters:
exception- the exceptionrequestContext- 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:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-