@@ -3,15 +3,12 @@ |
||
| 3 | 3 | namespace Kaliop\IdentityManagementBundle\Security\User\Provider; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Security\Core\User\UserProviderInterface; |
| 6 | -use Symfony\Component\Security\Core\Exception\UsernameNotFoundException; |
|
| 7 | 6 | use Symfony\Component\Security\Core\Exception\UnsupportedUserException; |
| 8 | 7 | use Symfony\Component\Security\Core\User\UserInterface; |
| 9 | -use Kaliop\IdentityManagementBundle\Security\User\AMSUser as UserClass; |
|
| 10 | 8 | use Kaliop\IdentityManagementBundle\Security\User\RemoteUserProviderInterface; |
| 11 | 9 | use Kaliop\IdentityManagementBundle\Security\User\RemoteUser as KaliopRemoteUser; |
| 12 | 10 | use Kaliop\IdentityManagementBundle\Security\User\RemoteUserHandlerInterface; |
| 13 | 11 | use eZ\Publish\Core\MVC\Symfony\Security\User\APIUserProviderInterface; |
| 14 | -use eZ\Publish\Core\MVC\Symfony\Security\User as eZMVCUser; |
|
| 15 | 12 | use Psr\Log\LoggerInterface; |
| 16 | 13 | |
| 17 | 14 | class RemoteUser implements UserProviderInterface, RemoteUserProviderInterface |
@@ -4,8 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Kaliop\IdentityManagementBundle\Adapter\ClientInterface; |
| 6 | 6 | use eZ\Publish\API\Repository\Repository; |
| 7 | -use eZ\Publish\API\Repository\Values\Content\Query; |
|
| 8 | -use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
|
| 9 | 7 | use eZ\Publish\API\Repository\Values\User\User; |
| 10 | 8 | use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
| 11 | 9 | |
@@ -1,5 +1,1 @@ |
||
| 1 | -<?php /* |
|
| 2 | - |
|
| 3 | -[UserSettings] |
|
| 4 | -ExtensionDirectory[]=identitymanagementextension |
|
| 5 | -LoginHandler[]=RemoteUserLogin |
|
| 6 | 1 | \ No newline at end of file |
| 2 | +<?php |
|
| 7 | 3 | \ No newline at end of file |
@@ -1,7 +1,1 @@ |
||
| 1 | -<?php /* |
|
| 2 | - |
|
| 3 | -[GeneralSettings] |
|
| 4 | -# The name of the firewall set in security.yml, connected to the 'remoteuser_login' |
|
| 5 | -# NB: even if the fw is used for the front sites, we use it to handle log in in the backoffice. No need to rename it or |
|
| 6 | -# to create a custom firewall |
|
| 7 | -FirewallName=ezpublish_front |
|
| 1 | +<?php |
|
| 8 | 2 | \ No newline at end of file |