From 3c292b785561d115c988724244428edbc04d34d3 Mon Sep 17 00:00:00 2001
From: Jaime Perez <jaime.perez@uninett.no>
Date: Wed, 5 Mar 2014 18:27:26 +0100
Subject: [PATCH] Delete old modules/core/www/idp/resumeauth.php. Scheduled for
 removal in 1.8.

---
 modules/core/www/idp/resumeauth.php | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 modules/core/www/idp/resumeauth.php

diff --git a/modules/core/www/idp/resumeauth.php b/modules/core/www/idp/resumeauth.php
deleted file mode 100644
index dff0cb337..000000000
--- a/modules/core/www/idp/resumeauth.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-/* TODO: Delete this file in version 1.8. */
-
-if (!isset($_REQUEST['RequestID'])) {
-	throw new SimpleSAML_Error_BadRequest('Missing required URL parameter.');
-}
-
-/* Backwards-compatibility with old authentication pages. */
-$session = SimpleSAML_Session::getSessionFromRequest();
-$requestcache = $session->getAuthnRequest('saml2', (string)$_REQUEST['RequestID']);
-if (!$requestcache) {
-	throw new Exception('Could not retrieve cached RequestID = ' . $authId);
-}
-
-if ($requestcache['ForceAuthn'] && $requestcache['core:prevSession'] === $session->getAuthnInstant()) {
-	throw new Exception('ForceAuthn set, but timestamp not updated.');
-}
-
-$state = $requestcache['State'];
-SimpleSAML_IdP::postAuth($state);
-- 
GitLab