java - Where come from this header date in response? (spring-saml2 with Tomcat) -



java - Where come from this header date in response? (spring-saml2 with Tomcat) -

i'm using spring-security-saml2 api found connections.

it worked while lately experienced troubles date in response header. when filter org.springframework.security.saml.samlprocessingfilter called (url -> /saml/sso/alias/defaultalias), response contains header date , date sometimes 2 hours late.

hence error etat http 401 - authentication failed : response issue time either old or date in future, skew 60, time 2014-10-22t08:25:55.967z (tested @ 10h25)

i've not thought how date retrieved , why behaviour happens periodically. i'm looking clue. thanks.

what time-zone in? 2014-10-22t08:25:55.967z in utc, 2 hr difference between local time explained beingness in gmt+2 (e.g. french republic summer time).

my guess clock between idp , sp not correctly synchronized, , time difference between creation of response object (2014-10-22t08:25:55.967z) , time on sp machine goes above 60 seconds.

try changing webssoprofileconsumerimpl bean , declare follows, it's solve problem:

<bean id="webssoprofileconsumer" class="org.springframework.security.saml.websso.webssoprofileconsumerimpl"> <property name="responseskew" value="180"/> </bean>

java spring tomcat spring-saml

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -