Class SecurityUtils
java.lang.Object
energy.eddie.spring.regionconnector.extensions.SecurityUtils
This class provides methods that create a security config for region-connectors that require a manuel response by the
final customers. For example, the Fingrid and Datadis region-connector.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.BuildermvcRequestMatcher(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, String regionConnectorId) static org.springframework.security.web.SecurityFilterChainsecurityFilterChain(org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder mvcRequestMatcher, org.springframework.security.config.annotation.web.builders.HttpSecurity http, JwtAuthorizationManager jwtHeaderAuthorizationManager, org.springframework.web.cors.CorsConfigurationSource corsConfigurationSource, com.fasterxml.jackson.databind.ObjectMapper mapper, Iterable<String> authorizationPaths, Iterable<String> publicPaths)
-
Method Details
-
mvcRequestMatcher
public static org.springframework.security.web.servlet.util.matcher.MvcRequestMatcher.Builder mvcRequestMatcher(org.springframework.web.servlet.handler.HandlerMappingIntrospector introspector, String regionConnectorId)