Skip to content

Commit 6724e3e

Browse files
ovidiupopa07jgrandja
authored andcommitted
Provide a R2dbc implementation of ReactiveOuath2AuthorizedClientService
Implement R2dbcReactiveOuath2AuthorizedClientService which persists the Oauth2AuthorizedClient in a sql database R2dbcReactiveOuath2AuthorizedClientService is using the spring-r2dbc module to persist/load Oauth2AuthorizedClient to/from a sql database Add optional depedency to the spring-r2dbc module Add test compile dependencies to r2dbc-h2 and r2dbc-test Closes gh-7890
1 parent f8cc48f commit 6724e3e

File tree

3 files changed

+771
-0
lines changed

3 files changed

+771
-0
lines changed

oauth2/oauth2-client/spring-security-oauth2-client.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dependencies {
1313
optional 'com.fasterxml.jackson.core:jackson-databind'
1414
optional 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
1515
optional 'org.springframework:spring-jdbc'
16+
optional 'org.springframework:spring-r2dbc'
1617

1718
testCompile project(path: ':spring-security-oauth2-core', configuration: 'tests')
1819
testCompile project(path: ':spring-security-oauth2-jose', configuration: 'tests')
@@ -22,6 +23,8 @@ dependencies {
2223
testCompile 'io.projectreactor:reactor-test'
2324
testCompile 'io.projectreactor.tools:blockhound'
2425
testCompile 'org.skyscreamer:jsonassert'
26+
testCompile 'io.r2dbc:r2dbc-h2:0.8.4.RELEASE'
27+
testCompile 'io.r2dbc:r2dbc-spi-test:0.8.3.RELEASE'
2528

2629
testRuntime 'org.hsqldb:hsqldb'
2730

0 commit comments

Comments
 (0)