GET https://sih.2vr1.com/clinician/patient/14

Security

Token

olivia.portalier@chu-montpellier.fr Username
Authenticated
9fb328 From
Property Value
Roles
[
  "ROLE_CLINICIAN"
  "ROLE_USER"
]
Inherited Roles none
Token
Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#590
  -user: App\Entity\User {#651 …}
  -roleNames: [
    "ROLE_CLINICIAN"
    "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 security.authenticator.form_login.main
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "form_login"
  "remember_me"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#523
  -map: Symfony\Component\Security\Http\AccessMap {#524 …}
  -logger: Monolog\Logger {#472 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#544
  -sessionKey: "_security_main"
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#478 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#538 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#294 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#543 …}
  -logger: Monolog\Logger {#472 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#491 …}
}
28.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#539
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#545 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#568
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#291 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#289 …}
  -map: Symfony\Component\Security\Http\AccessMap {#524 …}
}
1.08 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#482
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#291 …}
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#481 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#491 …}
  -csrfTokenManager: null
}
(none) (none)

Authenticators

Status Authenticator
skipped
"Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"

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"
2
"App\Security\PatientVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_CLINICIAN
Symfony\Component\HttpFoundation\Request {#10
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#61 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#48 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#60 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#64 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#63 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#62 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#65 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/clinician/patient/14"
  #requestUri: "/clinician/patient/14"
  #baseUrl: ""
  #basePath: ""
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#574 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_CLINICIAN.
Show voter details
2 GRANTED ROLE_CLINICIAN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
GRANTED
The user has ROLE_CLINICIAN.
Show voter details
3 GRANTED PATIENT_VIEW
App\Entity\Patient {#889
  -id: 14
  -accessCode: "TUVWXY01"
  -initials: "H.O."
  -dateOfBirth: DateTime @-298774800 {#883
    date: 1960-07-14 00:00:00.0 Europe/Zurich (+01:00)
  }
  -gender: "F"
  -email: "demo14@example.com"
  -symptomOnsetDate: DateTime @1664748000 {#884
    date: 2022-10-03 00:00:00.0 Europe/Zurich (+02:00)
  }
  -clinician: App\Entity\User {#651 …}
  -isDemo: true
  -createdAt: DateTimeImmutable @1667481766 {#885
    date: 2022-11-03 14:22:46.0 Europe/Zurich (+01:00)
  }
  -lastAccessAt: null
  -interventionDate: DateTime @1696284000 {#886
    date: 2023-10-03 00:00:00.0 Europe/Zurich (+02:00)
  }
  -questionnaireSessions: Doctrine\ORM\PersistentCollection {#944 …}
  -dailySymptoms: Doctrine\ORM\PersistentCollection {#985 …}
  -treatments: Doctrine\ORM\PersistentCollection {#1016 …}
  -clinicalData: App\Entity\ClinicalData {#1017 …}
}
"App\Security\PatientVoter"
GRANTED
Show voter details
4 DENIED ROLE_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
DENIED
The user doesn't have ROLE_ADMIN.
"App\Security\PatientVoter"
ABSTAIN
Show voter details