diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index ee8a554a5c2..7d9b032210d 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -489,6 +489,11 @@ spring-boot-starter-oauth2-client ${revision} + + org.springframework.boot + spring-boot-starter-oauth2-resource-server + ${revision} + org.springframework.boot spring-boot-starter-reactor-netty diff --git a/spring-boot-project/spring-boot-starters/pom.xml b/spring-boot-project/spring-boot-starters/pom.xml index 25815e5013d..0261f887f7a 100644 --- a/spring-boot-project/spring-boot-starters/pom.xml +++ b/spring-boot-project/spring-boot-starters/pom.xml @@ -57,6 +57,7 @@ spring-boot-starter-mustache spring-boot-starter-actuator spring-boot-starter-oauth2-client + spring-boot-starter-oauth2-resource-server spring-boot-starter-parent spring-boot-starter-quartz spring-boot-starter-reactor-netty diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/pom.xml b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/pom.xml new file mode 100644 index 00000000000..b250848f3cb --- /dev/null +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-oauth2-resource-server/pom.xml @@ -0,0 +1,39 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starters + ${revision} + + spring-boot-starter-oauth2-resource-server + Spring Boot OAuth2 Resource Server Starter + Starter for using Spring Security's OAuth2 resource server features + + ${basedir}/../../.. + + + + org.springframework.boot + spring-boot-starter + + + org.springframework.security + spring-security-config + + + org.springframework.security + spring-security-core + + + org.springframework.security + spring-security-oauth2-resource-server + + + org.springframework.security + spring-security-oauth2-jose + + + diff --git a/spring-boot-samples/spring-boot-sample-oauth2-resource-server/pom.xml b/spring-boot-samples/spring-boot-sample-oauth2-resource-server/pom.xml index 649d19b77de..b644fb9352b 100644 --- a/spring-boot-samples/spring-boot-sample-oauth2-resource-server/pom.xml +++ b/spring-boot-samples/spring-boot-sample-oauth2-resource-server/pom.xml @@ -18,24 +18,12 @@ org.springframework.boot - spring-boot-starter-security + spring-boot-starter-oauth2-resource-server org.springframework.boot spring-boot-starter-web - - org.springframework.security - spring-security-config - - - org.springframework.security - spring-security-oauth2-resource-server - - - org.springframework.security - spring-security-oauth2-jose - com.squareup.okhttp3 diff --git a/spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/pom.xml b/spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/pom.xml index 26cecedf791..b752feae612 100644 --- a/spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/pom.xml +++ b/spring-boot-samples/spring-boot-sample-reactive-oauth2-resource-server/pom.xml @@ -18,24 +18,12 @@ org.springframework.boot - spring-boot-starter-security + spring-boot-starter-oauth2-resource-server org.springframework.boot spring-boot-starter-webflux - - org.springframework.security - spring-security-config - - - org.springframework.security - spring-security-oauth2-jose - - - org.springframework.security - spring-security-oauth2-resource-server - com.squareup.okhttp3