Beapi-io / spring-boot-starter-beapi

Springboot 'convention over config' starter for API Automation
Other
1 stars 1 forks source link

BUG : Spring CorsFilter using RequestMappingHandlerMapping; cannot change #60

Closed orubel closed 1 year ago

orubel commented 1 year ago

For all API's, we are automating and autopopulating with SimpleUrlHandlerMapping but Spring is defaulting to RequestMappingHandlerMapping with hardcodes values with annotations rather than DYNAMICALLY POPULATING FROM A PROPERTIES FILE.

We need to write our own CORS filter and inject in Security Filter Chjain in place of their CorsFilter and allow it to :

orubel commented 1 year ago

have moved requestmapping to public apis while secure apis use the starter. closing