프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface | ||
$configResolver | eZ\Publish\Core\MVC\ConfigResolverInterface | ||
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | ||
$fragmentPath | string | ..). | |
$repository | eZ\Publish\API\Repository\Repository | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, $fragmentPath = '/_fragment' ) | ||
checkSiteAccessPermission ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event ) | Throws an UnauthorizedSiteAccessException if current user doesn't have permission to current SiteAccess. | |
getSubscribedEvents ( ) | ||
onInteractiveLogin ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event ) | Tries to retrieve a valid eZ user if authenticated user doesn't come from the repository (foreign user provider). | |
onKernelRequest ( |
Throws an UnauthorizedSiteAccessException if current user doesn't have access to current SiteAccess. |
메소드 | 설명 | |
---|---|---|
getUser ( Symfony\Component\Security\Core\User\UserInterface $originalUser, eZ\Publish\API\Repository\Values\User\User $apiUser ) : eZ\Publish\Core\MVC\Symfony\Security\UserInterface | Returns new user object based on original user and provided API user. | |
hasAccess ( |
Returns true if current user has access to given SiteAccess. |
메소드 | 설명 | |
---|---|---|
isMasterRequest ( |
Returns true if given request is considered as a master request. |
public __construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\Core\MVC\ConfigResolverInterface $configResolver, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, $fragmentPath = '/_fragment' ) | ||
$repository | eZ\Publish\API\Repository\Repository | |
$configResolver | eZ\Publish\Core\MVC\ConfigResolverInterface | |
$eventDispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$authorizationChecker | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface |
public checkSiteAccessPermission ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event ) | ||
$event | Symfony\Component\Security\Http\Event\InteractiveLoginEvent |
protected getUser ( Symfony\Component\Security\Core\User\UserInterface $originalUser, eZ\Publish\API\Repository\Values\User\User $apiUser ) : eZ\Publish\Core\MVC\Symfony\Security\UserInterface | ||
$originalUser | Symfony\Component\Security\Core\User\UserInterface | |
$apiUser | eZ\Publish\API\Repository\Values\User\User | |
리턴 | eZ\Publish\Core\MVC\Symfony\Security\UserInterface |
public onInteractiveLogin ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event ) | ||
$event | Symfony\Component\Security\Http\Event\InteractiveLoginEvent |
public onKernelRequest ( |
||
$event |
protected AuthorizationCheckerInterface,Symfony\Component\Security\Core\Authorization $authorizationChecker | ||
리턴 | Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface |
protected ConfigResolverInterface,eZ\Publish\Core\MVC $configResolver | ||
리턴 | eZ\Publish\Core\MVC\ConfigResolverInterface |
protected EventDispatcherInterface,Symfony\Component\EventDispatcher $eventDispatcher | ||
리턴 | Symfony\Component\EventDispatcher\EventDispatcherInterface |
protected Repository,eZ\Publish\API\Repository $repository | ||
리턴 | eZ\Publish\API\Repository\Repository |