GET https://dani-candles.com/admin

Security

Token

There is no security token.

Firewall

admin Name
Security enabled
Stateless

Configuration

Key Value
provider sylius.admin_user_provider.email_or_name_based
context admin
entry_point security.authenticator.form_login.admin
user_checker security.user_checker.chain.admin
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "form_login"
  "remember_me"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#5743
  -map: Symfony\Component\Security\Http\AccessMap {#5742 …}
  -logger: Monolog\Logger {#5792 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#5715
  -sessionKey: "_security_admin"
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#4740 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#5712 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#4397 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#5714 …}
  -logger: Monolog\Logger {#5792 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#5788 …}
}
0.45 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#5700
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#5709 …}
}
7.78 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#5698
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#4396 …}
  -provider: ContainerBeW71Kh\UsernameOrEmailProviderGhost37f0eb1 {#5785 …}
  -userChecker: Symfony\Component\Security\Core\User\ChainUserChecker {#5697 …}
  -firewallName: "admin"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#4468 …}
  -logger: Monolog\Logger {#5792 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1054 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#1339 …}
  -targetRoute: null
}
(none) (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#5750
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "sylius_admin_logout"
  ]
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#4396 …}
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#5795 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#5788 …}
  -csrfTokenManager: null
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#5693
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#4396 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#4468 …}
  -map: Symfony\Component\Security\Http\AccessMap {#5742 …}
}
1.06 ms (none)

Authenticators

Status Authenticator
skipped
"Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"

This authenticator did not support the request.

failure
"Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
Lazy yes
Duration 2.63 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#5816
  #user: ? Symfony\Component\Security\Core\User\UserInterface
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#5826
      -userLoader: Closure() {#5821 …}
      -user: ? Symfony\Component\Security\Core\User\UserInterface
      -identifierNormalizer: null
      -userIdentifier: "danicandles"
      -attributes: null
    }
  ]
  -attributes: []
}
Badges UserBadge
Exception
Symfony\Component\Security\Core\Exception\AuthenticationException {#5854
  #message: "The cookie's hash is invalid."
  #code: 0
  #file: "/var/www/dani-candles.com/vendor/symfony/security-http/RememberMe/SignatureRememberMeHandler.php"
  #line: 59
  -previous: Symfony\Component\Security\Core\Signature\Exception\InvalidSignatureException {#5850 …}
  -token: null
  trace: {
    /var/www/dani-candles.com/vendor/symfony/security-http/RememberMe/SignatureRememberMeHandler.php:59 {
      Symfony\Component\Security\Http\RememberMe\SignatureRememberMeHandler->consumeRememberMeCookie(RememberMeDetails $rememberMeDetails): UserInterface …
      › } catch (InvalidSignatureException $e) {    throw new AuthenticationException('The cookie\'s hash is invalid.', 0, $e);} catch (ExpiredSignatureException $e) {
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php:105 {
      Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator->Symfony\Component\Security\Http\Authenticator\{closure} …
      › 
      › $userBadge = new UserBadge($rememberMeCookie->getUserIdentifier(), fn () => $this->rememberMeHandler->consumeRememberMeCookie($rememberMeCookie));}
    /var/www/dani-candles.com/vendor/symfony/security-http/Authenticator/Passport/Badge/UserBadge.php:101 {
      Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge->getUser(): UserInterface …
      › if (null === $this->getAttributes()) {    $user = ($this->userLoader)($this->getUserIdentifier());} else {
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Authenticator/Passport/Passport.php:56 {
      Symfony\Component\Security\Http\Authenticator\Passport\Passport->getUser(): UserInterface …
      › 
      ›     $this->user = $this->getBadge(UserBadge::class)->getUser();}
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/EventListener/UserCheckerListener.php:40 {
      Symfony\Component\Security\Http\EventListener\UserCheckerListener->preCheckCredentials(CheckPassportEvent $event): void …
      › 
      ›     $this->userChecker->checkPreAuth($passport->getUser());}
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › try {    ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:189 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticator(AuthenticatorInterface $authenticator, Request $request): Response …
      › $event = new CheckPassportEvent($authenticator, $passport);$this->eventDispatcher->dispatch($event);}
    /var/www/dani-candles.com/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:167 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->executeAuthenticators(array $authenticators, Request $request): Response …
      › 
      › $response = $this->executeAuthenticator($authenticator, $request);if (null !== $response) {
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:149 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);}
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php:38 {
      Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › $request = $event->getRequest();$response = $this->authenticatorManager->authenticateRequest($request);if (null === $response) {
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php:58 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › {    $this->authenticationManagerListener->authenticate($event);}
    }
    /var/www/dani-candles.com/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php:46 {
      Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener->authenticate(RequestEvent $event): void …
      › try {    $this->listener->authenticate($event);} catch (LazyResponseException $e) {
    }
    /var/www/dani-candles.com/vendor/symfony/security-http/Firewall/AbstractListener.php:26 {
      Symfony\Component\Security\Http\Firewall\AbstractListener->__invoke(RequestEvent $event): void …
      › if (false !== $this->supports($event->getRequest())) {    $this->authenticate($event);}
    }
    /var/www/dani-candles.com/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:91 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners): void …
      › foreach ($requestListeners as $listener) {    $listener($event);}
    /var/www/dani-candles.com/vendor/symfony/security-http/Firewall.php:92 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event) …
      › 
      ›     $this->callListeners($event, $authenticationListeners());}
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › try {    ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/dani-candles.com/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/dani-candles.com/vendor/symfony/http-kernel/HttpKernel.php:159 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);}
    /var/www/dani-candles.com/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/dani-candles.com/vendor/symfony/http-kernel/Kernel.php:182 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/dani-candles.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/dani-candles.com/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/dani-candles.com/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/dani-candles.com/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_ADMINISTRATION_ACCESS
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#24 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#9 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#19 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#27 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#26 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#25 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#28 …}
  #content: ""
  #languages: [
    "bg_BG"
  ]
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "text/html"
    "application/xhtml+xml"
    "image/avif"
    "image/webp"
    "image/apng"
    "application/xml"
    "*/*"
    "application/signed-exchange"
  ]
  #pathInfo: "/admin"
  #requestUri: "/admin"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#5686 …}
  #locale: null
  #defaultLocale: "en_US"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
DENIED
The user doesn't have ROLE_ADMINISTRATION_ACCESS.
Show voter details