public void registerView(final String type, final Pair<View, View> view) {
        registeredViews.put(type, view);
    }
Register view.

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