Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #23271
    AvatarKlaus79
    Participant
    • Topics: 30
    • Replies: 35
    • Jedi Master

    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.

    #23281
    ChristianChristian
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 1
    • Replies: 31
    • Jedi Knight
    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

    #23282
    AvatarKlaus79
    Participant
    • Topics: 30
    • Replies: 35
    • Jedi Master
    Up
    0
    Down

    Hi Christian,

    ok. Thanks for the information.

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

    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

    #23295
    ChristianChristian
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 1
    • Replies: 31
    • Jedi Knight
    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.

    #23303
    ChristianChristian
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 1
    • Replies: 31
    • Jedi Knight
    Up
    0
    Down

    Hello Klaus,

    i updated the documentation link https://developer.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

    #23316
    AvatarKlaus79
    Participant
    • Topics: 30
    • Replies: 35
    • Jedi Master
    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.
    #23319
    AvatarKlaus79
    Participant
    • Topics: 30
    • Replies: 35
    • Jedi Master
    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

    #23332
    ChristianChristian
    Keymaster
      Has successfully completed the online course No-Code.
      Has successfully completed the online course Low-Code.
      Has successfully completed the online course Pro-Code.
    • Topics: 1
    • Replies: 31
    • Jedi Knight
    Up
    0
    Down

    Hello Klaus,

     

    the complete example NodeJs Plugin is described on this JSDoc

    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.