parent
86c445f491
commit
62db842865
|
@ -18,8 +18,8 @@ dependencies {
|
||||||
constraints {
|
constraints {
|
||||||
api "ch.qos.logback:logback-classic:1.2.6"
|
api "ch.qos.logback:logback-classic:1.2.6"
|
||||||
api "com.google.inject:guice:3.0"
|
api "com.google.inject:guice:3.0"
|
||||||
api "com.nimbusds:nimbus-jose-jwt:9.11.3"
|
api "com.nimbusds:nimbus-jose-jwt:9.12.1"
|
||||||
api "com.nimbusds:oauth2-oidc-sdk:9.12"
|
api "com.nimbusds:oauth2-oidc-sdk:9.15"
|
||||||
api "com.squareup.okhttp3:mockwebserver:3.14.9"
|
api "com.squareup.okhttp3:mockwebserver:3.14.9"
|
||||||
api "com.squareup.okhttp3:okhttp:3.14.9"
|
api "com.squareup.okhttp3:okhttp:3.14.9"
|
||||||
api "com.unboundid:unboundid-ldapsdk:4.0.14"
|
api "com.unboundid:unboundid-ldapsdk:4.0.14"
|
||||||
|
|
|
@ -694,7 +694,7 @@ public class NimbusJwtDecoderTests {
|
||||||
assertThatExceptionOfType(BadJwtException.class)
|
assertThatExceptionOfType(BadJwtException.class)
|
||||||
.isThrownBy(() -> jwtDecoder.decode(SIGNED_JWT))
|
.isThrownBy(() -> jwtDecoder.decode(SIGNED_JWT))
|
||||||
.withMessageContaining("An error occurred while attempting to decode the Jwt: "
|
.withMessageContaining("An error occurred while attempting to decode the Jwt: "
|
||||||
+ "Required JOSE header \"typ\" (type) parameter is missing");
|
+ "Required JOSE header typ (type) parameter is missing");
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -359,7 +359,7 @@ public class NimbusReactiveJwtDecoderTests {
|
||||||
.build();
|
.build();
|
||||||
assertThatExceptionOfType(BadJwtException.class)
|
assertThatExceptionOfType(BadJwtException.class)
|
||||||
.isThrownBy(() -> decoder.decode(this.messageReadToken).block())
|
.isThrownBy(() -> decoder.decode(this.messageReadToken).block())
|
||||||
.havingRootCause().withMessage("Required JOSE header \"typ\" (type) parameter is missing");
|
.havingRootCause().withMessage("Required JOSE header typ (type) parameter is missing");
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -442,7 +442,7 @@ public class NimbusReactiveJwtDecoderTests {
|
||||||
.build();
|
.build();
|
||||||
assertThatExceptionOfType(BadJwtException.class)
|
assertThatExceptionOfType(BadJwtException.class)
|
||||||
.isThrownBy(() -> decoder.decode(this.rsa256).block())
|
.isThrownBy(() -> decoder.decode(this.rsa256).block())
|
||||||
.havingRootCause().withMessage("Required JOSE header \"typ\" (type) parameter is missing");
|
.havingRootCause().withMessage("Required JOSE header typ (type) parameter is missing");
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ public class NimbusReactiveJwtDecoderTests {
|
||||||
assertThatExceptionOfType(BadJwtException.class)
|
assertThatExceptionOfType(BadJwtException.class)
|
||||||
.isThrownBy(() -> decoder.decode(this.messageReadToken).block())
|
.isThrownBy(() -> decoder.decode(this.messageReadToken).block())
|
||||||
.havingRootCause()
|
.havingRootCause()
|
||||||
.withMessage("Required JOSE header \"typ\" (type) parameter is missing");
|
.withMessage("Required JOSE header typ (type) parameter is missing");
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -559,7 +559,7 @@ public class NimbusReactiveJwtDecoderTests {
|
||||||
.build();
|
.build();
|
||||||
assertThatExceptionOfType(BadJwtException.class)
|
assertThatExceptionOfType(BadJwtException.class)
|
||||||
.isThrownBy(() -> decoder.decode(this.messageReadToken).block())
|
.isThrownBy(() -> decoder.decode(this.messageReadToken).block())
|
||||||
.havingRootCause().withMessage("Required JOSE header \"typ\" (type) parameter is missing");
|
.havingRootCause().withMessage("Required JOSE header typ (type) parameter is missing");
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue