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

[SecurityBundle] Add missing argument to security.authentication.provider.simple#26762

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

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#26753
LicenseMIT
Doc PR-

<argument /><!-- Simple Authenticator-->
<argument /><!-- User Provider-->
<argument /><!-- Provider-shared Key-->
<argument>null</argument><!-- User Checker-->
Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasApr 3, 2018
edited
Loading

Choose a reason for hiding this comment

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

Explicitnull because whileSimpleFormFactory::createAuthProvider() does replace the argument,SimplePreAuthenticationFactory::create() doesn't, thus keeps it as is.

Copy link
Contributor

@andreyboloninandreyboloninApr 3, 2018
edited
Loading

Choose a reason for hiding this comment

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

@nicolas-grekas success tested on4.0.7
screen shot 2018-04-03 at 3 56 47 pm

screen shot 2018-04-03 at 3 56 10 pm

Copy link

@divyeshaspldivyeshasplApr 5, 2018
edited
Loading

Choose a reason for hiding this comment

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

yes its works for me Thnaks@nicolas-grekas

droidlabour reacted with heart emoji
@nicolas-grekas
Copy link
MemberAuthor

Introduced in#26370.@i3or1s can you please have a look?

@i3or1s
Copy link
Contributor

@nicolas-grekas Yes i will take a look

nicolas-grekas reacted with thumbs up emoji

@i3or1s
Copy link
Contributor

@nicolas-grekas I would also replace the argument in theSimplePreAuthenticationFactory::create() since there is defaultUserChacker that can be usedSecurity/Core/User/UserChecker.php rather than usingnull. I guess in the long run it is better to deal with an object rather thannull.
I must have missed that part :/

@nicolas-grekas
Copy link
MemberAuthor

nicolas-grekas commentedApr 3, 2018
edited
Loading

@i3or1s would you mind opening a PR doing so? (you can borrow the patch here also so I'll close this one.)

@i3or1s
Copy link
Contributor

@nicolas-grekas No problems I will do so now.

@chalasr
Copy link
Member

Closing in favor of#26774, thanks@nicolas-grekas.

@chalasrchalasr closed thisApr 3, 2018
nicolas-grekas added a commit that referenced this pull requestApr 4, 2018
…cation.provider.simple (i3or1s, chalasr)This PR was merged into the 2.8 branch.Discussion----------[SecurityBundle] Add missing argument to security.authentication.provider.simple| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#26753| License       | MIT| Doc PR        | -Created PR in relation to a conversation in [PR](#26762)#26762Commits-------c82c2f1 [SecurityBundle] Add test for simple authentication config1b26aac [SecurityBundle] Add missing argument to security.authentication.provider.simple
@nicolas-grekasnicolas-grekas deleted the fix-missing-arg branchMay 25, 2018 15:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh approved these changes

+2 more reviewers

@andreyboloninandreyboloninandreybolonin left review comments

@divyeshaspldivyeshaspldivyeshaspl left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

7 participants

@nicolas-grekas@i3or1s@chalasr@xabbuh@andreybolonin@divyeshaspl@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp