Skip to content

Commit

Permalink
Merge pull request #3615 from rchavik/3.0-acl-split
Browse files Browse the repository at this point in the history
3.0 Acl Split - wip
  • Loading branch information
lorenzo committed Jun 5, 2014
2 parents bdb8285 + de1d354 commit 2b8ab51
Show file tree
Hide file tree
Showing 31 changed files with 42 additions and 2,104 deletions.
Expand Up @@ -12,7 +12,7 @@
* @since 2.4.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Core\InstanceConfigTrait;

Expand Down
Expand Up @@ -11,10 +11,11 @@
* @link http://cakephp.org CakePHP(tm) Project
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Auth\AbstractPasswordHasher;
use Cake\Auth\PasswordHasherFactory;
use Cake\Controller\ComponentRegistry;
use Cake\Controller\Component\Auth\PasswordHasherFactory;
use Cake\Core\App;
use Cake\Core\InstanceConfigTrait;
use Cake\Error;
Expand Down
Expand Up @@ -12,7 +12,7 @@
* @since 2.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\ComponentRegistry;
use Cake\Controller\Controller;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* @since 2.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\ComponentRegistry;
use Cake\Error;
Expand Down
Expand Up @@ -12,7 +12,7 @@
* @since 2.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\ComponentRegistry;
use Cake\Controller\Controller;
Expand Down
Expand Up @@ -13,10 +13,10 @@
* @since 2.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Auth\BasicAuthenticate;
use Cake\Controller\ComponentRegistry;
use Cake\Controller\Component\Auth\BasicAuthenticate;
use Cake\Network\Request;
use Cake\Network\Response;

Expand Down
Expand Up @@ -12,9 +12,9 @@
* @since 3.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\Component\Auth\AbstractPasswordHasher;
use Cake\Auth\AbstractPasswordHasher;

/**
* A password hasher that can use multiple different hashes where only
Expand Down
Expand Up @@ -13,7 +13,7 @@
* @since 2.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\ComponentRegistry;
use Cake\Network\Request;
Expand Down
Expand Up @@ -12,7 +12,7 @@
* @since 3.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Core\App;

Expand Down Expand Up @@ -42,7 +42,7 @@ public static function build($passwordHasher) {
}

list($plugin, $class) = pluginSplit($class, true);
$className = App::className($class, 'Controller/Component/Auth', 'PasswordHasher');
$className = App::className($class, 'Auth', 'PasswordHasher');
if (!class_exists($className)) {
throw new \RuntimeException(sprintf('Password hasher class "%s" was not found.', $class));
}
Expand Down
Expand Up @@ -12,9 +12,9 @@
* @since 2.4.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\Component\Auth\AbstractPasswordHasher;
use Cake\Auth\AbstractPasswordHasher;
use Cake\Utility\Security;

/**
Expand Down
Expand Up @@ -12,9 +12,9 @@
* @since 3.0.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Cake\Controller\Component\Auth;
namespace Cake\Auth;

use Cake\Controller\Component\Auth\AbstractPasswordHasher;
use Cake\Auth\AbstractPasswordHasher;
use Cake\Utility\Security;

/**
Expand Down
74 changes: 0 additions & 74 deletions src/Controller/Component/Acl/AclInterface.php

This file was deleted.

0 comments on commit 2b8ab51

Please sign in to comment.