You are on page 1of 19

Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Scribd

Explore
Community

Upload a Document
Search Books, Presentations, Business, Academics...

Login
Sign Up
|
Log In

You have logged out.

This Page Cannot Be Displayed

/ 10

1 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Global Open Versity Tomcat AS with OpenDS and OpenSSO on Linux v1.0

Integrating OpenSSO and OpenDS on Apache Tomcat AS HowTo


By Kefa Rabah, krabah@globalopenversity.org August 2, 2009

Introduction
Apache Tomcat version 6.0 implements the Servlet 2.5 and JavaServer Pages 2.1
specifications from the Java Community Process, and includes many additional features that
make it a useful platform for developing and deploying web applications and web services.
The goal of this post is to provide step by step instructions on how to integrate Apache
Tomcat AS with OpenSSO. In addition OpenDS LDAP server will be used as a user store forboth of them.

The Sun OpenSSO Enterprise (formerly Sun Access Manager and Sun Federation Manager) is
the single solution for Web access management, federation, and Web services security. The
Open Web SSO project (OpenSSO) provides core identity services to simplify the
implementation of transparent single sign-on (SSO) as a security component in a network
infrastructure. OpenSSO provides the foundation for integrating diverse web applications
that might typically operate against a disparate set of identity repositories and are hosted on
a variety of platforms such as web and application servers. This project is based on the code
base of Sun JavaTM System Access Manager, a core identity infrastructure product offered bySun Microsystems.

It is important to mention that the initial code and instructions on how to integrate OpenSSO
with Tomcat (previous major release) were contributed by Bolesław Dawidowicz (thanks for
the contribution!). Configuration of OpenSSO with OpenDS was described in Indira's blog.

Step 1: System Setup


First and foremost ensure that you have setup you DNS server and that your machine is
using FQDN. This is mainly because OpenSSO does not play well if you want to test it on
your local machine i.e., 'localhost'. To workaround that you can give your local machine valid FQDN.

Check out /etc/hosts to ensure that you have a correct setup, in our case, it’s as follows:

# Do not remove the following first line, or various programs


# that require network functionality will fail.
127.0.0.1 server04.beemtech.edu localhost.localdomain localhost
192.168.83.12 server04.beemtech.edu server04 mail www ftp
::1 localhost6.localdomain6 localhost6

Now you'll be able to refer to it using "http://www.beemtech.edu" in your browser.

Step 2: OpenDS LDAP Directory Server Setup

1. OpenDS Setup
1. In this tutorial we'll use OpenDS directory server. Download the QuickSetup.jnlp
version to your temp directory.
2. Locate the package and double-click it to start the installation process and follow the
installation Wizard the instruction.
1
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org A GOV Open Knowledge Access Technical Publication HowTo

Explore Content

Opensso Console Opensso Deployment


Apache Tomcat Global Open Versity Opends Server

/ 10

2 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Global Open Versity Tomcat AS with OpenDS and OpenSSO on Linux v1.0

3. On the S e r v e r S e t t i n g s page, set port 8389, use "password" as password, the rest
are auto-completed. Click Next.

4. On the D i r e c t o r y D a t a page, enter the D i r e c t o r y B a s e D N S :


"dc=opensso,dc=java,dc=net";
5. For D i r e c t o r y D a t a, select the "Import Automatically-Generated Sample Data"
option, which pre-populates it with 2000 random users, see the figure below. Click
Next.

6. On the R e v i e w page (Not shown), ensure that the settings are correct, and then
click the Finish.

2
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org A GOV Open Knowledge Access Technical Publication HowTo

/ 10

3 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Global Open Versity Tomcat AS with OpenDS and OpenSSO on Linux v1.0

7. The final Finished page should look like the figure shown below:

8. Click " L a u n c h C o n t r o l - P a n e l " to startup your OpenDS server listening on port 8389,
or via cmd type:

/usr/OpenDS/bin/control-panel

from the OpenDS Control Pane > Server Status click Start to start the OpendDS
server, and enter your credentials to logon.

2 . I nst a l l L DAPB ROW SE R


1. At the moment you should have an instance of the OpenDS LDAP server listening on
port 8389.
2. To be able to use it with portal we need to provision it with sample data. To do this
we'll use simple LDAP tool with GUI written in Java – the LDAPBrowser/Editor. It's

3
April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada

www.globalopenversity.org A GOV Open Knowledge Access Technical Publication HowTo

/ 10

4 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

/ 10

5 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

/ 10

6 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

/ 10

7 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

/ 10

8 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

/ 10

9 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

/ 10

10 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Integrating OpenSSO & OpenDS using Tomcat


Webserver on Linux v1.0
specifications from the Java Community Process, and includes many additional features that make it a useful
platform for developing and deploying w... (More)

Reads:
2,670
Uploaded:
08/27/2009
Category:
How-To Guides/Manuals
Tags:
linux
ldap
opensso
centos5
opends
apaceh tomcat
install
opends tomcat
Rated:

Download this Document for FreePrintMobileCollectionsReport Document


This is a private document.
Kefa Rabah
Follow
Like Be the first of your friends to like this.

Share & Embed

Link / URL: http://www.scribd.com/doc/19145800/Integrating


Embed Size & Settings:

Width: (auto) Auto


/ 10 Height: 300

11 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Start on page: 1
Preview View:

<a title="View Integrating OpenSSO &amp; Ope

Related
1. 6 p.

Ldap Browser for Linux

Reads: 1868

4 p.

Install Windows Server 2003 Active...

Reads: 1946

25 p.

Global Open Versity, Vancouver Can...

Reads: 232

2. 32 p.

Install Guide MS Exchange Server 2...

Reads: 248

5 p.

Install Guide MS Exchange Server 2...

Reads: 2088

