public void registerView(final ServiceValidationViewTypes type, final View view) {
        registerView(type.getType(), Pair.of(view, view));
    }
Register view.
Success and failures are handled by the same view instance.

@param type the type
@param view the view
support/cas-server-support-validation-core/src/main/java/org/apereo/cas/web/ServiceValidationViewFactory.java