-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[SecurityBundle] Add json login ldap #27650
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This needs some tests, at least a unit one for the factory, at best a functional one. |
|
@chalasr others LDAP SecurityListenerFactory are not tested, it's a bit difficult and it's just an improvement of existing behavior. (json + ldap) |
@ronfroy that's too bad but still, new code should be tested, at least ensuring that the container can compile with your addition in order to prevent regressions. That should not be hard, adding a |
|
@chalasr done |
nicolas-grekas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worth a line in the CHANGELOG file of the bundle - an also a doc PR? LGTM otherwise, thanks.
| stateless: true | ||
| anonymous: true | ||
| json_login_ldap: | ||
| check_path: /login |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we align values usually.
| anonymous: true | ||
| json_login: | ||
| check_path: /chk | ||
| check_path: /chk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ronfroy If this has to be changed, it must be done on the lowest branch where it exists to prevent merge conflicts (but I don't think it's worth it, we should just keep it in mind for new code). Can you please revert this change? Same for the custom_handlers.yml file below
|
@chalasr done |
|
Thank you @ronfroy. |
This PR was squashed before being merged into the 4.2-dev branch (closes #27650). Discussion ---------- [SecurityBundle] Add json login ldap | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT Add a simple from_login_ldap on firewall types to let authenticate with ldap with json API Commits ------- 2b2dfd2 [SecurityBundle] Add json login ldap
|
@ronfroy Note that github does not recognize your local git user so your contribs aren't linked to your github profile. See https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/ for fixing it |
This PR was merged into the master branch. Discussion ---------- json-login-ldap symfony/symfony#27650 Commits ------- de28118 json-login-ldap
Add a simple from_login_ldap on firewall types to let authenticate with ldap with json API