OpenSAML expects type `long` representing millis for response time validation skew

Fixes gh-7448

https://github.com/spring-projects/spring-security/issues/7448
This commit is contained in:
Filip Hanik 2019-09-17 08:53:12 -07:00
parent d3b7a47ef8
commit b6a057a925
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public final class OpenSamlAuthenticationProvider implements AuthenticationProvi
validationParams.put(SAML2AssertionValidationParameters.SIGNATURE_REQUIRED, false);
validationParams.put(
SAML2AssertionValidationParameters.CLOCK_SKEW,
this.responseTimeValidationSkew
this.responseTimeValidationSkew.toMillis()
);
validationParams.put(
SAML2AssertionValidationParameters.COND_VALID_AUDIENCES,