Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit313e6e8

Browse files
committed
[SecurityBundle] Don't normalize keys of in-memory users
1 parent0e92e0a commit313e6e8

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

‎UPGRADE-3.3.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Process
9494
Security
9595
--------
9696

97-
* The`RoleInterface` has been deprecated. Extend the`Symfony\Component\Security\Core\Role\Role`
97+
*[BC BREAK]The`RoleInterface` has been deprecated. Extend the`Symfony\Component\Security\Core\Role\Role`
9898
class in your custom role implementations instead.
9999

100100
SecurityBundle
@@ -113,6 +113,8 @@ SecurityBundle
113113
*`UserPasswordEncoderCommand::getContainer()` is deprecated, and this class won't
114114
extend`ContainerAwareCommand` nor implement`ContainerAwareInterface` anymore in 4.0.
115115

116+
* Keys of the`users` node for`in_memory` user provider are no longer normalized.
117+
116118
Serializer
117119
----------
118120

‎src/Symfony/Bundle/SecurityBundle/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CHANGELOG
99
* Deprecated`UserPasswordEncoderCommand::getContainer()` and relying on the
1010
`ContainerAwareInterface` interface for this command.
1111
* Deprecated the`FirewallMap::$map` and`$container` properties.
12+
*[BC BREAK] Keys of the`users` node for`in_memory` user provider are no longer normalized.
1213

1314
3.2.0
1415
-----

‎src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/UserProvider/InMemoryFactory.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function addConfiguration(NodeDefinition $node)
5252
->children()
5353
->arrayNode('users')
5454
->useAttributeAsKey('name')
55+
->normalizeKeys(false)
5556
->prototype('array')
5657
->children()
5758
->scalarNode('password')->defaultValue(uniqid('',true))->end()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp