-
Notifications
You must be signed in to change notification settings - Fork 6k
SAML2 provider 5.6.0 + Open 4.0.0 in maven got NoSuchMethodError #10539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @fr2lancer, thanks for reaching out. The opensaml artifacts are published in So, to use the latest release you should add the repository to your |
When will the new versions be released to central maven ? |
Hi @kapil00, I think this question is better suited for the OpenSAML team. |
The OpenSAML team has commented on using Maven Central in the past. |
The pom for spring-security-saml2-service-provider 5.7.3 says that it depends on opensaml-saml-api 3.4.6, but 3.4.6 has the 5-arg constructor and 5.7.3 tries to invoke a 6-arg constructor. I don't understand how it could have compiled. |
That's because we currently support both OpenSAML3 and OpenSAML4. Starting from Spring Security 6, OpenSAML3 won't be supported. See #10556 |
Hi @marcusdacoregio
The error I keep on getting is :-
The 'following locations' doesn't have the shibboleth nexus url listed. Could you please help with why my application doesn't search for the Opensaml 4 artifact in the Shibboleth repository, and is not able to even connect with the repository? |
Hi @akhil-lm. Can you share your whole |
Hi @marcusdacoregio, I was placing my shibboleth repository inside the repositories{} in the buildscript{}. Once I moved the shibboleth repository declaration to the other 'repositories{}' outside the buildscript{} body, I was able to connect with it. |
Describe the bug
Some of methods seem to not match the method signature in two libs in maven.
To Reproduce
Set versions in your pom.xml or other way to
Then got the error down below.
If I change opensaml4 to 4.1.1 by compiling locally, it pass.
Expected behavior
The newer version of Opensaml4 hasn't been released in maven yet. So spring-security-saml2-service-provider in maven would need to keep the dependency of opensaml 4 in maven until newer release.
Sample
The text was updated successfully, but these errors were encountered: