Croway opened a new pull request, #1759:
URL: https://github.com/apache/camel-spring-boot/pull/1759

   ## Summary
   - Remove `SecurityAutoConfiguration` exclusion from 
`SpringBootPlatformHttpTest`
   - Add explicit `SecurityFilterChain` bean that permits all requests with 
CSRF disabled
   
   ## Context
   `PlatformHttpBinaryUploadTest` includes `SpringBootPlatformHttpTest.class` 
in its `@SpringBootTest` classes. On 4.18.x, `SpringBootPlatformHttpTest` 
excludes `SecurityAutoConfiguration`, which conflicts with the 
`SecurityFilterChain` bean defined in `PlatformHttpBinaryUploadTest`, causing 
`ApplicationContext` initialization failure.
   
   This aligns the 4.18.x test configuration with main, where 
`SpringBootPlatformHttpTest` already uses `@EnableAutoConfiguration` without 
exclusions and provides its own `SecurityFilterChain` bean.
   
   Fixes `PlatformHttpBinaryUploadTest.testBinaryPdfUpload` failure on 
Camel-Spring-Boot Daily build #52 (camel-spring-boot-4.18.x).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to