Security

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider App\Security\UserProvider
context (none)
entry_point security.authenticator.jwt.api
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "refresh_jwt"
  "jwt"
]

Token

01a24c11-ec47-7c5e-b89b-8b8b18680013 Username
Authenticated
Property Value
Roles
[
  "ROLE_BUILDING_MANAGER"
  "ROLE_CARETAKER"
  "ROLE_MUNICIPALITY_ADMIN"
  "ROLE_REQUESTER"
  "ROLE_SAFETY_OFFICER"
  "ROLE_USER"
]
Inherited Roles none
Available Roles
                                                graph TB
    ROLE_CARETAKER
    ROLE_REQUESTER
    ROLE_SAFETY_OFFICER
    ROLE_BUILDING_MANAGER
    ROLE_MUNICIPALITY_ADMIN
    ROLE_CARETAKER --> ROLE_REQUESTER
    ROLE_SAFETY_OFFICER --> ROLE_REQUESTER
    ROLE_BUILDING_MANAGER --> ROLE_CARETAKER
    ROLE_BUILDING_MANAGER --> ROLE_SAFETY_OFFICER
    ROLE_MUNICIPALITY_ADMIN --> ROLE_BUILDING_MANAGER
                                            
Token
Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken {#733
  -user: App\Entity\User {#791 …}
  -roleNames: [
    "ROLE_BUILDING_MANAGER"
    "ROLE_CARETAKER"
    "ROLE_MUNICIPALITY_ADMIN"
    "ROLE_REQUESTER"
    "ROLE_SAFETY_OFFICER"
    "ROLE_USER"
  ]
  -attributes: []
  -firewallName: "api"
  -originatedFromUri: "/api/users?page=1&itemsPerPage=25&order%5BlastName%5D=asc"
  -originalToken: Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#599 …}
}

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
21.71 ms (none)
"Symfony\Component\Security\Http\Firewall\SwitchUserListener"
390.84 ms (none)
"Symfony\Component\Security\Http\Firewall\LogoutListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AccessListener"
0.06 ms (none)

Authenticators

Status Authenticator
skipped
"Gesdinet\JWTRefreshTokenBundle\Security\Http\Authenticator\RefreshTokenAuthenticator"

This authenticator did not support the request.

success
"Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator"
Lazy no
Duration 1.99 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#511
  #user: App\Entity\User {#739 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#312
      -userLoader: Closure($userIdentifier) {#512 …}
      -user: App\Entity\User {#739 …}
      -identifierNormalizer: null
      -userIdentifier: "01a24c0a-f433-7a81-aa39-d17b35e075f8"
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1796577188
      "exp" => 1796578088
      "jti" => "1f205398b175b46fe2e5a8d7cf61adac"
      "uid" => "01a24c0a-f433-7a81-aa39-d17b35e075f8"
      "stamp" => "79842290c229896b3c2292129ffb6ea8"
    ]
    "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3OTY1NzcxODgsImV4cCI6MTc5NjU3ODA4OCwianRpIjoiMWYyMDUzOThiMTc1YjQ2ZmUyZTVhOGQ3Y2Y2MWFkYWMiLCJ1aWQiOiIwMWEyNGMwYS1mNDMzLTdhODEtYWEzOS1kMTdiMzVlMDc1ZjgiLCJzdGFtcCI6Ijc5ODQyMjkwYzIyOTg5NmIzYzIyOTIxMjlmZmI2ZWE4In0.iJTKxVN5VZkNaSz85_IVB7HvwKvCpOP37DEfkpjGPI3qNSLVejo_DXMrbbtAAoV7glPxS9Ja7xuBOdDvRQcQYUrRlD3yZ7r8mPdO78kdVSIoRSSr9xRSBwX7tUYz6l4NW3JeADjxmkRz0DSSNBahIC6Hcmxo76qdf2jmPOdQj4FsAWj0WIzsWElAZULEyl_xQz9wi3DXAVKIlncW6CNxvXj4fSKhXi_18TpmgMnRu7hInKnTXNcPouwaQdL4Qrk0TDvaVvaE4fg9UZYtTRK_kzSUGeAGV4kOqV3HB7QOfUjLRKwa55uyOkv_UldUdiLcpTash40Q6tUZkZ70rxxTpQ"
  ]
}
Badges UserBadge

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
2
"App\Security\Impersonation\ImpersonationVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_SUPER_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_SUPER_ADMIN.
Show voter details
2 GRANTED CAN_IMPERSONATE
App\Entity\User {#791 …}
"App\Security\Impersonation\ImpersonationVoter"
GRANTED
Show voter details
3 GRANTED IS_AUTHENTICATED_FULLY
Symfony\Component\HttpFoundation\Request {#81
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#78 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#77 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#80 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#52 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#51 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#23 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#53 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: [
    "application/ld+json"
  ]
  #pathInfo: "/api/users"
  #requestUri: "/api/users?page=1&itemsPerPage=25&order%5BlastName%5D=asc"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: "jsonld"
  #session: Closure() {#334 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
GRANTED
The user is fully authenticated.
Show voter details
4 GRANTED ROLE_MUNICIPALITY_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_MUNICIPALITY_ADMIN.
Show voter details
5 GRANTED ROLE_MUNICIPALITY_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_MUNICIPALITY_ADMIN.
Show voter details