Polish OpenSAML 4 support

Issue gh-9095
This commit is contained in:
Josh Cummings 2021-03-30 16:44:00 -06:00
parent 4f7d529c5d
commit 88c1475a3b
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
1 changed files with 2 additions and 2 deletions

View File

@ -334,8 +334,8 @@ public final class OpenSaml4AuthenticationProvider implements AuthenticationProv
return createAssertionValidator(Saml2ErrorCodes.INVALID_ASSERTION,
(assertionToken) -> SAML20AssertionValidators.attributeValidator,
(assertionToken) -> createValidationContext(assertionToken, (params) -> params
.put(SAML2AssertionValidationParameters.CLOCK_SKEW, Duration.ofMinutes(5).toMillis())));
(assertionToken) -> createValidationContext(assertionToken,
(params) -> params.put(SAML2AssertionValidationParameters.CLOCK_SKEW, Duration.ofMinutes(5))));
}
/**