Legal | Privacy
Creating and Managing the Realm

Delegated Administration Services: Creating and Managing an Identity Management Realm

Purpose

This lesson provides instructions to create a new Identity Management Realm by using Delegated Administration Services (DAS). In addition, you learn to create users in the realm.

Topics

This module will discuss the following:

Overview
Prerequisites
Creating a New Identity Management Realm
Updating the SSO Server

Creating a New User in the Realm

Configuring SSO for Multirealm Environment

Place the cursor on this icon to display all screenshots. You can also place the cursor on each icon to see only the screenshot associated with it.

Overview

The Delegated Administration Services (DAS) is a Web-based administration tool used to manage Identity Management infrastructure. This tool is used for managing users, groups, and realms. An Identity Management Realm is an entity or organization that subscribes to the services offered in the Oracle product stack. In simple terms, realm is the location in OID where all the user and group contexts reside.

 

A default realm is created during the installation of Oracle Identity Management. It is where Oracle components find users, groups, and associated policies whenever the name of the realm is not specified. If you accept the defaults while installing Oracle Application Server 10g Infrastructure, then your default realm is set to the domain of your machine. Following is an example of such a domain:

dc=acme,dc=com

The default users are located in cn=users,dc=acme,dc=com and the default groups are located in cn=groups,dc=acme,dc=com.

You can define multiple Identity Management realms within the same Oracle Identity Management infrastructure. Each realm must have a unique name. You can create multiple realms if you want to:

  • Isolate user populations
  • Have different user communities such as Employees, Customers, and so on
  • Enforce different policies to different communities
  • Provision different set of services
  • Have different user schema definitions

 

 

Prerequisites

Back to Topic List

In order for this lesson to work successfully, you should have performed the following:

1.
2. Set ORACLE_HOME to point to the application server installation directory

Creating a New Identity Management Realm

Back to Topic List

To create a new Identity Management realm, perform the following:

1.

Open your browser, and enter the following URL:

http://<hostname>.<domain>:7777/oiddas

The Oracle Internet Directory Self Service Console appears.

Move your mouse over this icon to see the image

Click Login.


Move your mouse over this icon to see the image

Log in to DAS with administrative privileges (User orcladmin).

Move your mouse over this icon to see the image

 

2.

You will again see the Oracle Internet Directory Self Service Console. The Self Service Console is a ready-to-use application created by using Oracle Delegated Administration Services. It provides a single graphical interface for delegated administrators and end users to manage data in the directory.

Move your mouse over this icon to see the image

 

3.

Click the Configuration tab.

Move your mouse over this icon to see the image

 

4.

Click the Realm Management link.

Move your mouse over this icon to see the image

 

5.

Click Create on the Identity Management Realms page.

Move your mouse over this icon to see the image

 

6.

The Create Identity Management Realm page is displayed. Enter NASA in the Realm Name field. This name is used to create the directory tree realm in Oracle Internet Directory (OID). Enter a name in the Realm Contact field, and enter a short description in the Description field. The Realm Contact and Description fields are optional. Click Submit to create the realm with the details you specified.

Move your mouse over this icon to see the image

Wait to see a confirmation page for realm creation. Click OK.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

7.

Enter NASA in the Search Identify Management Realm field, and click Go.

 

8.

Select NASA in the table, and click View.

 

9.

Make a note of User Search Base, User Creation Base, Group Search Base, and Group Creation Base values.

 

10.

Click Home.

 

11.

Click the Configuration tab.

 

12.

Enter the values you noted for User Search Base, User Creation Base, Group Search Base, and Group Creation Base. Scroll down and click Submit.

 

13.

Start Oracle Directory Manager and view the realm that was created. Open a command window. Change directory to ORACLE_HOME/bin. Execute oidadmin by issuing the following command:

sh oidadmin

The first time you start Oracle Directory Manager, an alert message is displayed saying that you must connect to a server.
Click OK.

Move your mouse over this icon to see the image

 

14.

The Directory Server Name Manager dialog box is displayed. Click Add.

Move your mouse over this icon to see the image

 

15.

In the Directory Server Connection dialog box, enter values in the Server and Port fields. Click OK.

Move your mouse over this icon to see the image

Click OK.

Move your mouse over this icon to see the image

 

16.

The Oracle Directory Manager Connect dialog box appears. Log in as orcladmin user.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

17.

Expand Entry Management and look for dc=com. Similarly, expand dc=com and dc=oracle. You see the realm, NASA, that you created.

Move your mouse over this icon to see the image

 

 

 

Updating the SSO Server

Back to Topic List

After creating a new realm, you have to update the SSO server. This enables the users in the new realm to authenticate their applications.

1.

To update the SSO server, you should know the orasso schema password. You can obtain the password from Oracle Directory Manager.

Navigate the Directory Information Tree (DIT) as follows:

cn=OracleContext
cn=Products
cn=IAS
cn=IAS Infrastructure Databases
orclReferenceName=iasdb.us.oracle.com
OrclResourceName=ORASSO

Move your mouse over this icon to see the image

 

2.

You can find the password in the orclpasswordattribute field. Note down this value.

Move your mouse over this icon to see the image

In this example, the password is IY7G7dvg.

 

3.

Open a command window, and set environment variables PATH and ORACLE_SID as follows:

export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=<SID you specified during installation>

Change directory to <ORACLE_HOME>/sso/admin/plsql/sso. Enter the following command:

sqlplus orasso/<orassoschemapassword>@ssoreoid.sql

