{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block page_title 'Security' %} {% block head %} {{ parent() }} {% endblock %} {% block toolbar %} {% if collector.firewall %} {% set icon %} {{ source('@Security/Collector/icon.svg') }} {% endset %} {% set text %} {% if collector.impersonated %}
{% endif %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }} {% endif %} {% endblock %} {% block menu %} {{ source('@Security/Collector/icon.svg') }} Security {% endblock %} {% block panel %}| Property | Value |
|---|---|
| Roles |
{{ collector.roles is empty ? 'none' : profiler_dump(collector.roles, maxDepth=1) }}
{% if not collector.authenticated and collector.roles is empty %}
User is not authenticated probably because they have no roles. {% endif %} |
| Inherited Roles | {{ collector.inheritedRoles is empty ? 'none' : profiler_dump(collector.inheritedRoles, maxDepth=1) }} |
| Token | {{ profiler_dump(collector.token) }} |
There is no security token. {% if collector.deauthProfileToken %} It was removed in {{- collector.deauthProfileToken -}} . {% endif %}
| Key | Value |
|---|---|
| provider | {{ collector.firewall.provider ?: '(none)' }} |
| context | {{ collector.firewall.context ?: '(none)' }} |
| entry_point | {{ collector.firewall.entry_point ?: '(none)' }} |
| user_checker | {{ collector.firewall.user_checker ?: '(none)' }} |
| access_denied_handler | {{ collector.firewall.access_denied_handler ?: '(none)' }} |
| access_denied_url | {{ collector.firewall.access_denied_url ?: '(none)' }} |
| authenticators | {{ collector.firewall.authenticators is empty ? '(none)' : profiler_dump(collector.firewall.authenticators, maxDepth=1) }} |
No security listeners have been recorded. Check that debugging is enabled in the kernel.
| Listener | Duration | Response |
|---|---|---|
| {{ profiler_dump(listener.stub) }} | {{ listener.time is null ? '(none)' : '%0.2f ms'|format(listener.time * 1000) }} | {{ listener.response ? profiler_dump(listener.response) : '(none)' }} |
| Status | Authenticator | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {% if authenticator.authenticated %} {% set status_text, label_status = 'success', 'success' %} {% elseif authenticator.authenticated is null %} {% set status_text, label_status = 'skipped', false %} {% else %} {% set status_text, label_status = 'failure', 'error' %} {% endif %} {{ status_text }} |
{{ profiler_dump(authenticator.stub) }}
{% if authenticator.supports is same as(false) %}
This authenticator did not support the request. An authenticator ran before this one.
|
No authenticators have been recorded. Check previous profiles on your authentication endpoint.
| # | Voter class |
|---|---|
| {{ loop.index }} | {{ profiler_dump(voter) }} |
| # | Result | Attributes | Object | |||
|---|---|---|---|---|---|---|
| {{ loop.index }} | {{ decision.result ? 'GRANTED' : 'DENIED' }} |
{% if decision.attributes|length == 1 %}
{% set attribute = decision.attributes|first %}
{% if attribute.expression is defined %}
Expression:
{% elseif attribute.type == 'string' %}
{{ attribute }}
{% else %}
{{ profiler_dump(attribute) }}
{% endif %}
{% else %}
{{ profiler_dump(decision.attributes) }}
{% endif %}
|
{{ profiler_dump(decision.seek('object')) }} | |||
{% if decision.voter_details is not empty %}
{% set voter_details_id = 'voter-details-' ~ loop.index %}
|
||||||