How to use Active Directory with WSO2 Carbon Based Products

WSO2 Carbon based products such as WSO2 WSAS, WSO2 Registry, WSO2 Identity Server and WSO2 BPS etc. are to integrate with external user information systems such as active directories, LDAP server and several other types of databases. Using these external user information systems, you can control such things as application login, service invoking permissions, service management permissions etc. In this short tutorial, i will explain how to integrate an active directory into a WSO2 Carbon based product.

Date: Tue, 2nd Jun, 2009
Level: Introductory
Reads: 2853 Comments: 0 | Login or register to post comments
Chamara Silva
Senior Software Engineer - QA
WSO2 Inc.
chamara's picture

In this example, I will use the WSO2 Governance Registry product.

1. Download Governance Registry Binary

2. Extract Registry zip

3. Run wso2server.bat (Linux - wso2server.sh) file inside Registry/bin folder.

4. After starting the WSO2 Governance Registry, open up a browser window and type the following url:

    https://localhost:9443/carbon

if you are accessing from different machine, use https://machineIP:9443/carbon

5. you will see the following interface:

Login UI

6. Use following credentials to login

   user name = admin

   password = admin

7. To import active directory in to the WSO2 Governance Registry product, you have to use user management functionality. Now click user management link from menu available.

um

 

8. To enter active directory configurations, you have to use external user store fuctionality. Now click external user store link found on the user management page.

EUS
 

9. Select active directory option under 'External store type'.

AD

10. you will see the following configuration page.

11. Now, you need to enter your active directory settings in this page.

      Here I will use my sample active directory settings:

      active directory name : -  wso2.lk

      user name  =  Administrator

      server IP =  10.100.1.122

      active directory connection string  =  cn=Administrator,cn=users,dc=wso2,dc=lk  (this connection string you can request from your system administrator)

      acive directory password =  admin

using above information, fill in the external user store page as shown below:

  connection url - ldap://10.100.1.122:389

  user DN - cn=Administrator,cn=users,dc=wso2,dc=lk

   connection password - admin

   connection password repeat -  admin

   base DN  dc=wso2,dc=lk

 

 

Click finish. You can now use active directory users within the WSO2 Governance Registry product.

Author - Suminda Chamara Silva - Senior Software Engineer(QA) - chamara@wso2.com

library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
KeellsSuper is a leading supermarket chain with 50-plus outlets in Sri Lanka, and it offers the only online supermarket in the country. In 2005, JKH implemented SAP ERP across it’s 70 subsidiaries...
Thursday, February 16th 2012, 09.00 AM (PST)

Thursday, February 16th 2012, 10.00 AM (GMT)