Announcement

Collapse
No announcement yet.

LDAP inbound connector

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LDAP inbound connector

    is it plan to develop inbound connector for LDAP as ldap reader (database reader like)?

  • #2
    Re:LDAP inbound connector

    Hi !

    I'm agree with you ! It could be VERY VERY useful !
    AND We all also know that the Mirth Project is VERY VERY busy BUT it could be really great expanding possibilities of Mirth !
    In this case implementation of LDAP over ssl could be a great add too ! :-D
    Put it in the Jira as a functionnality request guy !
    Thx

    Antaris

    Comment


    • #3
      Re:LDAP inbound connector

      What kind of scenarios would need this LDAP reader ? I just can't figure it out!

      Comment


      • #4
        Re:LDAP inbound connector

        I think it woulb be more useful the inclusion of an API to manage LDAP queries, than an LDAP channel.

        Comment


        • #5
          Re:LDAP inbound connector

          quimicefa wrote:
          What kind of scenarios would need this LDAP reader ? I just can't figure it out!
          Contact information for physicians and staff. Thats very likely to be in LDAP, but may not be in every message or medical system.
          Jon Bartels

          Zen is hiring!!!!
          http://consultzen.com/careers/
          Talented healthcare IT professionals wanted. Engineers to sales to management.
          Good benefits, great working environment, genuinely interesting work.

          Comment


          • #6
            Re:LDAP inbound connector

            This would make more sense as a Transformer step type or some JavaScript code templates, since I don't see a use for polling LDAP to get messages. As jbartels said, you would likely be looking up things for certain messages, but it wouldn't be the message source.
            Jacob Brauer
            Director, Software Development
            NextGen Healthcare

            sigpic

            Comment


            • #7
              Re:LDAP inbound connector

              So the first step for swafflart and Antaris would be to load up a Java LDAP client in a javascript step. Get it working there to meet your needs, then post your channels and see if theres enough demand to make the request for it in 1.8.x or 1.9.
              Jon Bartels

              Zen is hiring!!!!
              http://consultzen.com/careers/
              Talented healthcare IT professionals wanted. Engineers to sales to management.
              Good benefits, great working environment, genuinely interesting work.

              Comment


              • #8
                Re:LDAP inbound connector

                Yes jbartels i agree with you, but my questions are :
                What example of client could be compatible with Mirth (give me the jar / project)
                I unsuccessfully tried to expand capabilities of Mirth and combining it for IHE profiles by using some jar files ... but :
                Where to place this jar files in the Mirth directory ?
                => Ok have to place it in the Mirth/lib/custom/MyBeautyfulCustomJarFile.jar ?

                How to force Mirth using this jar ? :-) (Is there some guide available ?)
                Maybe by modifying the /Mirth/conf/custom/dbdrivers.xml Am i on the wrong way ? :-D
                Is it automatically recognized ? ...

                Does anybody have a example of project for this Java LDAP Client API ?
                Maybe ? ... http://www.openldap.org/jldap/

                And after that how to call and "play" with it inside our Filters/Transformers ?
                Code:
                var object = Packages.[fully-qualified name];

                Code:
                var MyLdapClient = Packages.MyBeautyfulLdapClientJarFile;
                .... ? :whistle:
                Like here ? http://www.mirthproject.org/index.ph...5&catid=5#6455


                Please jbartels Drive me on this task ! LOL Help ! I need somebody help ! ... ;-)

                Thx

                Antaris
                (Mirth 1.6.1 build 2750)

                Post edited by: Antaris, at: 10/28/2008 06:59

                Comment


                • #9
                  Re:LDAP inbound connector

                  A simple example of how to use a JAR from Javascript in Mirth that works: http://www.mirthproject.org/index.ph...0&limitstart=0
                  Jon Bartels

                  Zen is hiring!!!!
                  http://consultzen.com/careers/
                  Talented healthcare IT professionals wanted. Engineers to sales to management.
                  Good benefits, great working environment, genuinely interesting work.

                  Comment


                  • #10
                    Re:LDAP inbound connector

                    I've packed this dummy code into a jar file:

                    Code:
                    package org.azufre.test;
                    
                    public class JarTest {
                    
                    	public JarTest() {
                    		System.out.println("hello world"«»);
                    	}
                    	
                    	public void Repeat() {
                    		System.out.println("I said: hello world"«»);
                    	}
                    
                    }
                    And, in a channel, into a JS Writer:

                    Code:
                    var ud = new Packages.org.azufre.test.JarTest();
                    ud.Repeat();
                    Note that you must specify the fully qualified name of the class, not the jar filename!

                    That results in the following lines in the logs:
                    INFO | jvm 1 | 2008/10/28 17:34:31 | hello world
                    INFO | jvm 1 | 2008/10/28 17:34:31 | I said: hello world
                    INFO | jvm 1 | 2008/10/28 17:34:36 | hello world
                    INFO | jvm 1 | 2008/10/28 17:34:36 | I said: hello world
                    So, it seems to be easy to have a jar file with some custom made classes and call them from a channel!

                    BTW, I put the jar file in the lib/custom folder.

                    Hope that helps!!

                    Post edited by: quimicefa, at: 10/28/2008 10:12

                    Comment


                    • #11
                      Re:LDAP inbound connector

                      Hi guys thanks for the help ! I'll test that soon !

                      Does anybody got an idea of a LDAP Java client to use with Mirth ?

                      Keep in touch.

                      Antaris

                      Comment

                      Working...
                      X