How to retrieve Data (such as Department, Role or Manager) from the Active Directory by using BeanShell or other method?

Thanks.

  • No labels

6 Comments

  1. Yes, we can use BeanShell Plugin to retrieve information from LDAP, by writing the BeanShell script in Java code, using JNDI.

    1. Could you give me a simple example? Do I need to add: "import java.util.*" etc....???

      1. I would suggest you or any of your Java programmers to code the JDAP JNDI queries in public static void main (String args[]) using IDE, compile it, and when it works, paste the statements into BeanShell Plugin. Java IDE such as Eclipse or NetBeans would help you to automatically organize the imports.

  2. Is there a standard way to integrate with AD?

    1. Hi,

      In Joget, the standard way to integrate user directories are via Directory Manager plugins. There's a description on this over at the Directory Manager page. You could write different implementations to integrate to different systems, e.g. using JNDI to connect to AD using LDAP.

      For AD, the LDAP and Active Directory Integration page does mention that there is a ready made LDAP plugin which is available for Enterprise Support subscribers or via the Joget marketplace.

  3. Hi I have developer a directory manager but it is not listed as a directory manager plugin after installing it through console. Am i missing anything?

    Directory Manager not listed in console

    Thanks,

    Arun