Class AiidaSecurityConfig

java.lang.Object
energy.eddie.regionconnector.aiida.AiidaSecurityConfig

public class AiidaSecurityConfig extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    • AiidaSecurityConfig

      public AiidaSecurityConfig()
  • Method Details

    • aiidaMvcRequestMatcher

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

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