Both spring-security-config and spring-security-web are configured as provided as a result of importing org.springframework.boot:spring-boot-starter-security.
However...
Given the following build from the Spring Security sample oauth2Login:
Only spring-security-config is configured as provided as a result of importing org.springframework.boot:spring-boot-starter-security. But spring-security-web is configured as compille. The expectation would be that it also would be configured as provided as is the case in the helloworld sample.
Furthermore, I feel that project imports should take precedence over dependency imports. So in both cases above, although org.springframework.boot:spring-boot-starter-security imports spring-security-config and spring-security-web, if they are explicitly imported as projects than I feel the configuration should be compile.
Given the following build from the Spring Security sample helloworld:
Both
spring-security-config
andspring-security-web
are configured as provided as a result of importingorg.springframework.boot:spring-boot-starter-security
.However...
Given the following build from the Spring Security sample oauth2Login:
Only
spring-security-config
is configured as provided as a result of importingorg.springframework.boot:spring-boot-starter-security
. Butspring-security-web
is configured as compille. The expectation would be that it also would be configured as provided as is the case in the helloworld sample.Furthermore, I feel that project imports should take precedence over dependency imports. So in both cases above, although
org.springframework.boot:spring-boot-starter-security
importsspring-security-config
andspring-security-web
, if they are explicitly imported as projects than I feel the configuration should be compile.