ssossossossosso

Forums

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

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 1 year, 5 months ago.

  • Creator
    Topic
  • #30427

    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
  • #30428

    vfbsilva
    Participant

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

    #30429

    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.