【问题标题】:spring-security-saml2-core upgrade with sprig boot 2spring-security-saml2-core 使用 spring boot 2 升级
【发布时间】:2018-10-19 08:45:38
【问题描述】:

我们正在尝试将我们的应用程序升级到 Spring Boot 2.0,在此过程中我们收到了错误 java.lang.ClassCastException: org.opensaml.core.xml.schema.impl.XSAnyBuilder cannot be cast to org.opensaml.xml.XMLObjectBuilder。经过大量研究,我们发现,我们遇到了麻烦,因为我们在类路径中有两个 opensaml jar(2 和 3)并决定升级以将 spring-security-saml2-core jar 升级到 2.0.0。

我们下载了 2.0.0.SNAPHSHOT jar,但似乎有很多类已更改/重命名。是否有任何文档/示例可以让我轻松比较和迁移我的旧代码。例如旧的 jar SamlBootStrap 类和新的没有。

请帮忙

【问题讨论】:

    标签: spring-boot spring-security-saml2


    【解决方案1】:

    两个版本之间的差异是巨大的,而且我知道opensaml 库版本之间的差异也非常大。我为自己做了一个小项目来学习如何使用这个新版本,也许也可以帮助你。 Samlv2App

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-06-11
      • 2018-11-22
      • 2019-03-24
      • 2019-02-18
      • 2014-04-10
      • 2014-11-09
      • 2021-08-30
      相关资源
      最近更新 更多