POST http://api.peyrolles.tekshelf.fr/api/esp/boards/TEST/weights?apiKey=1f0d1d61-2e11-6bba-a7c4-bb38d7fa354a

Security

Token

TEST Username
Authenticated
Property Value
Roles
[
  "ROLE_ESP"
]
Inherited Roles none
Token
Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#1337
  -user: App\Entity\Board {#1203 …}
  -roleNames: [
    "ROLE_ESP"
  ]
  -attributes: []
  -firewallName: "main"
}

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.chain_provider
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\Security\ApiKeyAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#1024
  -map: Symfony\Component\Security\Http\AccessMap {#1025 …}
  -logger: Monolog\Logger {#1018 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#1060
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#1052 …}
}
6.01 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#1062
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#479 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#481 …}
  -map: Symfony\Component\Security\Http\AccessMap {#1025 …}
}
0.27 ms (none)

Authenticators

Status Authenticator
success
"App\Security\ApiKeyAuthenticator"
Lazy no
Duration 0.13 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#1189
  #user: App\Entity\Board {#1203 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#618
      -userLoader: Symfony\Component\Security\Core\User\ChainUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#1273 …}
      -user: App\Entity\Board {#1203 …}
      -identifierNormalizer: null
      -userIdentifier: "TEST"
      -attributes: null
    }
  ]
  -attributes: []
}
Badges UserBadge

Access Decision

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

Access decision log

# Result Attributes Object
1 GRANTED ROLE_ESP
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#15 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#9 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#12 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#18 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#17 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#16 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#19 …}
  #content: "[{"port_index":97,"weight":139}]"
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: []
  #pathInfo: "/api/esp/boards/TEST/weights"
  #requestUri: "/api/esp/boards/TEST/weights?apiKey=1f0d1d61-2e11-6bba-a7c4-bb38d7fa354a"
  #baseUrl: ""
  #basePath: null
  #method: "POST"
  #format: "jsonld"
  #session: Symfony\Component\HttpFoundation\Session\Session {#2587 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_ESP.
Show voter details