When passing in [response time validation skew to OpenSAML](https://github.com/spring-projects/spring-security/blob/438ae215f8507fa1fddeadf99d67c9f406f63dac/saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/authentication/OpenSamlAuthenticationProvider.java#L254-L257), the type should be `long`, and not `Duration` The correct code would be: ``` validationParams.put( SAML2AssertionValidationParameters.CLOCK_SKEW, this.responseTimeValidationSkew.toMillis() ); ```