{"id":7691,"date":"2015-10-05T23:20:03","date_gmt":"2015-10-05T23:20:03","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=7691"},"modified":"2020-12-03T14:44:47","modified_gmt":"2020-12-03T21:44:47","slug":"add-users-to-ldap-using-java","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/","title":{"rendered":"Add Users to LDAP Using Java"},"content":{"rendered":"

Topic <\/strong>:<\/strong>\u00a0Adding users to LDAP using a\u00a0Java Class<\/p>\n

Applicable Ephesoft versions:<\/strong><\/p>\n

Normally LDAP requires the user to log in to the LDAP database with the jxplorer application. By using the Java class provided, you can add users by altering the user details in the .java file below.<\/p>\n

Download: <\/strong>AddEntryToLDAP.java<\/a><\/p>\n

Instructions:<\/strong><\/p>\n

There are two methods of executing this .java file.<\/p>\n

    \n
  1. Create a new project in eclipse and execute this through the UI after configuring your user in the script<\/li>\n
  2. Compile and run the Class from the command prompt\n
      \n
    1. Create a new directory<\/li>\n
    2. Copy the AddEntryToLDAP.java file to this directory<\/li>\n
    3. Open a command prompt<\/li>\n
    4. Make sure that the path has been set for the JDK in windows. Locate your JDK install path and execute the following command ‘set path=%path%;C:\\Program Files\\Java\\jdk1.8.0_60\\bin’<\/li>\n
    5. Navigate to the directory holding the AddEntryToLDAP.java file<\/li>\n
    6. Execute the following command in order to compile the .java file. ‘javac AddEntryToLDAP.java’<\/li>\n
    7. Execute the following command in order to execute the compiled application. ‘java AddEntryToLDAP’<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n

       <\/p>\n

      |Documentation <\/strong>Main Page<\/strong><\/a>|<\/strong>How <\/strong>To<\/strong> Article<\/strong>s<\/strong><\/a>| <\/strong>Downloads and Updates<\/strong><\/a>|<\/strong><\/p>\n","protected":false},"featured_media":0,"parent":47680,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","doc_tag":[],"yoast_head":"\nAdd Users to LDAP Using Java | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add Users to LDAP Using Java\" \/>\n<meta property=\"og:description\" content=\"Topic :\u00a0Adding users to LDAP using a\u00a0Java Class Applicable Ephesoft versions: Normally LDAP requires the user to log in to […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-03T21:44:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/\",\"name\":\"Add Users to LDAP Using Java | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2015-10-05T23:20:03+00:00\",\"dateModified\":\"2020-12-03T21:44:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transact\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"System Configuration\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"User Connectivity\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"LDAP and OpenLDAP Resources\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Add Users to LDAP Using Java\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Add Users to LDAP Using Java | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"Add Users to LDAP Using Java","og_description":"Topic :\u00a0Adding users to LDAP using a\u00a0Java Class Applicable Ephesoft versions: Normally LDAP requires the user to log in to […]","og_url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/","og_site_name":"Ephesoft Docs","article_modified_time":"2020-12-03T21:44:47+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/","url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/","name":"Add Users to LDAP Using Java | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2015-10-05T23:20:03+00:00","dateModified":"2020-12-03T21:44:47+00:00","breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/add-users-to-ldap-using-java\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Transact","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/"},{"@type":"ListItem","position":3,"name":"System Configuration","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/"},{"@type":"ListItem","position":4,"name":"User Connectivity","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/"},{"@type":"ListItem","position":5,"name":"LDAP and OpenLDAP Resources","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/"},{"@type":"ListItem","position":6,"name":"Add Users to LDAP Using Java"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/7691"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=7691"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/7691\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/47680"}],"next":[{"title":"Common LDAP Errors","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/user-connectivity\/ldap-and-openldap-resources\/common-ldap-errors\/","href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/2526"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=7691"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=7691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}