Security

Token

marjorie.brient@ppmc.fr Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
]
Inherited Roles none
Token
Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#14792
  -credentials: null
  -firewallName: "shop"
  -user: Sylius\Component\Core\Model\ShopUser {#5148 …}
  -roleNames: [
    "ROLE_USER"
  ]
  -authenticated: true
  -attributes: []
}

Firewall

shop Name
Security enabled
Stateless
Allows anonymous

Configuration

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

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#4801
  -map: Symfony\Component\Security\Http\AccessMap {#4800 …}
  -authenticationEntryPoint: null
  -logger: Symfony\Bridge\Monolog\Logger {#4821 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#4781
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1352 …}
  -sessionKey: "_security_shop"
  -logger: Symfony\Bridge\Monolog\Logger {#4821 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#4780 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1058 …}
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#4001 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4778 …}
  -sessionTrackerEnabler: [
    Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1351 …}
    "enableUsageTracking"
  ]
}
9.47 ms (none)
Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener {#5098
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#4905 …}
  #options: [
    "check_path" => "sylius_shop_login_check"
    "login_path" => "sylius_shop_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
    "enable_csrf" => false
    "form_only" => false
  ]
  #logger: Symfony\Bridge\Monolog\Logger {#4821 …}
  #authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#4008 …}
  #providerKey: "shop"
  #httpUtils: Symfony\Component\Security\Http\HttpUtils {#4827 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1351 …}
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#4773 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1058 …}
  -successHandler: Symfony\Component\Security\Http\Authentication\CustomAuthenticationSuccessHandler {#4049 …}
  -failureHandler: Symfony\Component\Security\Http\Authentication\CustomAuthenticationFailureHandler {#4935 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4778 …}
}
0.00 ms (none)
HWI\Bundle\OAuthBundle\Security\Http\Firewall\OAuthListener {#4931
  -resourceOwnerMap: HWI\Bundle\OAuthBundle\Security\Http\ResourceOwnerMap {#4908 …}
  -checkPaths: [
    "facebook" => "/login/check-facebook"
    "google" => "/login/check-google"
  ]
  #options: [
    "check_path" => "/login_check"
    "login_path" => "sylius_shop_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
    "use_forward" => false
  ]
  #logger: Symfony\Bridge\Monolog\Logger {#4821 …}
  #authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#4008 …}
  #providerKey: "shop"
  #httpUtils: Symfony\Component\Security\Http\HttpUtils {#4827 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1351 …}
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#4773 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1058 …}
  -successHandler: Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler {#4775 …}
  -failureHandler: Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler {#4890 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4778 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\RememberMeListener {#4877
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1352 …}
  -rememberMeServices: Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices {#4778 …}
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#4008 …}
  -logger: Symfony\Bridge\Monolog\Logger {#4821 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1058 …}
  -catchExceptions: true
  -sessionStrategy: Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy {#4773 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener {#4914
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1352 …}
  -secret: "XgEiQ1O"
  -authenticationManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#4008 …}
  -logger: Symfony\Bridge\Monolog\Logger {#4821 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#4896
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1351 …}
  -provider: ContainerXgEiQ1O\UsernameOrEmailProvider_3eaa26a {#1369 …}
  -userChecker: SyliusLabs\Polyfill\Symfony\Security\Core\User\UserChecker {#4869 …}
  -firewallName: "shop"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#4011 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -logger: Symfony\Bridge\Monolog\Logger {#4821 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#1058 …}
  -stateless: false
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#4819
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1351 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "sylius_shop_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#4827 …}
  -csrfTokenManager: null
  -eventDispatcher: Symfony\Component\EventDispatcher\EventDispatcher {#4818 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#4926
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1351 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#4011 …}
  -map: Symfony\Component\Security\Http\AccessMap {#4800 …}
  -authManager: Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager {#4008 …}
  -exceptionOnNoToken: true
}
0.21 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

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 ROLE_USER
Symfony\Component\HttpFoundation\Request {#13
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#18 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#16 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#17 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#21 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#20 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#19 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#22 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "text/html"
    "application/xhtml+xml"
    "image/avif"
    "image/webp"
    "image/apng"
    "application/xml"
    "*/*"
    "application/signed-exchange"
  ]
  #pathInfo: "/account/orders/"
  #requestUri: "/account/orders/"
  #baseUrl: ""
  #basePath: ""
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#1372 …}
  #locale: "fr_FR"
  #defaultLocale: "fr_FR"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: null
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
ACCESS GRANTED
Show voter details
2 GRANTED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
3 GRANTED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
4 GRANTED IS_AUTHENTICATED_REMEMBERED
null
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
ACCESS GRANTED
Show voter details
5 GRANTED ROLE_USER
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
ACCESS GRANTED
Show voter details