Skip to content

Commit

Permalink
SAML: Renaming / Tiny changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Aug 25, 2017
1 parent eb48f5d commit baa1022
Show file tree
Hide file tree
Showing 11 changed files with 12,075 additions and 12,076 deletions.
4 changes: 2 additions & 2 deletions Services/Saml/classes/class.ilAuthProviderSaml.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct(\ilAuthFrontendCredentials $credentials, $a_idp_id =

require_once 'Services/User/classes/class.ilUserDefinedFields.php';
require_once 'Services/Saml/classes/class.ilSamlSettings.php';
require_once 'Services/Saml/classes/class.ilExternalAuthAttributeMapping.php';
require_once 'Services/Saml/classes/class.ilExternalAuthUserAttributeMapping.php';
require_once 'Services/Saml/classes/class.ilSamlIdp.php';

if(null === $a_idp_id)
Expand Down Expand Up @@ -277,7 +277,7 @@ public function importUser($a_internal_login, $a_external_account, $a_user_data
{
require_once 'Services/Xml/classes/class.ilXmlWriter.php';

$mapping = new ilExternalAuthAttributeMapping('saml', $this->idp->getIdpId());
$mapping = new ilExternalAuthUserAttributeMapping('saml', $this->idp->getIdpId());

$xml_writer = new ilXmlWriter();
$xml_writer->xmlStartTag('Users');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
require_once 'Services/Saml/classes/class.ilExternalAuthUserAttributeMappingRule.php';

/**
* Class ilExternalAuthAttributeMapping
* Class ilExternalAuthUserAttributeMapping
* @author Michael Jansen <mjansen@databay.de>
*/
class ilExternalAuthAttributeMapping implements ArrayAccess, Countable, Iterator
class ilExternalAuthUserAttributeMapping implements ArrayAccess, Countable, Iterator
{
/**
* @var ilDB
Expand All @@ -30,7 +30,7 @@ class ilExternalAuthAttributeMapping implements ArrayAccess, Countable, Iterator
protected $mapping = array();

/**
* ilExternalAuthAttributeMapping constructor.
* ilExternalAuthUserAttributeMapping constructor.
* @param string $authMode
* @param int $authSourceId
*/
Expand Down
4 changes: 2 additions & 2 deletions Services/Saml/classes/class.ilSamlIdp.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ public function persist()
*/
public function delete()
{
require_once 'Services/Saml/classes/class.ilExternalAuthAttributeMapping.php';
$mapping = new ilExternalAuthAttributeMapping('saml', $this->getIdpId());
require_once 'Services/Saml/classes/class.ilExternalAuthUserAttributeMapping.php';
$mapping = new ilExternalAuthUserAttributeMapping('saml', $this->getIdpId());
$mapping->delete();

$this->db->manipulateF(
Expand Down
6 changes: 3 additions & 3 deletions Services/Saml/classes/class.ilSamlSettingsGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class ilSamlSettingsGUI
protected $help;

/**
* @var ilExternalAuthAttributeMapping
* @var ilExternalAuthUserAttributeMapping
*/
protected $mapping;

Expand Down Expand Up @@ -325,8 +325,8 @@ protected function setSubTabs($a_view_mode)
*/
private function initUserAttributeMapping()
{
require_once 'Services/Saml/classes/class.ilExternalAuthAttributeMapping.php';
$this->mapping = new ilExternalAuthAttributeMapping('saml', $this->idp->getIdpId());
require_once 'Services/Saml/classes/class.ilExternalAuthUserAttributeMapping.php';
$this->mapping = new ilExternalAuthUserAttributeMapping('saml', $this->idp->getIdpId());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Services/Saml/lib/metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
define('IL_COOKIE_PATH', $cookie_path);

require_once './Services/Context/classes/class.ilContext.php';
require_once 'Services/Context/classes/class.ilContext.php';
ilContext::init(ilContext::CONTEXT_SAML);

require_once 'Services/Init/classes/class.ilInitialisation.php';
Expand Down
3 changes: 1 addition & 2 deletions Services/Saml/lib/saml1-acs.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
}
define('IL_COOKIE_PATH', $cookie_path);


require_once './Services/Context/classes/class.ilContext.php';
require_once 'Services/Context/classes/class.ilContext.php';
ilContext::init(ilContext::CONTEXT_SAML);

require_once 'Services/Init/classes/class.ilInitialisation.php';
Expand Down
2 changes: 1 addition & 1 deletion Services/Saml/lib/saml2-acs.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
define('IL_COOKIE_PATH', $cookie_path);

require_once './Services/Context/classes/class.ilContext.php';
require_once 'Services/Context/classes/class.ilContext.php';
ilContext::init(ilContext::CONTEXT_SAML);

require_once 'Services/Init/classes/class.ilInitialisation.php';
Expand Down
2 changes: 1 addition & 1 deletion Services/Saml/lib/saml2-logout.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
define('IL_COOKIE_PATH', $cookie_path);

require_once './Services/Context/classes/class.ilContext.php';
require_once 'Services/Context/classes/class.ilContext.php';
ilContext::init(ilContext::CONTEXT_SAML);

require_once 'Services/Init/classes/class.ilInitialisation.php';
Expand Down
12,060 changes: 6,030 additions & 6,030 deletions libs/composer/vendor/composer/autoload_classmap.php

Large diffs are not rendered by default.

12,060 changes: 6,030 additions & 6,030 deletions libs/composer/vendor/composer/autoload_static.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion saml.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
exit();
}

require_once './Services/Context/classes/class.ilContext.php';
require_once 'Services/Context/classes/class.ilContext.php';
ilContext::init(ilContext::CONTEXT_SAML);

require_once 'Services/Init/classes/class.ilInitialisation.php';
Expand Down

0 comments on commit baa1022

Please sign in to comment.