Security Token

Anonymous Username
Authenticated
Property Value
Roles none
Inherited Roles none
Token
Symfony\Component\Security\Core\Authentication\Token\AnonymousToken {#4300
  -secret: "H2B5jOz"
  -user: "anon."
  -roles: []
  -roleNames: []
  -authenticated: true
  -attributes: []
}

Security Firewall

shop Name
Security enabled
Stateless
Allows anonymous

Configuration

Key Value
provider sylius.shop_user_provider.email_or_name_based
context shop
entry_point security.authentication.form_entry_point.shop
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
listeners
[
  "switch_user"
  "form_login"
  "remember_me"
  "anonymous"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#4267
  -map: Symfony\Component\Security\Http\AccessMap {#4268 …}
  -authenticationEntryPoint: Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint {#4285 …}
  -logger: Symfony\Bridge\Monolog\Logger {#4197 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#4294
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#672 …}
  -sessionKey: "_security_shop"
  -logger: Symfony\Bridge\Monolog\Logger {#4197 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#4293 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#383 …}
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#2762 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4198 …}
  -sessionTrackerEnabler: [
    Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#675 …}
    "enableUsageTracking"
  ]
}
0.23 ms (none)
Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener {#3720
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#4295 …}
  #options: [
    "check_path" => "sylius_shop_login_check"
    "login_path" => "/login"
    "always_use_default_target_path" => false
    "default_target_path" => "/"
    "target_path_parameter" => "_target_path"
    "use_referer" => false
    "failure_path" => null
    "failure_forward" => false
    "require_previous_session" => false
    "username_parameter" => "_username"
    "password_parameter" => "_password"
    "csrf_parameter" => "_csrf_shop_security_token"
    "csrf_token_id" => "shop_authenticate"
    "post_only" => true
    "use_forward" => false
  ]
  #logger: Symfony\Bridge\Monolog\Logger {#4197 …}
  #authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#2760 …}
  #providerKey: "shop"
  #httpUtils: Symfony\Component\Security\Http\HttpUtils {#4249 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#675 …}
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#4286 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#383 …}
  -successHandler: Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler {#4288 …}
  -failureHandler: Symfony\Component\Security\Http\Authentication\CustomAuthenticationFailureHandler {#4290 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4198 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\RememberMeListener {#4291
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#672 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4198 …}
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#2760 …}
  -logger: Symfony\Bridge\Monolog\Logger {#4197 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#383 …}
  -catchExceptions: true
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#4286 …}
}
0.01 ms (none)
Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener {#4299
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#672 …}
  -secret: "H2B5jOz"
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#2760 …}
  -logger: Symfony\Bridge\Monolog\Logger {#4197 …}
}
1.64 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#4319
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#675 …}
  -provider: UsernameOrEmailProvider_3eaa26a {#4253 …}
  -userChecker: Symfony\Component\Security\Core\User\UserChecker {#4315 …}
  -providerKey: "shop"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#2768 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Symfony\Bridge\Monolog\Logger {#4197 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#383 …}
  -stateless: false
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#4248
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#675 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "sylius_shop_logout"
  ]
  -handlers: [
    Symfony\Component\Security\Http\Logout\CsrfTokenClearingLogoutHandler {#4244
      -csrfTokenStorage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#4246 …}
    }
    Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4198 …}
  ]
  -successHandler: Sylius\Bundle\ShopBundle\EventListener\ShopUserLogoutHandler {#4247 …}
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#4249 …}
  -csrfTokenManager: null
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#4323
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#675 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#2768 …}
  -map: Symfony\Component\Security\Http\AccessMap {#4268 …}
  -authManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#2760 …}
}
0.56 ms (none)

Security Voters (3)

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"

Access decision log

# Result Attributes Object
1 GRANTED IS_AUTHENTICATED_ANONYMOUSLY
Symfony\Component\HttpFoundation\Request {#61
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#95 …}
  +request: Symfony\Component\HttpFoundation\ParameterBag {#101 …}
  +query: Symfony\Component\HttpFoundation\ParameterBag {#96 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#92 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#93 …}
  +cookies: Symfony\Component\HttpFoundation\ParameterBag {#94 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#91 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "*/*"
  ]
  #pathInfo: "/en_GB/login"
  #requestUri: "/en_GB/login"
  #baseUrl: ""
  #basePath: ""
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#3632 …}
  #locale: "en_GB"
  #defaultLocale: "en_GB"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
2 DENIED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS DENIED
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED IS_AUTHENTICATED_FULLY
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS DENIED
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
ACCESS ABSTAIN
Show voter details