I'm working on upgrading spring-security-saml2-core from version 1.0.10.RELEASE to 2.0.0.M31 in my project. I don't want to switch to the newer spring-security-library. After the upgrade, I face the following missing import errors on compilation:
org.opensaml.saml2.metadata(fromorg.opensaml:opensaml:2.6.6jar)org.opensaml.xml(fromorg.opensaml:xmltooling:1.4.4jar)org.opensaml.xml.security(fromorg.opensaml:xmltooling:1.4.4jar)org.opensaml.xml.signature(fromorg.opensaml:xmltooling:1.4.4jar)org.springframework.security.saml.key(fromorg.springframework.security.extensions:spring-security-saml2-core:1.0.10.RELEASEjar)org.springframework.security.saml.metadata(fromorg.springframework.security.extensions:spring-security-saml2-core:1.0.10.RELEASEjar)org.opensaml.xml.security.credential(fromorg.opensaml:xmltooling:1.4.4jar)org.springframework.security.providers(fromorg.springframework.security.extensions:spring-security-saml2-core:1.0.10.RELEASEjar)org.opensaml.saml2.core(fromorg.opensaml:opensaml:2.6.6jar)org.springframework.security.saml.userdetails(fromorg.springframework.security.extensions:spring-security-saml2-core:1.0.10.RELEASEjar)
These missing imports are crucial for my application, and I'm unable to compile the code without resolving them.
I was expecting the migration to be straightforward, but unfortunately, that was not the case. I've looked for migration documentation to help with the transition, but the only document available is the SAML 2.0 Migration Guide. However, it's poorly written and doesn't suggest alternate packages for the ones that have changed. Good example doc:https://restsharp.dev/v107/#reference
I expected to find a clear and concise migration path, including the necessary package replacements. Now, I'm stuck with these compilation errors and unsure how to proceed.
Can anyone point me to the alternatives or solutions for these missing imports? Any help or guidance on this migration would be greatly appreciated.