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

[Security] deprecate multiple providers in context listener#21792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@xabbuh
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?yes
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

Passing multiple user providers to the context listener does not make
much sense. The listener is only responsible to refresh users for a
particular firewall. Thus, it must only be aware of the user provider
for this particular firewall.

Passing multiple user providers to the context listener does not makemuch sense. The listener is only responsible to refresh users for aparticular firewall. Thus, it must only be aware of the user providerfor this particular firewall.
@xabbuhxabbuhforce-pushed thedeprecate-multiple-context-listener-providers-support branch from66f295b to53df0deCompareFebruary 27, 2017 22:13
@xabbuh
Copy link
MemberAuthor

This will need a rebase with#21791 being merged up to master.

}

if (is_array($userProviders)) {
@trigger_error(sprintf('Being able to pass multiple user providers to the constructor of %s is deprecated since version 3.3 and will not be supported anymore in 4.0. Only pass the user provider for the current firewall context instead.',__CLASS__),E_USER_DEPRECATED);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

missing" around%s

--------

* Deprecated the ability to pass multiple user providers to the`ContextListener`. Pass only the user provider responsible
for the active firewall instead.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

looks like it's not wrapped at 80 chars

@fabpot
Copy link
Member

Thank you@xabbuh.

@fabpotfabpot merged commit53df0de intosymfony:masterFeb 28, 2017
fabpot added a commit that referenced this pull requestFeb 28, 2017
…tener (xabbuh)This PR was squashed before being merged into the 3.3-dev branch (closes#21792).Discussion----------[Security] deprecate multiple providers in context listener Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Passing multiple user providers to the context listener does not makemuch sense. The listener is only responsible to refresh users for aparticular firewall. Thus, it must only be aware of the user providerfor this particular firewall.Commits-------53df0de [Security] deprecate multiple providers in context listenerfbd9f88 [SecurityBundle] only pass relevant user provider
@xabbuhxabbuh deleted the deprecate-multiple-context-listener-providers-support branchFebruary 28, 2017 06:34
@stof
Copy link
Member

@xabbuh a given firewall can rely on multiple user providers when multiple authentication listeners are enabled (as each of them can use a different user provider)

@xabbuh
Copy link
MemberAuthor

will be reverted by#21799

xabbuh added a commit to xabbuh/symfony that referenced this pull requestFeb 28, 2017
… in context listener (xabbuh)"This reverts commit924c1f0, reversingchanges made toafff0ce.
nicolas-grekas added a commit that referenced this pull requestFeb 28, 2017
…r provider (xabbuh)" (xabbuh)This PR was merged into the 2.7 branch.Discussion----------Revert "bug#21791 [SecurityBundle] only pass relevant user provider (xabbuh)"| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21791| License       | MIT| Doc PR        |#21791 was a mistake as pointed out by@slaci (see#21791 (comment)) and@stof (see#21792 (comment)).Commits-------f6637dd Revert "bug#21791 [SecurityBundle] only pass relevant user provider (xabbuh)"
nicolas-grekas added a commit that referenced this pull requestFeb 28, 2017
…ders in context listener (xabbuh)" (xabbuh)This PR was merged into the 3.3-dev branch.Discussion----------Revert "feature#21792 [Security] deprecate multiple providers in context listener (xabbuh)"| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21791| License       | MIT| Doc PR        |#21792 was a mistake as pointed out by@slaci (see#21791 (comment)) and@stof (see#21792 (comment)).Commits-------3cfa0c7 Revert "feature#21792 [Security] deprecate multiple providers in context listener (xabbuh)"
@fabpotfabpot mentioned this pull requestMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp