Skip to content
Snippets Groups Projects
Commit 5d4d7a9d authored by Olav Morken's avatar Olav Morken
Browse files

saml2_Message: Workaround for SPs which doesn't allow for clock drift.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1623 44740490-163a-0410-bde0-09ae8108e29a
parent 83d9db88
No related branches found
No related tags found
No related merge requests found
...@@ -442,7 +442,7 @@ class sspmod_saml2_Message { ...@@ -442,7 +442,7 @@ class sspmod_saml2_Message {
$a->setDestination($dstMetadata->getString('AssertionConsumerService')); $a->setDestination($dstMetadata->getString('AssertionConsumerService'));
$a->setValidAudiences(array($dstMetadata->getString('entityid'))); $a->setValidAudiences(array($dstMetadata->getString('entityid')));
$a->setNotBefore(time()); $a->setNotBefore(time() - 30);
$assertionLifetime = $dstMetadata->getInteger('assertion.lifetime', NULL); $assertionLifetime = $dstMetadata->getInteger('assertion.lifetime', NULL);
if ($assertionLifetime === NULL) { if ($assertionLifetime === NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment