[SecurityBundle] minor simplification in main configuration
minor #9598 [SecurityBundle] minor simplification in main configuration (shieldo)

This PR was merged into the master branch.

Discussion
----------

[SecurityBundle] minor simplification in main configuration

As per @stof's suggestion (https://github.com/symfony/symfony/pull/9587#discussion_r7875630).

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

0d8c34b [SecurityBundle] minor simplification in main configuration
[Security] Typos in Security's ExpressionLanguage
bug #9597 [Security] Typos in Security's ExpressionLanguage (ovrflo)

This PR was squashed before being merged into the master branch (closes #9597).

Discussion
----------

[Security] Typos in Security's ExpressionLanguage

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9593
| License       | MIT
| Doc PR        | none

Fixed the ExpressionLanguage and added the tests. It looks ok to me, but please, take a close look (some people will depend on this working right, including me :D ).

Thanks !

Commits
-------

087403b [Security] Typos in Security's ExpressionLanguage
updated version to 2.5