[BUG] The auto-configurations of AAD starter should not be enabled when no dependency spring-boot-starter-web #26915
Labels
azure-spring
All azure-spring related issues
azure-spring-aad
Spring active directory related issues.
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Milestone
Describe the bug
Currently, the auto-configurations of AAD starter should not be enabled when no dependency
spring-boot-starter-web
.Exception or Stack Trace
To Reproduce
Remove the dependency
spring-boot-starter-web
https://github.com/Azure-Samples/azure-spring-boot-samples/blob/803e5a1f54bb00c67e298f3877eca7a96834e5fc/aad/azure-spring-boot-starter-active-directory/aad-web-application/pom.xml#L39-L43Code Snippet
Please refer to the sample.
Expected behavior
@ConditionalOnClass(name = "javax.servlet.Filter")
to check the dependency.Setup (please complete the following information):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: