-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OpenSamlAssertingPartyMetadataRepository should initialize OpenSAML #16042
Comments
Hi @jzheaux, Could I work on this issue? |
Sure, @ig-jinwoo! It should involve adding the following: static {
OpenSamlInitializationService.initialize();
} to both |
Also, note that this ticket is time-sensitive as it is targeting a release on November 18. If you get tied up and aren't able to put together a PR in the next few days, go ahead and let me know and I'll take care of things. |
Hi @jzheaux , thank you for providing additional details. I’ll aim to submit a PR as soon as possible, and if I cannot submit the PR by November 13, I’ll let you know. |
Closes spring-projectsgh-16042 This commit adds a static initializer block to both OpenSaml4AssertingPartyMetadataRepository and OpenSaml5AssertingPartyMetadataRepository. This ensures OpenSAML is initialized upon class loading, preventing failures when methods like withMetadataLocation are invoked without prior initialization.
Closes spring-projectsgh-16042 This commit adds a static initializer block to both OpenSaml4AssertingPartyMetadataRepository and OpenSaml5AssertingPartyMetadataRepository. This ensures OpenSAML is initialized upon class loading, preventing failures when methods like withMetadataLocation are invoked without prior initialization.
All
OpenSamlXXX
components should attempt to initialize OpenSAML.For example, when
OpenSaml5AssertingPartyMetadataRepository#withMetadataLocation
is called, the method will fail if another component hasn't already initialized OpenSAML.The text was updated successfully, but these errors were encountered: