Class FingridSecurityConfig

java.lang.Object
energy.eddie.regionconnector.fi.fingrid.FingridSecurityConfig

public class FingridSecurityConfig extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder
    fingridMvcRequestMatcher(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
     
    org.springframework.security.web.SecurityFilterChain
    fingridSecurityFilterChain(org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder fingridMvcRequestMatcher, 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

    • FingridSecurityConfig

      public FingridSecurityConfig()
  • Method Details

    • fingridMvcRequestMatcher

      @Bean @ConditionalOnProperty(value="region-connector.fi.fingrid.enabled", havingValue="true") public org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder fingridMvcRequestMatcher(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector)
    • fingridSecurityFilterChain

      @Bean @ConditionalOnProperty(value="region-connector.fi.fingrid.enabled", havingValue="true") public org.springframework.security.web.SecurityFilterChain fingridSecurityFilterChain(org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder fingridMvcRequestMatcher, 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