@Bean
        public SimpleUrlHandlerMapping handlerMapping() {
            val mapping = new SimpleUrlHandlerMapping();
            mapping.setOrder(1);
            mapping.getUrlPathHelper().setAlwaysUseFullPath(true);
            val urls = new HashMap<String, Object>();
            val rootController = new RootController();
            mapping.setRootHandler(rootController);
            urls.put("/", rootController);
            mapping.setUrlMap(urls);
            return mapping;
        }
This is {@link CasWebAppConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-webconfig/src/main/java/org/apereo/cas/config/CasWebAppConfiguration.java