{"id":245,"date":"2016-11-29T15:20:05","date_gmt":"2016-11-29T10:50:05","guid":{"rendered":"http:\/\/www.enhisecure.com\/isecureblog\/?p=245"},"modified":"2016-12-06T08:00:20","modified_gmt":"2016-12-06T03:30:20","slug":"data-loading-into-active-directory-using-a-simple-java-program","status":"publish","type":"post","link":"https:\/\/www.enhisecure.com\/isecureblog\/2016\/11\/29\/data-loading-into-active-directory-using-a-simple-java-program\/","title":{"rendered":"Data loading into Active Directory using a simple java program"},"content":{"rendered":"<ul>\n<li>Data loading into A<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd448614.aspx\">ctive Directory<\/a>\u00a0implies creating AD Accounts\u00a0and corresponding\u00a0E<a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/aa996058(v=exchg.150).aspx\">xchange<\/a> mailbox accounts using employee data existing\u00a0in a database.<\/li>\n<li><a href=\"https:\/\/www.oracle.com\/java\/index.html\">Java<\/a> program is developed in a fashion\u00a0which\u00a0reads the credentials from <a href=\"https:\/\/www.w3.org\/TR\/REC-xml\/\">XML<\/a>, retrieves employee data from the database, creates an account with a default password in active directory and enables the account as well.<\/li>\n<li>The <a href=\"https:\/\/msdn.microsoft.com\/en-us\/powershell\/mt173057.aspx\">PowerShell<\/a> script is executed to create <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/aa996058(v=exchg.150).aspx\">exchange<\/a> accounts for all the users.<\/li>\n<\/ul>\n<hr \/>\n<h4>Requirement schematic<\/h4>\n<ul>\n<li>The below\u00a0process flow diagram explains the requirement\u00a0lucidly.<\/li>\n<\/ul>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-251 size-full\" src=\"http:\/\/www.enhisecure.com\/isecureblog\/wp-content\/uploads\/2016\/11\/requirement-e1480416319917.png\" alt=\"requirement\" width=\"500\" height=\"368\" \/><\/p>\n<hr \/>\n<h4>Demo<\/h4>\n<ul>\n<li>The working demo\u00a0of this program is embedded.<\/li>\n<\/ul>\n<hr \/>\n<p><iframe loading=\"lazy\" title=\"Data loading into Active Directory via Simple Java Program\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/QNmznjHffSc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<hr \/>\n<h4>Documentation and Code<\/h4>\n<p>The Documentation and Code for above demo can be downloaded from following links.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.enhisecure.com\/blogCollateral\/Dataloading_AD_ENH_ISECURE_MBITLA.pdf\">Documentation for java code<\/a><\/li>\n<li><a href=\"http:\/\/www.enhisecure.com\/blogCollateral\/Enabling_exchange_ENH_ISECURE_MBITLA.pdf\">Documentation for power shell script<\/a><\/li>\n<li><a href=\"http:\/\/www.enhisecure.com\/blogCollateral\/SqlToActiveDirectory.zip\">java source code<\/a><\/li>\n<li><a href=\"http:\/\/www.enhisecure.com\/blogCollateral\/enable_mail.ps1\">power shell script<\/a><\/li>\n<\/ul>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Data loading into Active Directory\u00a0implies creating AD Accounts\u00a0and corresponding\u00a0Exchange mailbox accounts using employee data existing\u00a0in a database. Java program is developed in a fashion\u00a0which\u00a0reads the credentials from XML, retrieves employee data from the database, creates an account with a default password in active directory and enables the account as well. The PowerShell script is executed [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[40],"class_list":["post-245","post","type-post","status-publish","format-standard","hentry","category-technology","tag-active-directory"],"_links":{"self":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":35,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/posts\/245\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.enhisecure.com\/isecureblog\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}