Search in sources :

Example 1 with Banner

use of org.springframework.boot.Banner in project cas by apereo.

the class CasWebApplication method main.

/**
     * Main entry point of the CAS web application.
     *
     * @param args the args
     */
public static void main(final String[] args) {
    final Map<String, Object> properties = CasEmbeddedContainerUtils.getRuntimeProperties(Boolean.TRUE);
    final Banner banner = CasEmbeddedContainerUtils.getCasBannerInstance();
    new SpringApplicationBuilder(CasWebApplication.class).banner(banner).properties(properties).logStartupInfo(true).run(args);
}
Also used : Banner(org.springframework.boot.Banner) SpringApplicationBuilder(org.springframework.boot.builder.SpringApplicationBuilder)

Aggregations

Banner (org.springframework.boot.Banner)1 SpringApplicationBuilder (org.springframework.boot.builder.SpringApplicationBuilder)1