@Override
    public InterruptResponse inquireInternal(final Authentication authentication,
                                             final RegisteredService registeredService,
                                             final Service service,
                                             final Credential credential,
                                             final RequestContext requestContext) {
        readResourceForInterrupts();
        val user = authentication.getPrincipal().getId();
        LOGGER.info("Locating interrupt for user [{}]", user);
        if (interrupts.containsKey(user)) {
            return interrupts.get(user);
        }
        return InterruptResponse.none();
    }
This is {@link JsonResourceInterruptInquirer}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-interrupt-core/src/main/java/org/apereo/cas/interrupt/JsonResourceInterruptInquirer.java