Class DatadisSecurityConfig

java.lang.Object
energy.eddie.regionconnector.es.datadis.DatadisSecurityConfig

public class DatadisSecurityConfig extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder
    datadisMvcRequestMatcher(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
     
    org.springframework.security.web.SecurityFilterChain
    datadisSecurityFilterChain(org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder datadisMvcRequestMatcher, org.springframework.security.config.annotation.web.builders.HttpSecurity http, JwtAuthorizationManager jwtHeaderAuthorizationManager, org.springframework.web.cors.CorsConfigurationSource corsConfigurationSource, com.fasterxml.jackson.databind.ObjectMapper mapper)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DatadisSecurityConfig

      public DatadisSecurityConfig()
  • Method Details

    • datadisMvcRequestMatcher

      @Bean @ConditionalOnProperty(value="region-connector.es.datadis.enabled", havingValue="true") public org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder datadisMvcRequestMatcher(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
    • datadisSecurityFilterChain

      @Bean @ConditionalOnProperty(value="region-connector.es.datadis.enabled", havingValue="true") public org.springframework.security.web.SecurityFilterChain datadisSecurityFilterChain(org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder datadisMvcRequestMatcher, org.springframework.security.config.annotation.web.builders.HttpSecurity http, JwtAuthorizationManager jwtHeaderAuthorizationManager, org.springframework.web.cors.CorsConfigurationSource corsConfigurationSource, com.fasterxml.jackson.databind.ObjectMapper mapper) throws Exception
      Throws:
      Exception