Skip to content

Commit ba220f0

Browse files
committed
Removing deprecated feature
1 parent 3de8076 commit ba220f0

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

reference/configuration/security.rst

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -687,57 +687,5 @@ multiple firewalls, the "context" could actually be shared:
687687
ignored and you won't be able to authenticate on multiple firewalls at the
688688
same time.
689689

690-
HTTP-Digest Authentication
691-
--------------------------
692-
693-
.. versionadded:: 3.4
694-
HTTP-Digest Authentication was deprecated in Symfony 3.4 and it will be
695-
removed in Symfony 4.0.
696-
697-
To use HTTP-Digest authentication you need to provide a realm and a secret:
698-
699-
.. configuration-block::
700-
701-
.. code-block:: yaml
702-
703-
# app/config/security.yml
704-
security:
705-
firewalls:
706-
somename:
707-
http_digest:
708-
secret: '%secret%'
709-
realm: 'secure-api'
710-
711-
.. code-block:: xml
712-
713-
<!-- app/config/security.xml -->
714-
<?xml version="1.0" charset="UTF-8" ?>
715-
<srv:container xmlns="http://symfony.com/schema/dic/security"
716-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
717-
xmlns:srv="http://symfony.com/schema/dic/services"
718-
xsi:schemaLocation="http://symfony.com/schema/dic/services
719-
http://symfony.com/schema/dic/services/services-1.0.xsd">
720-
721-
<config>
722-
<firewall name="somename">
723-
<http-digest secret="%secret%" realm="secure-api" />
724-
</firewall>
725-
</config>
726-
</srv:container>
727-
728-
.. code-block:: php
729-
730-
// app/config/security.php
731-
$container->loadFromExtension('security', array(
732-
'firewalls' => array(
733-
'somename' => array(
734-
'http_digest' => array(
735-
'secret' => '%secret%',
736-
'realm' => 'secure-api',
737-
),
738-
),
739-
),
740-
));
741-
742690
.. _`PBKDF2`: https://en.wikipedia.org/wiki/PBKDF2
743691
.. _`ircmaxell/password-compat`: https://packagist.org/packages/ircmaxell/password-compat

0 commit comments

Comments
 (0)