Skip to content

Commit da6002d

Browse files
committed
Wrapping line
1 parent b1b9090 commit da6002d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/security.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,8 @@ authorization from inside a controller::
10871087
.. versionadded:: 2.5
10881088
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
10891089

1090-
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException()` method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
1090+
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException()`
1091+
method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
10911092
object, which ultimately triggers a 403 HTTP response inside Symfony.
10921093

10931094
Thanks to the SensioFrameworkExtraBundle, you can also secure your controller using annotations::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy