[英]how to configure before Login URL for Grails Spring Security SAML Plugin
I'm using Grails Spring Security SAML 3.3.1 Plugin in my application.我在我的应用程序中使用 Grails Spring Security SAML 3.3.1 插件。 I'm using WSO2 as my identity provider.
我使用 WSO2 作为我的身份提供者。
The setup is working fine.设置工作正常。 When grails.plugin.springsecurity.saml.active is set to true and when I launch my application's web console (ex: http://localhost:8080/WebConsole/) it redirects to the WSO2 login page.
当grails.plugin.springsecurity.saml.active设置为 true 并且当我启动我的应用程序的 web 控制台(例如:http://localhost:8080/WebConsole/)时,它会重定向到 WSO2 登录页面。
I believe the grails saml plugin takes care of this redirection to IDP login.我相信 grails saml 插件负责重定向到 IDP 登录。
Is there any way I can configure this redirection URL???有什么方法可以配置此重定向 URL??? I want to redirect to my application web console and from there on clicking on SSO login it should redirect to WSO2 login.
我想重定向到我的应用程序 web 控制台,然后从那里单击 SSO 登录,它应该重定向到 WSO2 登录。
Resolved it by removing SAML related filters (samlEntryPoint, samlProcessingFilter, samlLogoutFilter, samlLogoutProcessingFilter) to my application's web console default login URL. Now I can access my application's default login page when SAML is active.通过将 SAML 相关过滤器(samlEntryPoint、samlProcessingFilter、samlLogoutFilter、samlLogoutProcessingFilter)删除到我的应用程序的 web 控制台默认登录 URL 来解决它。现在我可以在 SAML 处于活动状态时访问我的应用程序的默认登录页面。
By default when SAML is active we were adding these filters as part of 'grails.plugin.springsecurity.filterChain.chainMap' which was causing this redirection to the WSO2 login page.默认情况下,当 SAML 处于活动状态时,我们将这些过滤器添加为“grails.plugin.springsecurity.filterChain.chainMap”的一部分,这导致重定向到 WSO2 登录页面。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.