Skip to content

[Security] [WIP] Update the Security component to reflect changes to the Ldap component #17577

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

Closed
wants to merge 7 commits into from
Closed

[Security] [WIP] Update the Security component to reflect changes to the Ldap component #17577

wants to merge 7 commits into from

Conversation

csarrazi
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #17560
License MIT
Doc PR not yet

This PR is a follow-up to PR #17560. It implements the changes to the LDAP component in the Security component.

fabpot added a commit that referenced this pull request Feb 1, 2016
…on for branch 3.0 (csarrazi)

This PR was merged into the 3.0 branch.

Discussion
----------

[Security] [Ldap] [Easy-Pick] Limit ldap component version for branch 3.0

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

As the Ldap component will introduce BC changes for version 3.1 of Symfony, this PR limits the version to use in composer dependencies. This way, we can ensure that running composer update won't try to install the 3.1 Ldap component with version 2.8 or 3.0 of the Security component, Security Core component and SecurityBundle.

The required version will be changed in PR #17577, so version 3.1 of Symfony actually uses only version `3.1` onwards of the Ldap component.

Commits
-------

1391311 Limit Ldap component version for the 3.0 branch
* Attempt anonymous bind if the connection is not bound beforehand
* Moved connection logic to dedicated class
* Added support for Ldap result entries iterator and renamed LdapClient to Ldap
* Updated unit tests and classes to support the new Ldap component API
* Fixed compatibility issue with PHP 5.3
* Cleaned up public methods
* Made the Ldap class final
* Finalized API
* Made interfaces and classes public
* Added support for multiple adapters
@csarrazi
Copy link
Contributor Author

csarrazi commented Feb 1, 2016

Closing this PR, as changes can now work correctly in the original PR.

@csarrazi csarrazi closed this Feb 1, 2016
@csarrazi csarrazi deleted the feat-update-ldap-security branch February 19, 2016 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants