It does not appear to be calling the groovy script at all. I even added an intentional coding error expecting to break CAS, and nothing. Any ideas?
2022-05-14 19:53:37,426 DEBUG [org.apereo.cas.interrupt.webflow.actions.InquireInterruptAction] - <Invoking interrupt inquirer using [GroovyScriptInterruptInquirer]>
2022-05-14 19:53:37,429 DEBUG [org.apereo.cas.interrupt.webflow.actions.InquireInterruptAction] - <Webflow interrupt is skipped since no inquirer produced a response>
import org.apereo.cas.interrupt.InterruptResponse
def run(final Object... args) {
def principal = args[0]
def attributes = args[1]
def service = args[2]
def registeredService = args[3]
def requestContext = args[4]
def logger = args[5]
logger.info("**principal - Attributes:")
principal.properties.each {
logger.info("KEY: $it.key -> VALUE: $it.value") }
logger.info("**attributes - Attributes:")
attributes.properties.each {
logger.info("KEY: $it.key -> VALUE: $it.value") }
logger.info("**service - Attributes:")
service.properties.each {
logger.info("KEY: $it.key -> VALUE: $it.value") }
logger.info("**registeredService - Attributes:")
registeredService.properties.each {
logger.info("KEY: $it.key -> VALUE: $it.value") }
logger.info("**requestContext - Attributes:")
requestContext.properties.each {
logger.info("KEY: $it.key -> VALUE: $it.value") }
def block = false
def ssoEnabled = false
return new InterruptResponse("Message", [link1:"
google.com", link2:"
yahoo.com"], block, ssoEnabled)
/*return new InterruptResponse(message: message, redirectTo: redirectTo, block: block, ssoEnabled: ssoEnabled, autoRedirect: true, autoRedirectAfterSeconds: 1)*/
}