Start building against Spring Security 6.1.0-RC1 snapshots

See gh-34969
This commit is contained in:
Stephane Nicoll
2023-04-14 14:49:02 +02:00
parent 54ec50c529
commit c4c4eb93ae
2 changed files with 5 additions and 5 deletions

View File

@@ -192,7 +192,7 @@ class OAuth2ResourceServerAutoConfigurationTests {
assertThat(context.containsBean("jwtDecoderByIssuerUri")).isTrue();
SupplierJwtDecoder supplierJwtDecoderBean = context.getBean(SupplierJwtDecoder.class);
Supplier<JwtDecoder> jwtDecoderSupplier = (Supplier<JwtDecoder>) ReflectionTestUtils
.getField(supplierJwtDecoderBean, "jwtDecoderSupplier");
.getField(supplierJwtDecoderBean, "delegate");
jwtDecoderSupplier.get();
});
// The last request is to the JWK Set endpoint to look up the algorithm
@@ -216,7 +216,7 @@ class OAuth2ResourceServerAutoConfigurationTests {
assertThat(context.containsBean("jwtDecoderByIssuerUri")).isTrue();
SupplierJwtDecoder supplierJwtDecoderBean = context.getBean(SupplierJwtDecoder.class);
Supplier<JwtDecoder> jwtDecoderSupplier = (Supplier<JwtDecoder>) ReflectionTestUtils
.getField(supplierJwtDecoderBean, "jwtDecoderSupplier");
.getField(supplierJwtDecoderBean, "delegate");
jwtDecoderSupplier.get();
});
// The last request is to the JWK Set endpoint to look up the algorithm
@@ -241,7 +241,7 @@ class OAuth2ResourceServerAutoConfigurationTests {
assertThat(context.containsBean("jwtDecoderByIssuerUri")).isTrue();
SupplierJwtDecoder supplierJwtDecoderBean = context.getBean(SupplierJwtDecoder.class);
Supplier<JwtDecoder> jwtDecoderSupplier = (Supplier<JwtDecoder>) ReflectionTestUtils
.getField(supplierJwtDecoderBean, "jwtDecoderSupplier");
.getField(supplierJwtDecoderBean, "delegate");
jwtDecoderSupplier.get();
});
// The last request is to the JWK Set endpoint to look up the algorithm
@@ -516,7 +516,7 @@ class OAuth2ResourceServerAutoConfigurationTests {
.run((context) -> {
SupplierJwtDecoder supplierJwtDecoderBean = context.getBean(SupplierJwtDecoder.class);
Supplier<JwtDecoder> jwtDecoderSupplier = (Supplier<JwtDecoder>) ReflectionTestUtils
.getField(supplierJwtDecoderBean, "jwtDecoderSupplier");
.getField(supplierJwtDecoderBean, "delegate");
JwtDecoder jwtDecoder = jwtDecoderSupplier.get();
validate(issuerUri, jwtDecoder);
});

View File

@@ -1415,7 +1415,7 @@ bom {
]
}
}
library("Spring Security", "6.1.0-M2") {
library("Spring Security", "6.1.0-SNAPSHOT") {
group("org.springframework.security") {
imports = [
"spring-security-bom"