ldap connector

  • Klaus79
        4 years ago #23271

        There is no connector type ‘ldap’ in the connector settings.

        How is it possible to connect a directory server (e.g. AD) to a simplifier application.

        It is really needed in the business logic of the application, not really for authentication in settings.

        Christian Kleinschroth
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
            Has successfully completed the online course Advanced (310)
            Has successfully completed the online course Advanced (320)
            Has successfully completed the Intermediate Certification
            Has successfully completed the Advanced Certification
          4 years ago #23281
          Up
          0
          Down
          ::

          Hello Klaus,

          we don’t offer an ldap connector for quering users etc. LDAP is only a identity provider for authentication in the view of simplifier.

          But you can develop an ldap connector by yourself using our plugin sdk in any programming lanugage for e.g. nodejs (javascript) see https://github.com/ldapjs/node-ldapjs

          Klaus79
              4 years ago #23282
              Up
              0
              Down
              ::

              Hi Christian,

              ok. Thanks for the information.

              I’ve found only that doku for your plugin development:

              https://community.simplifier.io/doc/current-release/plugins/plugin-development/

               

              But that does not really to get the big picture how accessing a plugin, which interfaces it has to be implemented, etc.

               

              Is there an other source for developing a plugin (for a developer) and not only on a high level?

               

              Best regards

              Klaus

              Christian Kleinschroth
                  Has successfully completed the online course Introduction
                  Has successfully completed the online course Intermediate (200)
                  Has successfully completed the online course Advanced (300)
                  Has successfully completed the online course Basics (100)
                  Has successfully completed the online course Advanced (310)
                  Has successfully completed the online course Advanced (320)
                  Has successfully completed the Intermediate Certification
                  Has successfully completed the Advanced Certification
                4 years ago #23295
                Up
                0
                Down
                ::

                Hello Klaus,

                it will be completed in doku – in the meantime you can ask our enalbing team for help

                i will also look fo the downlaod link of our nodejs plugin sample.

                Christian Kleinschroth
                    Has successfully completed the online course Introduction
                    Has successfully completed the online course Intermediate (200)
                    Has successfully completed the online course Advanced (300)
                    Has successfully completed the online course Basics (100)
                    Has successfully completed the online course Advanced (310)
                    Has successfully completed the online course Advanced (320)
                    Has successfully completed the Intermediate Certification
                    Has successfully completed the Advanced Certification
                  4 years ago #23303
                  Up
                  0
                  Down
                  ::

                  Hello Klaus,

                  i updated the documentation link https://community.simplifier.io/doc/current-release/plugins/plugin-development/ with a download link to our github repository. here you will find a working plugin example based on nodejs.

                  You can extend the plugin with your ldap npm module and run it on a separate docker

                  Klaus79
                      4 years ago #23316
                      Up
                      0
                      Down
                      ::

                      Hi Christian,

                      great! Thank you!

                      To make it complete: how do you integrate a plugin into Simplifier?

                      I’m not able to find a docu where it is explained how to load it.

                       

                      Best regards

                      Klaus

                       

                      Attachments:
                      You must be logged in to view attached files.
                      Klaus79
                          4 years ago #23319
                          Up
                          0
                          Down
                          ::

                          Hi Christian,

                           

                          I suppose I know the registration of the plugin.

                          JSON config file inside the docker container registrates the plugin at 127.0.0.1:8085. Correct?

                          Unfortunately this does not work. See the dump.

                           

                          events.js:292
                          throw er; // Unhandled ‘error’ event
                          ^

                          Error: connect ECONNREFUSED 127.0.0.1:8085
                          at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
                          Emitted ‘error’ event on ClientRequest instance at:
                          at Socket.socketErrorListener (_http_client.js:426:9)
                          at Socket.emit (events.js:315:20)
                          at emitErrorNT (internal/streams/destroy.js:92:8)
                          at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
                          at processTicksAndRejections (internal/process/task_queues.js:84:21) {
                          errno: ‘ECONNREFUSED’,
                          code: ‘ECONNREFUSED’,
                          syscall: ‘connect’,
                          address: ‘127.0.0.1’,
                          port: 8085
                          }

                          Best regards

                          Klaus

                          Christian Kleinschroth
                              Has successfully completed the online course Introduction
                              Has successfully completed the online course Intermediate (200)
                              Has successfully completed the online course Advanced (300)
                              Has successfully completed the online course Basics (100)
                              Has successfully completed the online course Advanced (310)
                              Has successfully completed the online course Advanced (320)
                              Has successfully completed the Intermediate Certification
                              Has successfully completed the Advanced Certification
                            4 years ago #23332
                            Up
                            0
                            Down
                            ::

                            Hello Klaus,

                             

                            the complete example NodeJs Plugin is described on this JSDoc

                            https://community.simplifier.io/doc/current-release/plugins/plugin-development/

                            If you run the plug-in in a separate docker , the simplifier docker as well as the Plugin docker should communicate together over http

                          Viewing 8 posts - 1 through 8 (of 8 total)

                          You must be logged in to reply to this topic.