AuthChain: Yield UserBackendInterface instead of UserBackend

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-04 11:44:41 +02:00
parent 1824eb9c3b
commit 7b41fc020a
1 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ namespace Icinga\Authentication;
use Iterator; use Iterator;
use Icinga\Data\ConfigObject; use Icinga\Data\ConfigObject;
use Icinga\Authentication\User\UserBackend; use Icinga\Authentication\User\UserBackend;
use Icinga\Authentication\User\UserBackendInterface;
use Icinga\Application\Config; use Icinga\Application\Config;
use Icinga\Application\Logger; use Icinga\Application\Logger;
use Icinga\Exception\ConfigurationError; use Icinga\Exception\ConfigurationError;
@ -25,7 +26,7 @@ class AuthChain implements Iterator
/** /**
* The consecutive user backend while looping * The consecutive user backend while looping
* *
* @var UserBackend * @var UserBackendInterface
*/ */
private $currentBackend; private $currentBackend;
@ -53,7 +54,7 @@ class AuthChain implements Iterator
/** /**
* Return the current user backend * Return the current user backend
* *
* @return UserBackend * @return UserBackendInterface
*/ */
public function current() public function current()
{ {