diff --git a/.sdkmanrc b/.sdkmanrc new file mode 100644 index 0000000..7112338 --- /dev/null +++ b/.sdkmanrc @@ -0,0 +1,3 @@ +# Enable auto-env through the sdkman_auto_env config +# Add key=value pairs of SDKs to use below +java=11.0.18-tem diff --git a/build.gradle b/build.gradle index 6704bb2..97adbcf 100644 --- a/build.gradle +++ b/build.gradle @@ -22,7 +22,7 @@ repositories { ext { versions = [ - wiremock : "3.5.2", + wiremock : "3.9.1", jwt : '4.4.0', jose4j : '0.9.6', ] @@ -56,12 +56,12 @@ ext { dependencies { api "org.wiremock:wiremock:$versions.wiremock" - implementation "com.auth0:auth0:2.10.0" + implementation "com.auth0:auth0:2.12.0" implementation "com.auth0:java-jwt:$versions.jwt" implementation "com.auth0:jwks-rsa:0.22.1" implementation "org.bitbucket.b_c:jose4j:$versions.jose4j" - implementation 'org.apache.commons:commons-lang3:3.14.0' - implementation 'commons-codec:commons-codec:1.16.0' + implementation 'org.apache.commons:commons-lang3:3.17.0' + implementation 'commons-codec:commons-codec:1.17.1' } shadowJar { diff --git a/src/test/java/org/wiremock/extension/jwt/JwtHelperAcceptanceTest.java b/src/test/java/org/wiremock/extension/jwt/JwtHelperAcceptanceTest.java index 69e2fd2..cc3650b 100644 --- a/src/test/java/org/wiremock/extension/jwt/JwtHelperAcceptanceTest.java +++ b/src/test/java/org/wiremock/extension/jwt/JwtHelperAcceptanceTest.java @@ -223,7 +223,7 @@ void returns_JSON_web_key_for_RSA256_public_key() { JwkRsaKeyProvider keyProvider = new JwkRsaKeyProvider( - new ApacheBackedHttpClient(HttpClientFactory.createClient()), wm.baseUrl()); + new ApacheBackedHttpClient(HttpClientFactory.createClient(), false), wm.baseUrl()); String body = getForTemplate("{{{jwt alg='RS256'}}}"); DecodedJWT jwt = JWT.decode(body);