Error 401 Unauthorized

GET https://manager.crateflow.co.za/api/v1/transits

Security

Token

There is no security token.

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.api_provider
context (none)
entry_point security.authenticator.http_basic.api
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "http_basic"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#587
  -map: Symfony\Component\Security\Http\AccessMap {#586 …}
  -logger: Monolog\Logger {#596 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#571
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#572 …}
}
24.84 ms
Symfony\Component\HttpFoundation\Response {#654
  +headers: Symfony\Component\HttpFoundation\ResponseHeaderBag {#885 …}
  #content: ""
  #version: "1.1"
  #statusCode: 401
  #statusText: "Unauthorized"
  #charset: "UTF-8"
  -sentHeaders: ? array
}
Symfony\Component\Security\Http\Firewall\AccessListener {#633
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#174 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#286 …}
  -map: Symfony\Component\Security\Http\AccessMap {#586 …}
}
(none) (none)

Authenticators

Status Authenticator
failure
"Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator"
Lazy no
Duration 0.35 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\Passport {#635
  #user: ? Symfony\Component\Security\Core\User\UserInterface
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#590
      -userLoader: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#588 …}
      -user: ? Symfony\Component\Security\Core\User\UserInterface
      -identifierNormalizer: null
      -userIdentifier: ""
      -attributes: null
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials" => Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials {#636
      -password: ""
      -resolved: false
    }
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\PasswordUpgradeBadge {#637
      -plaintextPassword: ""
      -passwordUpgrader: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#597 …}
    }
  ]
  -attributes: []
}
Badges UserBadge PasswordCredentials PasswordUpgradeBadge
Exception
Symfony\Component\Security\Core\Exception\UserNotFoundException {#883
  #message: "User "" not found."
  #code: 0
  #file: "/home/jon/apps/crateflow-manager/vendor/symfony/doctrine-bridge/Security/User/EntityUserProvider.php"
  #line: 64
  -token: null
  -identifier: ""
  trace: {
    /home/jon/apps/crateflow-manager/vendor/symfony/doctrine-bridge/Security/User/EntityUserProvider.php:64 {
      Symfony\Bridge\Doctrine\Security\User\EntityUserProvider->loadUserByIdentifier(string $identifier): UserInterface …
      › if (null === $user) {    $e = new UserNotFoundException(\sprintf('User "%s" not found.', $identifier));    $e->setUserIdentifier($identifier);
    }
    /home/jon/apps/crateflow-manager/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 {
    }
    /home/jon/apps/crateflow-manager/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();}
    }
    /home/jon/apps/crateflow-manager/vendor/symfony/security-http/EventListener/UserCheckerListener.php:40 {
      Symfony\Component\Security\Http\EventListener\UserCheckerListener->preCheckCredentials(CheckPassportEvent $event): void …
      › 
      ›     $this->userChecker->checkPreAuth($passport->getUser());}
    }
    /home/jon/apps/crateflow-manager/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 {
    }
    /home/jon/apps/crateflow-manager/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
    }
    /home/jon/apps/crateflow-manager/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);}
    }
    /home/jon/apps/crateflow-manager/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 {
    }
    /home/jon/apps/crateflow-manager/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);}
    /home/jon/apps/crateflow-manager/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) {
    }
    /home/jon/apps/crateflow-manager/vendor/symfony/security-http/Authentication/AuthenticatorManager.php:149 {
      Symfony\Component\Security\Http\Authentication\AuthenticatorManager->authenticateRequest(Request $request): Response …
      › 
      ›     return $this->executeAuthenticators($authenticators, $request);}
    }
    /home/jon/apps/crateflow-manager/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) {
    }
    /home/jon/apps/crateflow-manager/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php:58 {
      Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener->authenticate(RequestEvent $event): void …
      › {    $this->authenticationManagerListener->authenticate($event);}
    }
    /home/jon/apps/crateflow-manager/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) {
    }
    /home/jon/apps/crateflow-manager/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);}
    }
    /home/jon/apps/crateflow-manager/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);}
    /home/jon/apps/crateflow-manager/vendor/symfony/security-http/Firewall.php:92 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(RequestEvent $event) …
      › 
      ›     $this->callListeners($event, $authenticationListeners());}
    }
    /home/jon/apps/crateflow-manager/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 {
    }
    /home/jon/apps/crateflow-manager/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
    }
    /home/jon/apps/crateflow-manager/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);}
    }
    /home/jon/apps/crateflow-manager/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 {
    }
    /home/jon/apps/crateflow-manager/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);}
    /home/jon/apps/crateflow-manager/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) {
    }
    /home/jon/apps/crateflow-manager/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 {
    }
    /home/jon/apps/crateflow-manager/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /home/jon/apps/crateflow-manager/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/jon/apps/crateflow-manager/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/jon/apps/crateflow-manager/vendor/autoload_runtime.php"
      }
    }
  }
}

Access Decision