spring-attic / spring-security-saml

SAML extension for the Spring Security project
Other
419 stars 484 forks source link

spring-security-saml2 opensaml v.2 dependency conflict with opensaml v.3 #515

Closed surkoff-v closed 3 years ago

surkoff-v commented 3 years ago

We are using 1.0.10.RELEASE and now have conflict opensaml v.2 and opensaml v.3 (which is a dependency for spring-ws-security) org.opensaml.core.xml.schema.impl.XSAnyBuilder cannot be cast to class org.opensaml.xml.XMLObjectBuilder Is it the only solution to migrate to 2.0.0.M31 (as i understand it could be time consuming) Or may be exists old version branch with upgraded dependency to opensaml v.3. May be there is other solution?

jzheaux commented 3 years ago

Since this project is in maintenance mode, please consider using spring-security-saml2-service-provider instead, which is actively supported and documented.

Note that spring-security-saml2-service-provider supports both OpenSAML 3 and 4, though 4 is recommended since 3 has reached end-of-life.