ldap connector
-
Klaus794 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 KleinschrothHas successfully completed the online course IntroductionHas 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 CertificationHas successfully completed the Advanced Certification4 years ago #23281::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
Klaus794 years ago #23282::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 KleinschrothHas successfully completed the online course IntroductionHas 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 CertificationHas successfully completed the Advanced CertificationChristian KleinschrothHas successfully completed the online course IntroductionHas 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 CertificationHas successfully completed the Advanced Certification4 years ago #23303::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
Klaus794 years ago #23319::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 KleinschrothHas successfully completed the online course IntroductionHas 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 CertificationHas successfully completed the Advanced Certification4 years ago #23332::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
You must be logged in to reply to this topic.