Spring security Spring SAML扩展,如何设置relayState?
我有一个springboot应用程序,它对几个应用程序执行身份验证,我想设置RelayState,以便在身份验证之后,应用程序重定向回调用的应用程序 在我的配置方法中,我使用以下方式连接到IDP: http .csrf().disable() .授权请求() .antMatchers(“/saml*”).permitAll()Spring security Spring SAML扩展,如何设置relayState?,spring-security,spring-saml,Spring Security,Spring Saml,我有一个springboot应用程序,它对几个应用程序执行身份验证,我想设置RelayState,以便在身份验证之后,应用程序重定向回调用的应用程序 在我的配置方法中,我使用以下方式连接到IDP: http .csrf().disable() .授权请求() .antMatchers(“/saml*”).permitAll() .antMatchers(“/actuator*”).permitAll() .anyRequest().authenticated() .及() .apply(saml
.antMatchers(“/actuator*”).permitAll() .anyRequest().authenticated() .及() .apply(saml()) .serviceProvider() .keyStore() .storeFilePath(此.keystrefilepath) .password(此.password) .keyname(此.keyAlias) .keyPassword(此.password) .及() .协议(“https”) .hostname(String.format(“%s”,this.serverName)) .basePath(this.contextPath) .及() .identityProvider() .已发现(错误) .metadataFilePath(此.metadataUrl) 有人举过如何设置继电器状态的例子吗
谢谢您找到设置relayState参数的解决方案了吗?我也面临同样的问题。