Class ComponentBasedSecurityConfiguration.AuthzCorsConfigurationSource
java.lang.Object
info.ejava.examples.svc.authz.authorities.security.ComponentBasedSecurityConfiguration.AuthzCorsConfigurationSource
- All Implemented Interfaces:
org.springframework.web.cors.CorsConfigurationSource
- Enclosing class:
ComponentBasedSecurityConfiguration
protected static class ComponentBasedSecurityConfiguration.AuthzCorsConfigurationSource
extends Object
implements org.springframework.web.cors.CorsConfigurationSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.cors.CorsConfiguration
getCorsConfiguration
(jakarta.servlet.http.HttpServletRequest request)
-
Constructor Details
-
AuthzCorsConfigurationSource
protected AuthzCorsConfigurationSource()
-
-
Method Details
-
getCorsConfiguration
public org.springframework.web.cors.CorsConfiguration getCorsConfiguration(jakarta.servlet.http.HttpServletRequest request) - Specified by:
getCorsConfiguration
in interfaceorg.springframework.web.cors.CorsConfigurationSource
-