diff --git a/www/saml2/sp/AssertionConsumerService.php b/www/saml2/sp/AssertionConsumerService.php index b55fc97be99a86e189ab34872979bb5f4e9d06d2..88dbc5c3c7417a29fb725760979db04fd94b445d 100644 --- a/www/saml2/sp/AssertionConsumerService.php +++ b/www/saml2/sp/AssertionConsumerService.php @@ -1,5 +1,13 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); /** @@ -14,6 +22,8 @@ require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); +SimpleSAML_Logger::warning('The file saml2/sp/AssertionConsumerService.php is deprecated and will be removed in future versions.'); + /* Get the session object for the user. Create a new session if no session * exists for this user. */ diff --git a/www/saml2/sp/SingleLogoutService.php b/www/saml2/sp/SingleLogoutService.php index cf9f94cd06e761b6486da833236206cc2a6aa581..e0b6f8a3251366fadaac3553b615a58332e1ede1 100644 --- a/www/saml2/sp/SingleLogoutService.php +++ b/www/saml2/sp/SingleLogoutService.php @@ -1,10 +1,20 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); +SimpleSAML_Logger::warning('The file saml2/sp/SingleLogoutService.php is deprecated and will be removed in future versions.'); + // Get the local session $session = SimpleSAML_Session::getInstance(); diff --git a/www/saml2/sp/idpdisco.php b/www/saml2/sp/idpdisco.php index 6425cddf77c2f6f68f9c4733c9b011397087aea9..b7cdff38101558245a682af3face4f2c4d567a3d 100644 --- a/www/saml2/sp/idpdisco.php +++ b/www/saml2/sp/idpdisco.php @@ -1,7 +1,17 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); +SimpleSAML_Logger::warning('The file saml2/sp/idpdisco.php is deprecated and will be removed in future versions.'); + try { $discoHandler = new SimpleSAML_XHTML_IdPDisco(array('saml20-idp-remote'), 'saml20'); } catch (Exception $exception) { diff --git a/www/saml2/sp/initSLO.php b/www/saml2/sp/initSLO.php index 4b8b2f54775af6c9f853d9d3309c4a3ac65a388e..de4f3810fbace32dddcb2a12dc05e824840d6b4a 100644 --- a/www/saml2/sp/initSLO.php +++ b/www/saml2/sp/initSLO.php @@ -1,11 +1,21 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); $session = SimpleSAML_Session::getInstance(); +SimpleSAML_Logger::warning('The file saml2/sp/initSLO.php is deprecated and will be removed in future versions.'); + SimpleSAML_Logger::info('SAML2.0 - SP.initSLO: Accessing SAML 2.0 SP initSLO script'); if (!$config->getBoolean('enable.saml20-sp', TRUE)) diff --git a/www/saml2/sp/initSSO.php b/www/saml2/sp/initSSO.php index c6d17803688c9318dd1b4f983199f880732a9543..55ca0efc0988c2666945d61b7fabcd3d7927916d 100644 --- a/www/saml2/sp/initSSO.php +++ b/www/saml2/sp/initSSO.php @@ -1,11 +1,20 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); $session = SimpleSAML_Session::getInstance(); +SimpleSAML_Logger::warning('The file saml2/sp/initSSO.php is deprecated and will be removed in future versions.'); SimpleSAML_Logger::info('SAML2.0 - SP.initSSO: Accessing SAML 2.0 SP initSSO script'); diff --git a/www/saml2/sp/metadata.php b/www/saml2/sp/metadata.php index 9471946851b914ed36cdddc208caf2580c45114e..8d2f2a73a6a0b84e106258dab796992cc08df6a5 100644 --- a/www/saml2/sp/metadata.php +++ b/www/saml2/sp/metadata.php @@ -1,11 +1,21 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); /* Load simpleSAMLphp, configuration and metadata */ $config = SimpleSAML_Configuration::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); +SimpleSAML_Logger::warning('The file saml2/sp/metadata.php is deprecated and will be removed in future versions.'); + if (!$config->getValue('enable.saml20-sp', TRUE)) throw new SimpleSAML_Error_Error('NOACCESS'); diff --git a/www/shib13/sp/AssertionConsumerService.php b/www/shib13/sp/AssertionConsumerService.php index 6d04f8ca1c3606b51733069d638db29df13aede6..9e59d0ac791e96d223ea7c2803315392f5760f79 100644 --- a/www/shib13/sp/AssertionConsumerService.php +++ b/www/shib13/sp/AssertionConsumerService.php @@ -1,9 +1,19 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); +SimpleSAML_Logger::warning('The file shib13/sp/AssertionConsumerService.php is deprecated and will be removed in future versions.'); + $session = SimpleSAML_Session::getInstance(); diff --git a/www/shib13/sp/idpdisco.php b/www/shib13/sp/idpdisco.php index b9c563e08ed145435ad23a5cba208094c78301e3..85822edd00f6d9e68da06da3d714375a63b7303b 100644 --- a/www/shib13/sp/idpdisco.php +++ b/www/shib13/sp/idpdisco.php @@ -1,7 +1,17 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); +SimpleSAML_Logger::warning('The file shib13/sp/idpdisco.php is deprecated and will be removed in future versions.'); + try { $discoHandler = new SimpleSAML_XHTML_IdPDisco(array('shib13-idp-remote'), 'shib13'); } catch (Exception $exception) { diff --git a/www/shib13/sp/initSSO.php b/www/shib13/sp/initSSO.php index 5d40daae2b1835216d1c5487ff68f60309783184..de5f74eca039893b720ad35d5dd3f84b91b44220 100644 --- a/www/shib13/sp/initSSO.php +++ b/www/shib13/sp/initSSO.php @@ -1,10 +1,19 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); +SimpleSAML_Logger::warning('The file shib13/sp/initSSO.php is deprecated and will be removed in future versions.'); $session = SimpleSAML_Session::getInstance(); diff --git a/www/shib13/sp/metadata.php b/www/shib13/sp/metadata.php index 2bc4f8733f43c586dd459906a1d0a68f25fd7c14..4f3d2dbf4cad7a4bee6797ceeb8eb7bad0728915 100644 --- a/www/shib13/sp/metadata.php +++ b/www/shib13/sp/metadata.php @@ -1,11 +1,20 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); /* Load simpleSAMLphp, configuration and metadata */ $config = SimpleSAML_Configuration::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); +SimpleSAML_Logger::warning('The file shib13/sp/metadata.php is deprecated and will be removed in future versions.'); if (!$config->getBoolean('enable.shib13-sp', false)) throw new SimpleSAML_Error_Error('NOACCESS'); diff --git a/www/wsfed/sp/idpdisco.php b/www/wsfed/sp/idpdisco.php index fe6f0b6a994d5494fcfa3ceda37ddf88bb23cbd1..f48f9c9ea534b591be80ce1fbba34bfac3d201dd 100644 --- a/www/wsfed/sp/idpdisco.php +++ b/www/wsfed/sp/idpdisco.php @@ -1,7 +1,17 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); +SimpleSAML_Logger::warning('The file wsfed/sp/idpdisco.php is deprecated and will be removed in future versions.'); + try { $discoHandler = new SimpleSAML_XHTML_IdPDisco(array('wsfed-idp-remote'), 'wsfed'); } catch (Exception $exception) { diff --git a/www/wsfed/sp/initSLO.php b/www/wsfed/sp/initSLO.php index 318bfa2feb8d9e5cb81f7472172da253e0fe8551..001d8fb74699cff632283b279e9db025c1510343 100644 --- a/www/wsfed/sp/initSLO.php +++ b/www/wsfed/sp/initSLO.php @@ -1,9 +1,19 @@ <?php +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); +SimpleSAML_Logger::warning('The file wsfed/sp/initSLO.php is deprecated and will be removed in future versions.'); + $session = SimpleSAML_Session::getInstance(); SimpleSAML_Logger::info('WS-Fed - SP.initSLO: Accessing WS-Fed SP initSLO script'); diff --git a/www/wsfed/sp/initSSO.php b/www/wsfed/sp/initSSO.php index f3f1ec7d7d56420ae42930b9b74eff235f18ba3b..a55d6aac42005d071b8b34d40c8c0c3fef4d3414 100644 --- a/www/wsfed/sp/initSSO.php +++ b/www/wsfed/sp/initSSO.php @@ -1,4 +1,13 @@ <?php + +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + /** * WS-Federation/ADFS PRP protocol support for simpleSAMLphp. * @@ -16,6 +25,8 @@ require_once('../../_include.php'); $config = SimpleSAML_Configuration::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); +SimpleSAML_Logger::warning('The file wsfed/sp/initSSO.php is deprecated and will be removed in future versions.'); + SimpleSAML_Logger::info('WS-Fed - SP.initSSO: Accessing WS-Fed SP initSSO script'); if (!$config->getBoolean('enable.wsfed-sp', false)) diff --git a/www/wsfed/sp/prp.php b/www/wsfed/sp/prp.php index 56b9b24965bc831033647121f477506639db6bd8..606222b265ef6b25459cbf83a714147ebd8b302e 100644 --- a/www/wsfed/sp/prp.php +++ b/www/wsfed/sp/prp.php @@ -1,4 +1,13 @@ <?php + +/** + * WARNING: + * + * THIS FILE IS DEPRECATED AND WILL BE REMOVED IN FUTURE VERSIONS + * + * @deprecated + */ + /** * WS-Federation/ADFS PRP protocol support for simpleSAMLphp. * @@ -18,6 +27,8 @@ $config = SimpleSAML_Configuration::getInstance(); $session = SimpleSAML_Session::getInstance(); $metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler(); +SimpleSAML_Logger::warning('The file wsfed/sp/prp.php is deprecated and will be removed in future versions.'); + SimpleSAML_Logger::info('WS-Fed - SP.AssertionConsumerService: Accessing WS-Fed SP endpoint AssertionConsumerService'); if (!$config->getBoolean('enable.wsfed-sp', false))