Skip to content
Permalink
Browse files
GERONIMO-6646 ensure the default org.eclipse.microprofile.authenticat…
…ion.JWT.clockSkew is 1mn, not 17h
  • Loading branch information
rmannibucau committed Aug 28, 2018
1 parent d97df86 commit 4ed8edc1c71036b9d171254a79320c50ac434a53
Showing 1 changed file with 2 additions and 2 deletions.
@@ -45,8 +45,8 @@ private void init() {
issuedAtTimeMandatory = Boolean.parseBoolean(config.read("iat.required", "true"));
tolerance = Long.parseLong(config.read("date.tolerance",
Long.toString(ofNullable(config.read("org.eclipse.microprofile.authentication.JWT.clockSkew", null))
.map(Long::parseLong).map(it -> it * 1000)
.orElse(60000L))));
.map(Long::parseLong)
.orElse(60L))));
}

void checkInterval(final JsonObject payload) {

0 comments on commit 4ed8edc

Please sign in to comment.