diff options
author | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-04-20 16:42:49 +0200 |
---|---|---|
committer | Jaime Perez Crespo <jaime.perez@uninett.no> | 2015-04-20 16:42:49 +0200 |
commit | 2548d57bbeed95989d3d0a3997995224e516a817 (patch) | |
tree | 78ad4367faf071ca689c0a831324d53fa2cf0685 /modules/exampleauth/lib/Auth | |
parent | 4de6890754c2fe73056ea517eedd6dc2844068bd (diff) | |
download | simplesamlphp-2548d57bbeed95989d3d0a3997995224e516a817.zip simplesamlphp-2548d57bbeed95989d3d0a3997995224e516a817.tar.gz simplesamlphp-2548d57bbeed95989d3d0a3997995224e516a817.tar.bz2 |
Move SimpleSAML_Utils_Arrays to SimpleSAML\Utils\Arrays.
Diffstat (limited to 'modules/exampleauth/lib/Auth')
-rw-r--r-- | modules/exampleauth/lib/Auth/Source/Static.php | 2 | ||||
-rw-r--r-- | modules/exampleauth/lib/Auth/Source/UserPass.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/exampleauth/lib/Auth/Source/Static.php b/modules/exampleauth/lib/Auth/Source/Static.php index e6520ca..8355442 100644 --- a/modules/exampleauth/lib/Auth/Source/Static.php +++ b/modules/exampleauth/lib/Auth/Source/Static.php @@ -34,7 +34,7 @@ class sspmod_exampleauth_Auth_Source_Static extends SimpleSAML_Auth_Source { /* Parse attributes. */ try { - $this->attributes = SimpleSAML_Utils_Arrays::normalizeAttributesArray($config); + $this->attributes = SimpleSAML\Utils\Arrays::normalizeAttributesArray($config); } catch(Exception $e) { throw new Exception('Invalid attributes for authentication source ' . $this->authId . ': ' . $e->getMessage()); diff --git a/modules/exampleauth/lib/Auth/Source/UserPass.php b/modules/exampleauth/lib/Auth/Source/UserPass.php index 543cc1b..1b380de 100644 --- a/modules/exampleauth/lib/Auth/Source/UserPass.php +++ b/modules/exampleauth/lib/Auth/Source/UserPass.php @@ -50,7 +50,7 @@ class sspmod_exampleauth_Auth_Source_UserPass extends sspmod_core_Auth_UserPassB $password = $userpass[1]; try { - $attributes = SimpleSAML_Utils_Arrays::normalizeAttributesArray($attributes); + $attributes = SimpleSAML\Utils\Arrays::normalizeAttributesArray($attributes); } catch(Exception $e) { throw new Exception('Invalid attributes for user ' . $username . ' in authentication source ' . $this->authId . ': ' . |