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

Fixes security authentication provider cookbook article#1050

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

Closed
bshaffer wants to merge2 commits intosymfony:masterfrombshaffer:fixes-security-authentication-provider-cookbook-article
Closed

Fixes security authentication provider cookbook article#1050

bshaffer wants to merge2 commits intosymfony:masterfrombshaffer:fixes-security-authentication-provider-cookbook-article

Conversation

bshaffer
Copy link
Contributor

Addresses this issue:

#1033

This fixes the listener to always return a 403 when the request is not WSSE. This was previously cause for much confusion.

Also, it seems thesecurity_factories configuration key is no longer valid, so we are now initializing the security factory as part of theAcmeDemoBundle. This is how it's done in core, but if there's a better way I will change it.

The diffs are confusing as hell for some reason. The listener is changed now so the logic is wrapped in a conditional, and the security_factories portion is replaced by a code sample from AcmeDemoBundle.

Let me know if you have any questions!

@bshaffer
Copy link
ContributorAuthor

The second commit,f62b646, is only relevant for Symfony2.1. Should I submit that change to a separate branch?

The other commit,fdff03e, can be merged immediately.

@weaverryan
Copy link
Member

Hi Brent old friend!

So really nice job identifying the 2.1 changes, here's how this needs to work:

  1. One pull request based off of symfony/symfony 2.0 branch - make the pull requestto the 2.0 branch

  2. Another pull request based off of symfony/symfony master branch - make the pull request to the master branch

The easiest way to do this might be to make (1) first, let me merge it in, let me merge 2.0 to master, and then do the second one based off of the new master. If you can strip off the 2.1 commit from this PR, then I can get that rolling.

Thanks!

@bshaffer
Copy link
ContributorAuthor

I created this PR for 1, and will commit 2 as soon as that is merged into the master branch

https://github.com/symfony/symfony-docs/pull/1052

Next time I'm submitting a PR to Leanna. I bet she would be nicer :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@bshaffer@weaverryan

[8]ページ先頭

©2009-2025 Movatter.jp