Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring security Spring SAML扩展,如何设置relayState?_Spring Security_Spring Saml - Fatal编程技术网

Spring security Spring SAML扩展,如何设置relayState?

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

我有一个springboot应用程序,它对几个应用程序执行身份验证,我想设置RelayState,以便在身份验证之后,应用程序重定向回调用的应用程序

在我的配置方法中,我使用以下方式连接到IDP: http .csrf().disable() .授权请求() .antMatchers(“/saml*”).permitAll()
.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参数的解决方案了吗?我也面临同样的问题。