Skip to content

Commit bbfb24e

Browse files
committed
[Security] Used more explicit name
1 parent 29c54c3 commit bbfb24e

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

reference/configuration/security.rst

+13-11
Original file line numberDiff line numberDiff line change
@@ -62,26 +62,28 @@ Each part will be explained in the next section.
6262
providers: # Required
6363
# Examples:
6464
memory:
65-
name: memory
65+
name: my_in_memory_provider
6666
users:
6767
foo:
68-
password: foo
69-
roles: ROLE_USER
68+
password: foo
69+
roles: ROLE_USER
7070
bar:
71-
password: bar
72-
roles: [ROLE_USER, ROLE_ADMIN]
73-
entity:
71+
password: bar
72+
roles: [ROLE_USER, ROLE_ADMIN]
73+
74+
my_entity_provider:
7475
entity:
75-
class: SecurityBundle:User
76-
property: username
76+
class: SecurityBundle:User
77+
property: username
7778
7879
# Example custom provider
79-
some_custom_provider:
80+
my_some_custom_provider:
8081
id: ~
8182
8283
# Chain some providers
83-
chain:
84-
providers: [ entity, memory ]
84+
my_chain_provider:
85+
chain:
86+
providers: [ my_in_memory_provider, my_entity_provider ]
8587
8688
firewalls: # Required
8789
# Examples:

0 commit comments

Comments
 (0)