@Override
    protected SpringApplicationBuilder configure(final SpringApplicationBuilder builder) {
        return builder
            .web(WebApplicationType.SERVLET)
            .sources(sources.toArray(Class[]::new))
            .applicationStartup(this.applicationStartup)
            .logStartupInfo(true)
            .banner(this.banner);
    }
This is {@link AbstractCasSpringBootServletInitializer}.

@author Misagh Moayyed
@since 6.4.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/boot/AbstractCasSpringBootServletInitializer.java