Move your mouse over this icon to see the image

 

4.

Restart OC4J_SECURITY. Switch to the browser window and enter the URL http://<hostname>.<domain>:1810. Click the link for the application server instance.

Move your mouse over this icon to see the image

 

5.

The Application Server home page of Oracle Enterprise Manager 10g Application Server Control appears. This page provides an overview of the Oracle Application Server 10g instance: status, performance, and configured components. Scroll down to see the System Components table.

Move your mouse over this icon to see the image

 

6.

Select OC4J_SECURITY, and click Restart.

Move your mouse over this icon to see the image

 

7.

Click Yes when asked for confirmation.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

 

 

Creating a New User in the Realm

Back to Topic List

To create a new user in the realm, perform the following:

1.

In the browser, change the URL to http://<hostname>.<domain>:7777/oiddas. Click Login and log in to DAS as the "orcladmin" user. Click the Directory tab.

Move your mouse over this icon to see the image

 

2.

Click Create.

Move your mouse over this icon to see the image

 

3.

On the Create User page, enter values for the mandatory fields in the Basic Information section. Observe the parent DN field. In this field, you can select the realm to which the user should belong. Select the realm you created.

Move your mouse over this icon to see the image

 

4.

To assign the Privilege Group role to the user, scroll down to Roles Assignment and select Privilege Group check box. Click Submit.

Move your mouse over this icon to see the image

Click OK.

Move your mouse over this icon to see the image

 

5.

Click Logout to log out of DAS. Click Return.

Move your mouse over this icon to see the image

Click Login and log in as the new user you just created.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

Log out and close the browser window.

 

Configuring SSO for a Multirealm Environment

Back to Topic List

Configuring SSO for a multirealm environment enables you to choose a realm when you log in. Configuring the single sign-on server for multiple realms involves creating an entry for each realm in the single sign-on schema. Every realm that you create in OID must have a corresponding entry in the single sign-on schema. This SSO configuration is also know as "Hosting." After successful configuration, you see an extra field (Company) on the login page.

1.

Switch to command prompt and change directory to <ORACLE_HOME>/sso/admin/plsql/wwhost. Execute the enblhstg.csh script:

./enblhstg.csh -mode sso -sc <sso_schema_connect_string> -ss orasso -sw
<sso_schema_password> -h <oid_host_name> -p <oid_port> -d "cn=orcladmin" -w
<oid_bind_ password>

-mode Value must be sso
-sc Connect string for the single sign-on schema. Use the format host:port:sid.
-ss Name of the single sign-on schema. This parameter must be orasso.
-sw Password for the single sign-on schema
-h Host name for the Oracle Internet Directory server
-p Port number for the Oracle Internet Directory server
-d Bind DN for the Oracle Internet Directory server. The value of this parameter is cn=orcladmin. This is the directory super user.
-w Password for the Oracle Internet Directory super user, cn=orcladmin

 

Example:
./enblhstg.csh -mode sso -sc edrsr19p2:1521:asdb -ss orasso -sw IY7G7dvg -h edrsr19p2 -p 3060 -d "cn=orcladmin" -w welcome1

Move your mouse over this icon to see the image

 

2.

Create an entry for the realm that you created in the single sign-on database. Execute the addsub.csh script.

./addsub.csh -name <realm_nickname> -id <realm_ID> -mode sso -sc
<sso_schema_ connect_string> -ss orasso -sw <sso_schema_password> -h <oid_host_name> -p <oid_port> -d "cn=orcladmin" -w <oid_bind_dn_password> -sp <sys_schema_password>

-name The realm nickname. This is the value that you enter in the Company field on the login page.
-id The realm ID. Choose an integer greater than 1. The value 1 is reserved for the default realm. The single sign-on server uses realm IDs internally as an index.
-sp The sys schema password. The default is CHANGE_ON_INSTALL.

 

Example:
./addsub.csh -name NASA -id 2 -mode sso -sc edrsr19p2:1521:asdb -ss orasso -sw IY7G7dvg -h edrsr19p2 -p 3060 -d "cn=orcladmin" -w welcome1 -sp sys

Move your mouse over this icon to see the image

 

3.

If you see a warning for duplicated subscriber entry, choose to use the existing entry.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

4.

Edit the login.jsp file that is present in the <ORACLE_HOME>/j2ee/OC4J_SECURITY/applications/sso/web/jsp folder.

Uncomment the lines shown below, and save the file.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

5.

Open a browser window, and enter the URL http://<hostname>.<domain>:1810. Log in with ias_admin and ias_admin password. Click the link for the application server instance in the Standalone Instances table.

Move your mouse over this icon to see the image

 

6.

Click Restart All.

Move your mouse over this icon to see the image

Click Yes when asked for confirmation.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

7.

In the browser window, change the URL to http://<hostname>.<domain>:7777/oiddas. Click Login and log in as the orcladmin user in the default realm.

Move your mouse over this icon to see the image

Move your mouse over this icon to see the image

 

8.

Log out and then log in as a user in the new realm you created.

Move your mouse over this icon to see the image

 

9.

Log out and log in as the orcladmin user in the new realm. You have one orcladmin user for each realm. This is required because you may have different administrators for each realm and each of these administrators may have different passwords.

Move your mouse over this icon to see the image

 

 

Place the cursor on this icon to hide all screenshots

 

Copyright © 2004, Oracle Corporation. All rights reserved. Contact Us Legal Notices and Terms of UsePrivacy Statement

 

 

 

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy