OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – How do I? Questions Custom LDAP authenticator

This topic contains 2 replies, has 2 voices, and was last updated by  Stepan Yudin 7 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36080

    Stepan Yudin
    Participant

    I really miss LDAP integration in Community Edition so here is my way to implement this.
    Maybe someone will find it useful)

    1) Create custom authenticator (see Symfony Cookbook for more info) and declare it as a service (if your want it as a service)

    2) Override standard out of the box security authenticator via our custom authenticator in security.yml:

    3) Don’t forget to write your custom auth algorithm in my example authenticator class.

    4) Sorry for dirty code, its just an example to show how make it work


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #36081

    vfbsilva
    Participant

    Could you please elaborate on where do I need to place those files?

    #36082

    Stepan Yudin
    Participant

    Sorry for delay
    You can place authenticator class anywhere you want. I created my own security bundle and placed it there.
    No matters where you place it, just provide this path to service definition


    Docker environment for Symfony2/OroCRM/OroBAP development on Windows platform
    https://github.com/stepansib/sf-oro-docker

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.

Back to top