【问题标题】:Spring SAML default consure URL | modifySpring SAML 默认确认 URL |调整
【发布时间】:2019-07-25 15:54:23
【问题描述】:

我正在尝试为 Spring Boot 应用程序集成 SAML SSO,但是,我想将 SAML 响应 URL(由 idp 重定向的消费者 URL)配置为其他 url,例如:/example/SAMLConsumer

有可能吗?

【问题讨论】:

    标签: spring-security spring-saml


    【解决方案1】:

    是的,这是可能的。

    1. WebSSOProcessorFilter 中使用setFilterProcessUrl('desired_url')
    2. 确保添加到链中的过滤器映射到相同的 url 模式desired_url/**
    3. 重新生成服务提供者元数据(以防这不是自动生成)。

    【讨论】:

      猜你喜欢
      • 2019-08-17
      • 2021-11-02
      • 1970-01-01
      • 1970-01-01
      • 2015-08-08
      • 2014-10-17
      • 1970-01-01
      • 2014-04-12
      • 1970-01-01
      相关资源
      最近更新 更多