Security
Token
| Property | Value |
|---|---|
| Roles |
[ "ROLE_DISTRIBUTOR" "ROLE_USER" ] |
| Inherited Roles | none |
| Token | Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken {#480 -user: App\Entity\User {#636 …} -roleNames: [ "ROLE_DISTRIBUTOR" "ROLE_USER" ] -attributes: [] -firewallName: "main" -originatedFromUri: "/api/switch-to-user" -originalToken: Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#470 …} } |
Firewall
main
Name
Security enabled
Stateless
Configuration
| Key | Value |
|---|---|
| provider | security.user.provider.concrete.app_user_provider |
| context | main |
| entry_point | App\Security\AuthenticationEntryPoint |
| user_checker | security.user_checker |
| access_denied_handler | App\Security\AccessDeniedHandler |
| access_denied_url | (none) |
| authenticators | [ "switch_user" "two_factor" "json_login" ] |
Listeners
| Listener | Duration | Response |
|---|---|---|
Symfony\Component\Security\Http\Firewall\ChannelListener {#90 -map: Symfony\Component\Security\Http\AccessMap {#75 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#297 …} -httpPort: 80 -httpsPort: 443 } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\ContextListener {#95 -sessionKey: "_security_main" -registered: false -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#30 …} -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#71 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#162 …} -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#96 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#297 …} -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#34 …} } |
145.10 ms | (none) |
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#462 -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#439 …} } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#452 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …} -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#429 …} -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#434 …} -firewallName: "main" -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#453 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#297 …} -usernameParameter: "switch_to_user" -role: "ROLE_ALLOWED_TO_SWITCH" -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#268 …} -stateless: false -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#177 …} -targetRoute: "app_me" } |
(none) | (none) |
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#427 -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#209 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …} -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#423 …} } |
0.21 ms | (none) |
Symfony\Component\Security\Http\Firewall\AccessListener {#422 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …} -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#453 …} -map: Symfony\Component\Security\Http\AccessMap {#75 …} } |
2.42 ms | (none) |
Symfony\Component\Security\Http\Firewall\LogoutListener {#113 -options: [ "csrf_parameter" => "_csrf_token" "csrf_token_id" => "logout" "logout_path" => "api_logout" ] -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#163 …} -httpUtils: Symfony\Component\Security\Http\HttpUtils {#159 …} -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#34 …} -csrfTokenManager: null } |
(none) | (none) |
Authenticators
| Status | Authenticator |
|---|---|
| skipped |
"Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator" This authenticator did not support the request. |
| skipped |
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator" This authenticator did not support the request. |
Access Decision
affirmative
Strategy
| # | Voter class |
|---|---|
| 1 | "Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter" |
Access decision log
| # | Result | Attributes | Object | ||
|---|---|---|---|---|---|
| 1 | GRANTED | ROLE_DISTRIBUTOR | Symfony\Component\HttpFoundation\Request {#11 +attributes: Symfony\Component\HttpFoundation\ParameterBag {#63 …} +request: Symfony\Component\HttpFoundation\InputBag {#61 …} +query: Symfony\Component\HttpFoundation\InputBag {#62 …} +server: Symfony\Component\HttpFoundation\ServerBag {#66 …} +files: Symfony\Component\HttpFoundation\FileBag {#65 …} +cookies: Symfony\Component\HttpFoundation\InputBag {#64 …} +headers: Symfony\Component\HttpFoundation\HeaderBag {#67 …} #content: "" #languages: [ "es" ] #charsets: null #encodings: null #acceptableContentTypes: null #pathInfo: "/api/distributor/product/exploded-views/machines/7257ea99-e86a-56ab-b56d-e864120c8a54/spare-parts" #requestUri: "/api/distributor/product/exploded-views/machines/7257ea99-e86a-56ab-b56d-e864120c8a54/spare-parts" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Symfony\Component\HttpFoundation\Session\Session {#409 …} #locale: "es" #defaultLocale: "en" -preferredFormat: null -isHostValid: true -isForwardedValid: true -isSafeContentPreferred: ? bool -trustedValuesCache: [] -isIisRewrite: false : "" : "html" } |
||
|
|||||