private Map<String, List<String>> loadServiceDefinitions() throws IOException {
        val jsonFilesMap = new HashMap<String, List<String>>();
        val serializer = new RegisteredServiceJsonSerializer(applicationContext);
        val resolver = new PathMatchingResourcePatternResolver();
        val resources = resolver.getResources("classpath:service-definitions/**/*.json");

        for (val resource : resources) {
            try (val input = resource.getInputStream()) {
                val contents = new String(FileCopyUtils.copyToByteArray(input), StandardCharsets.UTF_8);
                val definition = serializer.from(contents);
                if (definition != null) {
                    jsonFilesMap.computeIfAbsent(definition.getFriendlyName(), __ -> new ArrayList<>()).add(contents);
                }
            }
        }
        return jsonFilesMap;
    }
Dashboard home page explicitly defined.

@return the model and view
support/cas-server-support-palantir/src/main/java/org/apereo/cas/palantir/controller/DashboardController.java