Class WebConfiguration

java.lang.Object
swiss.trustbroker.config.WebConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration public class WebConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Constructor Details

  • Method Details

    • addCorsMappings

      public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
      Specified by:
      addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • addResourceHandlers

      public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
      Specified by:
      addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
    • customizeTomcat

      @Bean public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory> customizeTomcat(TomcatSessionManager tomcatSessionManager)
    • tomcatSessionManager

      @Bean public TomcatSessionManager tomcatSessionManager(StateCacheService stateCacheService, SsoService ssoService, RelyingPartyDefinitions relyingPartyDefinitions, TrustBrokerProperties trustBrokerProperties, CustomOAuth2AuthorizationService customOAuth2AuthorizationService)