Skip to content

Updated code example for LDAP integration #7917

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 5 commits into from

Conversation

pmlt
Copy link
Contributor

@pmlt pmlt commented May 18, 2017

The LdapClient class mentioned in the code example has been deprecated.
The update example, uses the Ldap class directly, as is recommended in
the deprecation notice.

The LdapClient class mentioned in the code example has been deprecated.
The update example, uses the Ldap class directly, as is recommended in
the deprecation notice.
Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

It seems that there are some indentation issues in the pull request. Maybe you are using tabs instead of spaces?

@xabbuh xabbuh added this to the 3.2 milestone May 22, 2017
@pmlt
Copy link
Contributor Author

pmlt commented May 22, 2017

Sorry about that! I have corrected it by adding a commit to this PR; let me know if you want me to squash my commits and submit a new PR.

true,

));
->setDefinition('ext_ldap_adapter', new Definition(Ldap::class, array(
Copy link
Member

Choose a reason for hiding this comment

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

should be Adapter::class instead of Ldap::class here

@pmlt
Copy link
Contributor Author

pmlt commented May 26, 2017

Indeed... sorry about that. Should be good now (I hope)...

@xabbuh
Copy link
Member

xabbuh commented May 26, 2017

Thank you @pmlt.

xabbuh added a commit that referenced this pull request May 26, 2017
This PR was squashed before being merged into the 3.2 branch (closes #7917).

Discussion
----------

Updated code example for LDAP integration

The LdapClient class mentioned in the code example has been deprecated.
The update example, uses the Ldap class directly, as is recommended in
the deprecation notice.

Commits
-------

91e3e7d Updated code example for LDAP integration
xabbuh added a commit that referenced this pull request May 26, 2017
@xabbuh xabbuh closed this May 26, 2017
xabbuh added a commit that referenced this pull request Jun 3, 2017
* 3.2: (22 commits)
  setfacl commands in the right order
  [#7941] use class constant
  Update guard_authentication.rst
  Fix typo
  Fixed code indentation
  use Ldap instead of the deprecated LdapClient
  Fix choice keys and values for custom field types
  [#7946] fix PHP parameter config example
  Tiny clarification to Finder component docs
  [#7917] add LDAP extension link
  Updated code example for LDAP integration
  Syntax to create an email
  Update usage.rst
  Correct default firewall name on Security docs
  Fix small typo
  Change some examples to remove references to gender types
  Remove remember me from interactive login examples
  added missing ClassMetadata
  incorrect placeholdes for leave/enter transitions
  Update caution about eraseCredentials
  ...
xabbuh added a commit that referenced this pull request Jun 3, 2017
* 3.4: (27 commits)
  setfacl commands in the right order
  add missing options allowed with an env variable
  [#7941] use class constant
  Update guard_authentication.rst
  Fix typo in a class name
  Fix typo
  Fixed trivial code example typo
  Fix typo
  Fix method reference (`getSubscribedServices()` instead of `getSubscribedEvents()`)
  Fixed code indentation
  use Ldap instead of the deprecated LdapClient
  Fix choice keys and values for custom field types
  [#7946] fix PHP parameter config example
  Tiny clarification to Finder component docs
  [#7917] add LDAP extension link
  Updated code example for LDAP integration
  Syntax to create an email
  Update usage.rst
  Correct default firewall name on Security docs
  Fix small typo
  ...
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.

4 participants