Security
Token
| Property | Value |
|---|---|
| Roles |
[ "ROLE_ADMIN" "ROLE_USER" ] |
| Inherited Roles | [
"ROLE_ALLOWED_TO_SWITCH"
] |
| Token | Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#607 -user: App\Entity\User {#436 …} -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 | 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" "remember_me" ] |
Listeners
| Listener | Duration | Response |
|---|---|---|
Symfony\Component\Security\Http\Firewall\ChannelListener {#114 -map: Symfony\Component\Security\Http\AccessMap {#115 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#382 …} -httpPort: 80 -httpsPort: 443 } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\ContextListener {#54 -sessionKey: "_security_main" -registered: false -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#190 …} -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#15 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#239 …} -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#37 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#382 …} -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#151 …} } |
47.93 ms | (none) |
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#656 -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#642 …} } |
(none) | (none) |
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#631 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#240 …} -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#644 …} -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#651 …} -firewallName: "main" -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#661 …} -logger: Symfony\Component\HttpKernel\Log\Logger {#382 …} -usernameParameter: "switch_to_user" -role: "ROLE_ALLOWED_TO_SWITCH" -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#352 …} -stateless: false -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#363 …} -targetRoute: "app_me" } |
(none) | (none) |
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#628 -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#289 …} -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#240 …} -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#625 …} } |
0.08 ms | (none) |
Symfony\Component\Security\Http\Firewall\AccessListener {#614 -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#240 …} -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#661 …} -map: Symfony\Component\Security\Http\AccessMap {#115 …} } |
2.93 ms | (none) |
Symfony\Component\Security\Http\Firewall\LogoutListener {#125 -options: [ "csrf_parameter" => "_csrf_token" "csrf_token_id" => "logout" "logout_path" => "api_logout" ] -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#240 …} -httpUtils: Symfony\Component\Security\Http\HttpUtils {#236 …} -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#151 …} -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. |
| 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" |
Access decision log
| # | Result | Attributes | Object | ||
|---|---|---|---|---|---|
| 1 | GRANTED | ROLE_ADMIN | 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/admin/order" #requestUri: "/api/admin/order?search=&page=1&sortOrder=DESC&orderBy=createdAt&limit=5&paginated=true&status=Pending" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Symfony\Component\HttpFoundation\Session\Session {#155 …} #locale: "es" #defaultLocale: "en" -preferredFormat: null -isHostValid: true -isForwardedValid: true -isSafeContentPreferred: ? bool -trustedValuesCache: [] -isIisRewrite: false : "" : "html" } |
||
|
|||||