ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 2 replies, has 2 voices, and was last updated by Stepan Yudin Stepan Yudin 1 year, 3 months ago.

  • Creator
    Topic
  • #13440
    Stepan Yudin
    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
  • #17186

    vfbsilva
    Participant

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

    #20692
    Stepan Yudin
    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)

You must be logged in to reply to this topic.