Describe the bug I am using the spring-security-saml2-service-provider dependency (5.7.4) and saml org.opensaml opensaml-saml-impl 4.0.1

When I try to trigger a SAML request, it stopped with an 500 error In the stacktrace I see this line

java.lang.NoSuchMethodError: 'org.joda.time.DateTime org.opensaml.saml.saml2.core.AuthnRequest.getIssueInstant()'

To Reproduce See above

Expected behavior I expect to create an AuthnRequest with an Instant and not a Joda DateTime

Sample

A link to a GitHub repository with a minimal, reproducible sample.

Reports that include a sample will take priority over reports that do not. At times, we may require a sample, so it is good to try and include a sample up front.