Skip to content

Commit 85b4530

Browse files
committed
Minor tweaks
1 parent 45ebcad commit 85b4530

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

security/ldap.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,19 +259,20 @@ and will not be considered as authenticated fully.
259259
role_fetcher
260260
............
261261

262-
**type**: ``string`` **default**: ``null``
262+
**Type**: ``string`` **Default**: ``null``
263263

264-
When your LDAP service provides user roles, you can use this configuration option
265-
to define the role fetcher service. The role fetcher service must implement the
266-
``Component\Ldap\Security\RoleFetcherInterface`` interface.
267-
``default_roles`` is ignored when ``role_fetcher`` is set.
264+
When your LDAP service provides user roles, this option allows you to define
265+
the service that retrieves these roles. The role fetcher service must implement
266+
the ``Symfony\Component\Ldap\Security\RoleFetcherInterface``. When this option
267+
is set, the ``default_roles`` option is ignored.
268268

269-
``Symfony\Component\Ldap\Security\MemberOfRoles`` is a concrete implementation
270-
of the ``RoleFetcherInterface`` that fetches roles from the ``ismemberof`` attribute.
269+
Symfony provides ``Symfony\Component\Ldap\Security\MemberOfRoles``, a concrete
270+
implementation of the interface that fetches roles from the ``ismemberof``
271+
attribute.
271272

272273
.. versionadded:: 7.3
273274

274-
The configuration option ``role_fetcher`` was introduced in Symfony 7.3.
275+
The ``role_fetcher`` configuration option was introduced in Symfony 7.3.
275276

276277
uid_key
277278
.......

0 commit comments

Comments
 (0)