我正在使用 spring-security-saml2 api 来建立连接。
它在一段时间内运行良好,但最近我在响应标头中的日期遇到了一些麻烦。当org.springframework.security.saml.SAMLProcessingFilter
调用过滤器 (url -> /saml/SSO/alias/defaultAlias
) 时,响应包含一个标头date
,并且此日期有时会晚 2 小时。
因此我收到一个错误Etat HTTP 401 - Authentication Failed : Response issue time is either too old or with date in the future, skew 60, time 2014-10-22T08:25:55.967Z
(在 10h25 测试)
我不知道如何检索日期以及为什么这种行为只会定期发生。我正在寻找任何线索。谢谢。