public ModelAndView getModelAndView(final HttpServletRequest request,
                                        final boolean isSuccess,
                                        final WebApplicationService service,
                                        final Class ownerClass) {
        val view = getView(request, isSuccess, service, ownerClass);
        return new ModelAndView(view);
    }
Gets model and view.

@param request    the request
@param isSuccess  the is success
@param service    the service
@param ownerClass the owner class
@return the model and view
support/cas-server-support-validation-core/src/main/java/org/apereo/cas/web/ServiceValidationViewFactory.java