Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -408,3 +408,4 @@
/profiler/matchers /profiler
/profiler/profiling_data /profiler
/profiler/wdt_follow_ajax /profiler
/security/entity_provider /security/user_provider
27 changes: 4 additions & 23 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,29 +234,10 @@ statically using the ``dn_string`` config option.
User provider
~~~~~~~~~~~~~

Users will still be fetched from the configured user provider. If you
wish to fetch your users from a LDAP server, you will need to use the
``ldap`` user provider, in addition to one of the three authentication
providers (``form_login_ldap`` or ``http_basic_ldap`` or ``json-login-ldap``).

.. configuration-block::

.. code-block:: yaml

# config/packages/security.yaml
security:
# ...

providers:
my_ldap_users:
ldap:
service: ldap
base_dn: 'dc=symfony,dc=com'
search_dn: '%ldap.search_dn%'
search_password: '%ldap.search_password%'
default_roles: ''
uid_key: 'uid'
filter: '(&({uid_key}={username})(objectclass=person)(ou=Users))'
Users will still be fetched from the configured user provider. If you wish to
fetch your users from a LDAP server, you will need to use the
:doc:`LDAP User Provider </security/ldap>` and any of these authentication
providers: ``form_login_ldap`` or ``http_basic_ldap`` or ``json-login-ldap``.

Using the PBKDF2 Encoder: Security and Speed
--------------------------------------------
Expand Down
159 changes: 0 additions & 159 deletions security/entity_provider.rst

This file was deleted.

Loading