6 p.

Step-By-Step Windows Server 2008 I...

Reads: 1392

3. 7 p.

Install Guide Linux Red Hat Enterp...

Reads: 2540

7 p.

Step by Step Procedure for Install...

Reads: 1005

13 p.
/ 10

12 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Step by Step Windows 7 Installatio...

Reads: 137

4. 3 p.

Configurare Pop3 IIS

Reads: 1831

8 p.

Access Fedora Directory Server

Reads: 1892

3 p.

How to Install Pentaho on Windows

Reads: 4853

5. 7 p.

Install Guide MS Exchange Server 2...

Reads: 1843

11 p.

Liferay 5.2.3 dual MySQL and Hyper...

Reads: 2138

8 p.

Install Guide Windows Server 2008 ...

Reads: 1739

6. 7 p.

Step-By-Step Install Guide Fedora ...

Reads: 0

22 p.

Install Guide MOSS 2007 on Windows...

Reads: 1436

18 p.

Using SugarCRM with OpenDS on JBos...

Reads: 1499

7. 11 p.
/ 10

13 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Instal Guide OpenLDAP for Enterpri...

Reads: 1518

10 p.

cg1

Reads: 0

More from this user


1. 13 p.

Using QEMU to Build a Virtual M...

From: Kefa Rabah

Reads: 171

10 p.

Build & Deploy Desktop Pers...

From: Kefa Rabah

Reads: 487

13 p.

Build & Deploy a Private Cl...

From: Kefa Rabah

Reads: 1,217

2. 36 p.

Step-By-Step Install Guide eyeO...

From: Kefa Rabah

Reads: 1,985

31 p.

Build & Deploy Secure Squid...

From: Kefa Rabah

Reads: 753

9 p.

Build & Deploy Secure Shore...

From: Kefa Rabah


/ 10
Reads: 501

14 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

3. 9 p.

Step-By-Step Install Guide Alfr...

From: Kefa Rabah

Reads: 509

12 p.

Step-By-Step Install Guide Alfr...

From: Kefa Rabah

Reads: 2,183

13 p.

Step-By-Step Install Guide Joom...

From: Kefa Rabah

Reads: 1,918

4. 9 p.

Install Guide Secure Sendmail w...

From: Kefa Rabah

Reads: 818

10 p.

Step-By-Step Install Guide DTC ...

From: Kefa Rabah

Reads: 930

7 p.

Step-By-Step Install Guide Fedo...

From: Kefa Rabah

Reads: 3,295

5. 19 p.

Build Your Own ISP Hosting usin...

From: Kefa Rabah

Reads: 1,709

15 p.

/ 10 Build Your Own ISP Hosting usin...

15 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

From: Kefa Rabah

Reads: 1,574

21 p.

Step-By-Step Install Guide EJBC...

From: Kefa Rabah

Reads: 947

6. 9 p.

Build Your Own Private Data Cen...

From: Kefa Rabah

Reads: 1,453

15 p.

Step-By-Step Install Guide EJBC...

From: Kefa Rabah

Reads: 1,110

24 p.

Step-By-Step Install Guide Sun ...

From: Kefa Rabah

Reads: 615

7. 34 p.

Step-by-Step Install Guide OSCA...

From: Kefa Rabah

Reads: 3,973

11 p.

Build Your Own Private Cloud Us...

From: Kefa Rabah

Reads: 4,748

52 p.

Install Guide Ubuntu 10.04 LTS ...

From: Kefa Rabah

/ 10 Reads: 10,492

16 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

8. 13 p.

Install Guide Linux Ubuntu 10.0...

From: Kefa Rabah

Reads: 1,887

12 p.

Install Guide Linux Ubuntu 8.04...

From: Kefa Rabah

Reads: 562

5 p.

Install Guide PostgreSQL Server...

From: Kefa Rabah

Reads: 253

9. 36 p.

Education and Careers Training ...

From: Kefa Rabah

Reads: 1,025

Login to Add a Comment

Submit
Jose Merino readcast this 06 / 30 / 2010Learn more about Readcast.
areuser readcast this 06 / 27 / 2010Learn more about Readcast.
Abraham Lomeli readcast this 06 / 15 / 2010Learn more about Readcast.
Alexandre Pereira readcast this 06 / 08 / 2010Learn more about Readcast.
Abraham Lomeli readcast this 05 / 21 / 2010Learn more about Readcast.
silpalathareddy readcast this 05 / 17 / 2010Learn more about Readcast.
/ 10 Billy readcast this 05 / 11 / 2010Learn more about Readcast.
Duc

17 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

Ads by Google
IBM Server Hot Offers
Offers on IBM Server solutions
Pre-installed Windows Server 2008
www.bestibmdeals.com/MY

Identity Management
Two Factor & Biometric OTP Display
Logical & Physical Access Control
www.identita.com

SSO + Anti Piracy Course


Enter the Maritime Security Sector
Award winning certified training
www.EosRisk.com
Upload a Document
Search Books, Presentations, Business, Academics...

Scribd

About
Press
Jobs
Contact
Blog
Scribd Store

Legal

Terms - General
Terms - API
Terms - Privacy
Copyright

Help & Tools

Getting Started
Community Guidelines
Support & FAQ
Web Stuff

Partners

Partners
Branded Reader
Developers / API

Subscribe to Us

On Scribd
On Twitter
On Facebook

What's New
/ 10

18 of 19 8/20/2010 12:16 PM
Integrating OpenSSO & OpenDS using Tomcat Webserver on Linux v1.0 http://www.scribd.com/doc/19145800/Integrating-OpenSSO-OpenDS-u...

We have updated our Terms of Service


Branded Reader
Desktop Uploader

/ 10

19 of 19 8/20/2010 12:16 PM

You might also like