Upgrade to Nimbus JOSE JWT 9.5

Closes gh-25249
pull/25264/head
Andy Wilkinson 4 years ago
parent e8e8a4c16b
commit dadd6241ac

@ -123,8 +123,7 @@ class ReactiveOAuth2ResourceServerAutoConfigurationTests {
"spring.security.oauth2.resourceserver.jwt.public-key-location=classpath:public-key-location", "spring.security.oauth2.resourceserver.jwt.public-key-location=classpath:public-key-location",
"spring.security.oauth2.resourceserver.jwt.jws-algorithm=RS384").run((context) -> { "spring.security.oauth2.resourceserver.jwt.jws-algorithm=RS384").run((context) -> {
NimbusReactiveJwtDecoder nimbusReactiveJwtDecoder = context.getBean(NimbusReactiveJwtDecoder.class); NimbusReactiveJwtDecoder nimbusReactiveJwtDecoder = context.getBean(NimbusReactiveJwtDecoder.class);
assertThat(nimbusReactiveJwtDecoder) assertThat(nimbusReactiveJwtDecoder).extracting("jwtProcessor.arg$1.jwsKeySelector.expectedJWSAlg")
.extracting("jwtProcessor.arg$1.jwsKeySelector.expectedJwsAlgorithm")
.isEqualTo(JWSAlgorithm.RS384); .isEqualTo(JWSAlgorithm.RS384);
}); });
} }

@ -1268,7 +1268,7 @@ bom {
] ]
} }
} }
library("Nimbus JOSE JWT", "9.1.3") { library("Nimbus JOSE JWT", "9.5") {
group("com.nimbusds") { group("com.nimbusds") {
modules = [ modules = [
"nimbus-jose-jwt" "nimbus-jose-jwt"

Loading…
Cancel
Save