Security
Token
| Property | Value |
|---|---|
| Roles |
[ "ROLE_ADMIN" "ROLE_USER" ] |
| Inherited Roles | none |
| Token | Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#564 -user: App\Entity\User {#625 …} -roleNames: [ "ROLE_ADMIN" "ROLE_USER" ] -attributes: [] -firewallName: "main" } |
Firewall
main
Name
Security enabled
Stateless
Configuration
| Key | Value |
|---|---|
| provider | security.user.provider.concrete.app_user_provider |
| context | main |
| entry_point | security.authenticator.form_login.main |
| user_checker | security.user_checker |
| 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 {#484 -map: Symfony\Component\Security\Http\AccessMap {#485 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#155 …} -httpPort: 80 -httpsPort: 443 } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\ContextListener {#530 -sessionKey: "_security_main" -registered: false -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#440 …} -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#524 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#188 …} -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#529 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#155 …} -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#438 …} } |
38.86 ms | (none) |
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#525 -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#531 …} } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#554 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#186 …} -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#453 …} -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#555 …} -firewallName: "main" -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#184 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#155 …} -usernameParameter: "_switch_user" -role: "ROLE_ADMIN" -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#138 …} -stateless: false -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#87 …} -targetRoute: null } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\AccessListener {#557 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#186 …} -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#184 …} -map: Symfony\Component\Security\Http\AccessMap {#485 …} } |
0.97 ms | (none) |
Symfony\Component\Security\Http\Firewall\LogoutListener {#439 -options: [ "csrf_parameter" => "_csrf_token" "csrf_token_id" => "logout" "logout_path" => "app_logout" ] -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#186 …} -httpUtils: Symfony\Component\Security\Http\HttpUtils {#461 …} -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#438 …} -csrfTokenManager: null } |
(none) | (none) |
Authenticators
| Status | Authenticator |
|---|---|
| skipped |
"Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" This authenticator did not support the request. |
| skipped |
"Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator" This authenticator did not support the request. |
Access Decision
affirmative
Strategy
| # | Voter class |
|---|---|
| 1 | "Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter" |
| 2 | "Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter" |
Access decision log
| # | Result | Attributes | Object | ||
|---|---|---|---|---|---|
| 1 | GRANTED | ROLE_USER | Symfony\Component\HttpFoundation\Request {#10 +attributes: Symfony\Component\HttpFoundation\ParameterBag {#61 …} +request: Symfony\Component\HttpFoundation\InputBag {#48 …} +query: Symfony\Component\HttpFoundation\InputBag {#60 …} +server: Symfony\Component\HttpFoundation\ServerBag {#64 …} +files: Symfony\Component\HttpFoundation\FileBag {#63 …} +cookies: Symfony\Component\HttpFoundation\InputBag {#62 …} +headers: Symfony\Component\HttpFoundation\HeaderBag {#65 …} #content: "" #languages: null #charsets: null #encodings: null #acceptableContentTypes: null #pathInfo: "/dashboard" #requestUri: "/dashboard" #baseUrl: "" #basePath: "" #method: "GET" #format: null #session: Symfony\Component\HttpFoundation\Session\Session {#465 …} #locale: "fr" #defaultLocale: "fr" -preferredFormat: null -isHostValid: true -isForwardedValid: true -isSafeContentPreferred: ? bool -trustedValuesCache: [] -isIisRewrite: false : "html" } |
||
|
|||||
| 2 | GRANTED | ROLE_USER | null |
||
|
|||||
| 3 | ERROR | IS_IMPERSONATOR | null |
||
|
|||||
| 4 | ERROR | ROLE_PREVIOUS_ADMIN | null |
||
|
|||||
| 5 | GRANTED | ROLE_ADMIN | null |
||
|
|||||
| 6 | GRANTED | ROLE_ADMIN | null |
||
|
|||||