protected Service extractService(final String service) {
        val serviceFactory = applicationContext.getBean(WebApplicationService.BEAN_NAME_FACTORY, ServiceFactory.class);
        return serviceFactory.createService(service);
    }
Generate token and produce response entity.

@param service       the service
@param authorization the authorization
@return the response entity
support/cas-server-support-simple-mfa-core/src/main/java/org/apereo/cas/mfa/simple/web/CasSimpleMultifactorAuthenticationEndpoint.java