Contents

Title and Copyright Information

Preface

Audience

Documentation Accessibility

Related Documents

Conventions

1 Adding Users and Groups to Oracle Internet Directory

1.1 Before you Begin

1.2 Adding User Entries

1.3 Creating A Static Group and Adding Members

2 Modifying the Oracle Internet Directory Schema

2.1 Before you Begin

2.2 Adding an Object Classes by Using Oracle Directory Services Manager

3 Setting up Oracle Internet Directory Replication

3.1 Before you Begin

3.2 Setting Up an LDAP-Based Multimaster Replication Agreement

4 Setting up Auditing of Oracle Internet Directory

4.1 Before you Begin

4.2 Managing Auditing by Using Fusion Middleware Control

5 Creating Oracle Virtual Directory Adapters

5.1 Before you Begin

5.2 Creating a Local Store Adapter

5.3 Adding Entries

5.4 Creating an LDAP Adapter

5.5 Creating an Oracle Database Adapter

5.6 Verify Adapters

6 Setting up Oracle Directory Integration Platform Synchronization and Attribute Mapping

6.1 Before you Begin

6.2 Set up Synchronization

6.3 Customize Attribute Mappings

6.4 Enable and Test Synchronization

7 Configuring Wallets and Data Stores for Oracle Identity Federation

7.1 Configuring a Wallet for Signing Certificates

7.2 Configuring Data Stores

7.3 Integrating Oracle Identity Federation with Oracle Access Manager

8 Configuring Oracle Identity Federation for Single Sign-On to Trusted Provider

8.1 Exporting Service Provider Metadata

8.2 Creating a Trusted Provider

8.3 Executing Single Sign-On to a Provider

A Accessing Administrative Interfaces

A.1 Accessing Fusion Middleware Control

A.2 Accessing Oracle Directory Services Manager

A.3 Accessing the Oracle WebLogic Server Administration Console

Index

Oracle® Fusion Middleware

Tutorial for Oracle Identity Management

11g Release 1 (11.1.1)

E10276-01

May 2009

Oracle Fusion Middleware Tutorial for Oracle Identity Management, 11g Release 1 (11.1.1)

E10276-01

Copyright © 2009, Oracle and/or its affiliates. All rights reserved.

Primary Authors:  Ellen Desmond, Vinaye Misra

Contributing Author:  Stephen Lee

Contributors:  Sophia Maler, Olaf Stullich, Mark Wilcox

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Preface

This book contains the tutorial exercises for Oracle Fusion Middleware Getting Started with Oracle Identity Management.

Identity Management components are integral to the correct functioning of an enterprise. Inappropriate modifications can render essential services inaccessible and might violate company protocol. For this reason, we recommend that you do not actually perform these exercises unless you have an isolated test system.

Audience

Oracle Fusion Middleware Tutorial for Oracle Identity Management is intended for anyone who performs administration tasks for Oracle Identity Management components.

Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/.

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

Deaf/Hard of Hearing Access to Oracle Support Services

To reach Oracle Support Services, use a telecommunications relay service (TRS) to call Oracle Support at 1.800.223.1711. An Oracle Support Services engineer will handle technical issues and provide customer support according to the Oracle service request process. Information about TRS is available at http://www.fcc.gov/cgb/consumerfacts/trs.html, and a list of phone numbers is available at http://www.fcc.gov/cgb/dro/trsphonebk.html.

Related Documents

For more information, see the following documents in the Oracle Fusion Middleware 11g Release 1 (11.1.1) documentation set:

Oracle Fusion Middleware Administrator's Guide for Oracle Internet Directory

Oracle Fusion Middleware Administrator's Guide for Oracle Virtual Directory

Oracle Fusion Middleware Integration Guide for Oracle Identity Management

Oracle Fusion Middleware Administrator's Guide for Oracle Identity Federation

Oracle Fusion Middleware Installation Guide for Oracle Identity Management

Oracle Fusion Middleware High Availability Guide

Oracle Fusion Middleware Security Guide

Conventions

The following text conventions are used in this document:

Convention | Meaning
boldface | Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary.
italic | Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.
monospace | Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.

1 Adding Users and Groups to Oracle Internet Directory

In this exercise, you use Oracle Directory Services Manager to add a user and a group to Oracle Internet Directory.

1.1 Before you Begin

You need access to an instance of Oracle Directory Services Manager and to an Oracle Internet Directory instance.

Perform this exercise before performing the Oracle Virtual Directory exercise. The Oracle Virtual Directory exercise requires access to an instance of Oracle Internet Directory that has at least one entry.

1.2 Adding User Entries

In this example, we create a user and assign a password.

Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

From the task selection bar, select Data Browser.

On the toolbar, click the Create a new entry icon. The Entry Properties page of the Create New Entry wizard appears.

Click the Add icon next to Object Class. The Add Object Class dialog box appears.

In the Add Object Class dialog box, search for, then select, the inetOrgPerson object class.

Click OK. This returns you to the Create New Entry wizard.

In the Parent of the entry field, type the full DN of the parent entry, for example cn=users,dc=us,dc=oracle,dc=com. You can also click the Browse button to locate the DN of the parent for this entry.

Click Next. The Mandatory Properties dialog appears.

Enter Anne Smith in the cn text box and Smith in the sn text box.

Select cn in the Relative Distinguished Name list as the property to use as the RDN.

Click Next. The entry is created.

Click Finish.

Select the Anne Smith entry in the data tree. (You can search for it to save time.)

Click the Attributes tab.

Click the icon under Optional Attributes to manage which optional attributes are shown. In the All Attributes list, select userPassword, then click Move to move it into the Shown Attributes list. Click Add Attributes. A userPassword text box now appears under Optional Attributes in the Anne Smith entry.

Enter a password in the Password text box.

Click Apply.

Create another user, as follows:

Select the Anne Smith entry in the data tree. (You can search for it to save time.)

On the toolbar above the entry click the Create a new entry line this one icon. The Entry Properties page of the Create New Entry: Create Like wizard appears.

Use the same object classes and parent that you used for Anne Smith.

Click Next. The Mandatory Properties dialog appears.

Enter a user name in the cn text box and the user's surname in the sn text box.

Select cn in the Relative Distinguished Name list as the property to use as the RDN.

Click Next. The entry is created.

Click Finish.

Select the new user's entry in the data tree.

Follow steps 14-17 in the previous list of steps to assign a password for the new user.

1.3 Creating A Static Group and Adding Members

In this example, we create a group and add the user Anne Smith to the group.

To add a static group entry:

From the task selection bar, select Data Browser.

On the toolbar, click the Create a new entry icon. The Entry Properties page of the Create New Entry wizard appears.

Click the Add icon next to Object Class. The Add Object Class dialog box appears.

In the Add Object Class dialog box, search for, then select, the groupOfNames object class.

Click OK. This returns you to the Create New Entry wizard.

In the Parent of the entry field, type the full DN of the parent entry, for example cn=groups,dc=us,dc=oracle,dc=com. You can also click the Browse button to locate the DN of the parent for this entry.

Enter NewGroup in the cn text box.

Select cn in the Relative Distinguished Name list as the property to use as the RDN.

Click Next. The entry is created.

Click Finish.

Select the NewGroup entry in the data tree. (You can search for it to save time.)

Click the Group tab.

Click the Add icon next to Members.

Select the DN of Anne Smith.

Click OK.

Click Apply.

2 Modifying the Oracle Internet Directory Schema

In this exercise, you use Oracle Directory Services Manager to create a new object class, conferenceRoom, which extends the object class room.

2.1 Before you Begin

You need the following information in order to perform this exercise:

The host and port for ODSM. If you are invoking ODSM from Fusion Middleware Control, this information will be filled in for you.

Whether the ODSM port is using SSL.

The ODSM user and password.

An Object ID that is not already in use.

2.2 Adding an Object Classes by Using Oracle Directory Services Manager

To add an object class:

Access Oracle Directory Services Manager as described in "Accessing Oracle Directory Services Manager".

Go to the Schema page.

Expand the Object Classes panel on the left.

Enter room in the Search field and click Go. The search returns at least one object class, called room.

Select room in the Object Classes panel. Information about the object class appears in the right panel

Click the Create an object class like the selected one icon. The New Object Class dialog box displays the attributes of the room object class.

Enter the name conferenceRoom and an available Object ID. Leave Type set to Structural.

In the Superclass section of the page, click the Add Super Object Class icon. The Add Super Object Class dialog appears. Enter room into the search field and click Go. When the search returns, click room in the search result and click OK.

In the Optional Attributes section of the page, click the Add optional attributes to list icon. The Optional Attribute Selector dialog appears. Enter buildingName into the search field and click Go. Select buildingName in the search result and click OK.

3 Setting up Oracle Internet Directory Replication

In this exercise, you use Fusion Middleware Control to set up LDAP-based multimaster replication between two Oracle Internet Directory nodes.

3.1 Before you Begin

To complete this exercise, you need the following prerequisites:

Two Oracle Internet Directory instances in separate domains. Each instance must be registered with a WebLogic domain and have anonymous binds enabled.

The host, port, and replication DN password for each of the nodes. (If you provide the correct host, port, and password, the replication wizard fills in the replication DN.)

3.2 Setting Up an LDAP-Based Multimaster Replication Agreement

You configure a one-way, two-way, or multimaster LDAP replica by using the Replication Wizard in Oracle Enterprise Manager Fusion Middleware Control. In this exercise, we will configure a multimaster agreement between two nodes.

Proceed as follows.

Access Oracle Enterprise Manager Fusion Middleware Control as described in "Accessing Fusion Middleware Control".

From the Oracle Enterprise Manager Fusion Middleware Control domain home page, under Fusion Middleware, under Identity and Access, select the Oracle Internet Directory component you want to use as the first node in the multimaster agreement. The home page for that instance of Oracle Internet Directory appears.

From the Oracle Internet Directory menu, select Administration, then Manage Replication. This takes you to the Replication Agreements page. If this Oracle Internet Directory instance is not yet configured to be part of any replication agreement, the list is blank.

Log in, by providing the host, port, and replication DN password. The replication DN fills in.

Click the Create icon to invoke the Replication Wizard.

On the Type page, select the replication type: Multimaster Replication.

Click Next. The Replicas screen displays the replication type you selected.

Provide the agreement name Testreplica. This must be unique across all the nodes.

Primary node will be filled in with information about the current (primary) host. You must enter the information about the secondary host. Enter the host, port, and replication password for the for the secondary node. The Username (replication DN), will fill in automatically.

Click Next to go the Settings page.

In the LDAP Connection field, select Keep Alive. This specifies that the replication server use same connection for performing multiple LDAP operations.

Use the default Replication Frequency.

Use the default Human Intervention Queue Schedule. This is the interval, in minutes, at which the directory replication server repeats the change application process.

The settings page also contains a section called Replication Server Start Details. Leave these disabled.

Click Next to go to the Scope page.

Leave the default naming context.

Click Next. The Summary page displays a summary of the replication agreement you are about to create.

Click Finish to create the replication agreement.

4 Setting up Auditing of Oracle Internet Directory

In this exercise, you use Fusion Middleware Control to manage auditing.

4.1 Before you Begin

You must have access to the administrative user account for the domain.

4.2 Managing Auditing by Using Fusion Middleware Control

You use Oracle Enterprise Manager Fusion Middleware Control to manage auditing.

Connect to Fusion Middleware Control as described in "Accessing Fusion Middleware Control".

Log in as the WebLogic administrator.

From the domain home page, under Fusion Middleware, expand Identity and Access, if necessary. Instances of Oracle Internet Directory are listed.

Select the Oracle Internet Directory component to manage.

From the Oracle Internet Directory menu, select Security, then Audit Policy.

From the Audit Level list, select Custom to configure your own filters.

Under User Sessions, User Logins, enable Failure.

Click the Edit Filter icon next to the Failure item you enabled. The Edit Filter dialog for the filter appears.

From the Condition list, select Initiator.

From the list to the right, select -eq.

In the text box to the right, enter the name of the administrative user that you used when logging in, for example, weblogic.

Click the Add icon.

Click OK.

Click Apply to save the changes.

To obtain a report of your current settings, click Export. Save the report to a file.

Open the file in a text editor, such as Wordpad and view the audit configuration you just created.

5 Creating Oracle Virtual Directory Adapters

In this exercise, you use Oracle Directory Services Manager to create a local store and add an entry to it. Then you create an adapter for an LDAP directory and an adapter for a database.

5.1 Before you Begin

The prerequisites for setting up Oracle Virtual Directory adapters are as follows:

An instance of Oracle Directory Services Manager. You need to know the URL.

An instance of Oracle Virtual Directory

An instance of Oracle Internet Directory with some user entries. You can use the instance from the Oracle Internet Directory tutorial.

An Oracle Database. For this exercise, you can use the Oracle Database associated with Oracle Internet Directory, although you would not do that on a production system. When an Oracle Database is installed, it already has the HR example scema that we will use in this exercise.

For the Oracle Virtual Directory, Oracle Internet Directory, and Oracle Database, you will need to supply the following information:

Hostname

Port

Administrator's name

Password

5.2 Creating a Local Store Adapter

Create Local Store Adapter dc=oracle,dc=com, as follows:

Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

Click the Adapter tab. On the Adapter page:

Click the Create Adapter icon and choose Local Store Adapter.

Enter the Adapter name LSA.

Leave Template set to Default.

Click Next.

On the Settings page:

Enter the Adapter Suffix/Namespace dc=oracle,dc=com.

Enter data/localDB for Database File.

Use the default values for the rest of the fields on the Settings page.

Click Next.

Review the summary page and click Finish if everything looks correct.

Note:

If, for some reason, you decide to delete the adapter and create a new one, use a different Adapter name and a different Database File name.

5.3 Adding Entries

Create an entry in the local store as follows:

Using a text editor, create an LDIF file that looks like this:

version: 1

dn: dc=oracle,dc=com
objectclass: top
objectclass: domain
dc: oracle

Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

Click the Data Browser tab.

Highlight dc=oracle,dc=com under Client View.

Click the Import LDIF icon.

Browse to the LDIF file you created and click Open.

5.4 Creating an LDAP Adapter

Create LDAP adapter as a branch cn=Users,dc=mydomain,dc=com).

Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

Click the Adapter tab. On the Adapter page:

Click Create Adapter icon and choose LDAP

Since we will be connecting to an OID server, leave the adapter template at Default.

Enter LDAP as name

Click Next.

On the Connection Page:

Click the Add Host icon.

Leave Use DNS for Auto Discovery set to No.

Enter hostname and port values for your LDAP server.

For server proxy Bind DN and proxy password enter the admin DN (typically cn=orcladmin) and password for your LDAP server.

Use the default values for the rest of the fields on the page.

Click Next.

You should see Success!! Oracle Virtual Directory connected to all hosts. on the Connection Test page. Click Next.

On the Name Space page:

SetPassThrough Credentials to Always.

Set the remote base to where you wish to connect in the remote directory tree. Browse to the Users container, cn=Users,dc=mydomain,dc=com

Set the Mapped Namespace to ou=LDAP,dc=oracle,dc=com

Use the default values for the rest of the fields on the page.

Click Next.

Review the Summary page. Click Finish.

Click the Data Browser tab. On the Data Browser page;

Click the Refresh icon

Expand the containers under Adapter Browser to view the entries.

Expand ou=LDAP,dc=oracle,dc=com under Client View to view the entries as they appear to a client.

Click the Adapter tab.

Highlight the LDAP adapter and click the Routing tab. On the Routing tab:

Under General Settings, select No for Visibility so that this adapter will look like a normal branch to an LDAP client.

Click Apply.

Go to the Data Browser tab, refresh and verify that the data tree from the LDAP adapter is visible.

Expand the containers under Client View to see if they have changed.

5.5 Creating an Oracle Database Adapter

Create a database adapter that maps the Oracle DB sample HR schema as a branch, as follows:

Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

Click the Adapter tab. On the Adapters page:

Click the Create Adapter icon. The Adapter navigation tree appears.

Select Database from the Adapter Type list.

Enter DB as adapter name

Leave the Adapter Template set to Default.

Click Next. The Connection screen appears.

On the Connection screen:

For Adapter Suffix/Namespace, enter ou=db,dc=oracle,dc=com.

For URL type, select Use Predefined Database.

For Database type, select the proper driver type for your database, such as Oracle Thin Drivers. JDBC Driver Class and Database URL will fill in automatically.

For Host, enter the hostname/IP address of your database (sta00730)

For Port, enter the port of your database (5521)

For Database name, enter dapmain.

For Database user, enter HR.

For Database password, enter the password. (welcome1)

Click Next which takes you to the Mapped Database Tables page.

On the Mapped Database Tables Page:

Click Browse.

Scroll down to HR, expand the container, and click EMPLOYEES.

Click OK. The Map Database Tables page will now show HR.EMPLOYEES.

Click Next to go to the Map Object Classes page.

On the Map Object Classes page:

Click the Create a New Object Class icon.

Enter Object Class inetorgperson.

Enter RDN Attribute UID.

Click OK.

Highlight the object class you just created and click the Add Mapping Attribute icon.

On the Add Mapping Attribute page:

Enter the LDAP attribute uid and the Database Table:Field HR.EMPLOYEES:EMAIL

Leave Datatype blank.

Click OK.

Map the LDAP iterate givenname to HR.EMPLOYEES:FIRST_NAME.

Click Next.

Click Finish. The new DB adapter appears on the Adapter page.

On the Adapter page, select the new Database adapter and click the Routing tab.

On the Routing page:

Under General Settings, select No for Visibility so that this adapter will look like a normal branch to an LDAP client.

Select DB adapter criticality False so that if DB is not available OVD still responds

Click Apply.

5.6 Verify Adapters

You should see three adapters listed on the left side of the Adapter page, one for Local store, one for LDAP and one for Database adapter.

Click on each adapter to make sure that it displays the correct namespace and configuration information you set in the adapter configuration setup.

Go to the Data Browser, click the refresh icon, and observer the Client View and Adapter Browser.

6 Setting up Oracle Directory Integration Platform Synchronization and Attribute Mapping

In this tutorial, you use Fusion Middleware Control to set up an Active Directory synchronization profile and add a customized attribute mapping. Then you enable and test synchronization.

6.1 Before you Begin

The prerequisites for setting up Oracle Directory Integration Platform synchronization with Active Directory are as follows:

An Oracle Enterprise Manager Fusion Middleware Control environment with an Oracle Directory Integration Platform component instance.

A container in the Oracle Internet Directory instance associated with the Oracle Directory Integration Platform instance, for example: cn=adusers,cn=users,dc=example,dc=com.

An Active Directory server. You will need to supply the following information about the server:

Hostname

Port

Administrator's name

Password

Host container, usuallycn=users, dc=domain. For example: cn=users,dc=example,dc=com.

6.2 Set up Synchronization

Perform the following steps to create a profile using Oracle Enterprise Manager Fusion Middleware Control:

Access Oracle Directory Services Manager, as described in "Accessing Oracle Directory Services Manager".

Log in to the domain that is running the Oracle Directory Integration Platform instance you want to manage.

Locate and select the Oracle Directory Integration Platform instance that you want to manage, for example, DIP1.

Click the DIP Server menu, point to Administration, and then click Synchronization Profiles. The Manage Synchronization Profiles page appears.

Click Create. The Create Synchronization Profile page appears with tabs for the various types of profile settings.

Click the General tab to configure the general settings for the profile.

Choose a Profile Name

Select Destination for DIP-OID.

Select Active Directory for Type.

Enter the host and port of the Active Directory server.

Do not enable SSL.

For User Name and Password, enter the administrator name and password on the Active Directory server.

Click Test Connection. It should return Test Passed. Authentication Successful.

Click the Mapping tab to configure Domain and Attribute Mapping Rules.

Click Create in the Domain Mapping Rules section to create mapping rules for the domain or container from which objects are synchronized into Oracle Internet Directory. The Add Domain Mapping Rule dialog box appears.

You can use the Lookup button or enter the values directly.

For Source Container enter the source container in AD, for example: cn=users,dc=example,dc=com.

For DIP-OID Container enter the DIP-OID container on the Oracle Internet Directory instance, for example: cn=adusers,cn=users,dc=example,dc=com.

Leave the Mapping Rule box empty

Click OK

Keep the default set for the Attribute Mapping Rules section.

Click OK.

Use the Validate All Mapping Rules button to test your mapping rules after you create them. You can ignore warnings, but not errors.

Click the Filtering tab to configure the filter settings for the profile. Do not make any changes.

Click the Advanced tab to configure the advanced settings for the profile. Set the following values

Scheduling Interval MM:SS: 1 Minute

Maximum Number of Retries: 1

Log Level: Error

Click OK to return to the Manage Synchronization Profile page and create the profile. The profile appears, along with a confirmation that the profile was saved successfully.

6.3 Customize Attribute Mappings

In this exercise, you will add an attribute mapping rule to the synchronization profile you created in Set up Synchronization.

Access Oracle Enterprise Manager Fusion Middleware Control as described in "Accessing Fusion Middleware Control".

Click the DIP Server menu, point to Administration, and then click Synchronization Profiles. The Manage Synchronization Profiles appears.

Click the Profile that you created in Set up Synchronization.

Click the Edit icon

Verify that Profile Name is correct.

Click the Mapping tab

In the Attribute Mapping Rules section select the Create icon

In the Mapping Rule window:

From the Source ObjectClass drop down list select: user

Select Source Attribute: Single Attribute

From the Source Attribute drop down list select: telephonenumber

From the DIP-OID ObjectClass drop down list select: inetorgperson

From the DIP-OID Attribute drop down list select: inetorgperson

From the DIP-OID Attribute type drop down list select: telephonenumber

Click OK

Use the Validate All Mapping Rules button to test your mapping rules after you create them.

6.4 Enable and Test Synchronization

On the Manage Synchronization Profile page, click Enable. A confirmation that the profile was enabled appears.

Add an entry to Active Directory and wait a few minutes.

Using Oracle Directory Services Manager, verify that the entry now exists in Oracle Internet Directory.

7 Configuring Wallets and Data Stores for Oracle Identity Federation

In this series of exercises, you use Fusion Middleware Control to manage Oracle Identity Federation. The exercises include:

Configuring a Wallet for Signing Certificates

Configuring Data Stores

Integrating Oracle Identity Federation with Oracle Access Manager

7.1 Configuring a Wallet for Signing Certificates

Create a wallet for the Oracle Identity Federation server's signing certificates.

Access Oracle Enterprise Manager Fusion Middleware Control as described in "Accessing Fusion Middleware Control".

Select the Oracle Identity Federation instance in the navigation pane on the left.

Navigate to Oracle Identity Federation, then Administration, then Security and Trust.

Click the Update button corresponding to Wallet Properties - Signatures.

For JCE Keystore Type, select the PKCS#12 radio button.

For Wallet Location, click Browse. Locate the operating system file for the wallet, and click Open in the file dialog.

For Password, enter the password that is used to encrypt the private key.

For Signing Key Alias, enter the alias under which the private key is stored in the wallet.

Click OK.

7.2 Configuring Data Stores

In this section you will learn how to configure Oracle Identity Federation to use Oracle Database and Oracle Internet Directory as data stores.

Configure a database as the user data store:

Create a JDBC Data Source

Log in to the WebLogic Administration Console, as described in "Accessing the Oracle WebLogic Server Administration Console".

Navigate to Services, then JDBC, then Data Sources.

Click New.

Choose a name and a JNDI name for the new data source, and enter the database information. Choose the WebLogic managed server where Oracle Identity Federation is deployed as the target of this data source.

Configure an RDBMS user data store

Log in to Fusion Middleware Control and navigate to the Oracle Identity Federation instance.

Navigate to Administration, then Data Stores.

In the User Data Store section, click Edit.

Select Database from the Repository Type dropdown list.

Enter the following properties:

- For JNDI Name, enter the JNDI of the data source created in the WebLogic Administration Console.

- For Login Table, enter the name of the user table.

- For User ID Attribute, enter the name of the User ID column in the user table.

- For User Description Attribute, enter the name of the User Description column in the user table.

Click OK.

Configure Oracle Internet Directory as the LDAP user data store:

Log in to Fusion Middleware Control and navigate to the Oracle Identity Federation instance.

Navigate to Administration, then Data Stores.

In the User Data Store section, click Edit.

Select LDAP Directory from the Repository Type dropdown list.

Provide the following details:

For Connection URL, enter the LDAP URL to connect to the server. For example, ldap://ldap.oif.com:389.

For Bind DN, enter the administrator account DN to use to connect to the LDAP server. For example, cn=orcladmin.

For Password, enter the administrator password to connect to the LDAP server.

For UserID attribute, enter uid.

For User Description attribute, enter uid.

For Person Object Class, enter inetOrgPerson.

For Base DN, enter the directory to which the search for users should be confined.

For Maximum Connections, enter the maximum number of LDAP connections that Oracle Identity Federation will simultaneously open to the LDAP server.

For Connection Wait Timeout, enter the timeout, in minutes, to use when Oracle Identity Federation opens a connection to the LDAP server.

Click OK.

7.3 Integrating Oracle Identity Federation with Oracle Access Manager

This integration enables Oracle Identity Federation to interact with Oracle Access Manager to create an authenticated user session. You can:

Configure Oracle Access Manager as an Authentication Engine

Configure Oracle Access Manager as an SP Integration Module

For details, see Deploying Oracle Identity Federation with Oracle Access Manager in the Oracle Fusion Middleware Administrator's Guide for Oracle Identity Federation.

8 Configuring Oracle Identity Federation for Single Sign-On to Trusted Provider

In this series of exercises, you use Fusion Middleware Control to create a trusted provider in Oracle Identity Federation. The exercises include:

Exporting Service Provider Metadata

Creating a Trusted Provider

Executing Single Sign-On to a Provider

8.1 Exporting Service Provider Metadata

In this exercise, the service provider administrator exports SAML 2.0 metadata to a file:

Access Oracle Enterprise Manager Fusion Middleware Control as described in "Accessing Fusion Middleware Control".

Select the Oracle Identity Federation instance in the navigation pane on the left.

Navigate to Oracle Identity Federation, then Administration, then Security and Trust.

Click the Provider Metadata tab.

Under Metadata Settings:

check the Require Signed Metadata box

check the Sign Metadata box

Click Apply.

In the Generate Metadata area of the page:

in the Provider Type drop-down, select Service Provider

in the Protocol drop-down, select SAML 2.0

Click Apply.

Click Generate.

In the file dialog box, click Save.

Click Open to view the generated XML file.

Note the service provider URL in the entity ID and Location tags in the file.

8.2 Creating a Trusted Provider

In this exercise, an administrator adds a new service provider to the Oracle Identity Federation server's trusted providers.

Access Oracle Enterprise Manager Fusion Middleware Control as described in "Accessing Fusion Middleware Control".

Select the Oracle Identity Federation instance in the navigation pane on the left.

Review key statistics for the server on the home page, including:

SOAP Requests

SOAP Responses

Navigate to Oracle Identity Federation, then Administration, then Federations.

Click Add.

In the Add Trusted Provider dialog:

check Enable Provider

select Load Metadata

Click the Browse button next to the Metadata Location field.

In the browse dialog box, navigate to the folder that contains the service provider metadata.

Service provider metadata was generated .

Select the XML file containing the metadata. Click Open.

In the Add Trusted Provider dialog, the Metadata Location field now fills in the path of the metadata file you selected.

Click OK. The Federations page appears.

Note that the newly added provider is listed in the Trusted Provider table, with the correct protocol version.

8.3 Executing Single Sign-On to a Provider

This exercise demonstrates a user performing an SP-initiated single sign-on operation using HTTP Redirect/Artifact processing.

Before You Begin

This exercise assumes that:

the IdP and SP have exchanged metadata as demonstrated in a previous exercise.

the IdP administrator has added the SP to its trusted providers as demonstrated in a previous exercise.

The steps to perform the exercise are as follows:

Open a browser window.

Initiate an SSO flow using a URL of the form:

HTTP://OIF-SP-HOST:OIF-SP-PORT/fed/user/testspsso

The Federation SSO/authentication page appears.

Provide this information on the page:

From the IdP Provider ID drop-down, select the IdP URL.

Under Authentication Request Binding, select HTTP Redirect.

Check Allow Federation Creation.

From the SSO Response Binding drop-down, select Artifact.

Click Start SSO. A request is sent to the service provider to start single sign-on.

A login page appears. Enter your username and password.

Click Sign In.

The SSO operation completes and a results page is displayed.

Note the information displayed on the page, including the User ID, the IdP Provider ID, session start and end dates, and so on.

A Accessing Administrative Interfaces

This appendix explains how to access Oracle Enterprise Manager Fusion Middleware Control, Oracle Directory Services Manager, and the Oracle WebLogic Server Administration Console.

This appendix contains the following sections:

Accessing Fusion Middleware Control

Accessing Oracle Directory Services Manager

Accessing the Oracle WebLogic Server Administration Console

A.1 Accessing Fusion Middleware Control

Connect to Fusion Middleware Control.

The URL is of the form:

https://host:port/em

Log in using the administrator's name and password.

From the domain home page, under Fusion Middleware, expand Identity and Access, if necessary. Instances of Oracle Internet Directory, Oracle Virtual Directory, Oracle Directory Integration Platform, and Oracle Identity Federation are listed.

A.2 Accessing Oracle Directory Services Manager

Invoke Oracle Directory Services Manager in one of the following ways:

To invoke Oracle Directory Services Manager from Fusion Middleware Control, select an Oracle Internet Directory or an Oracle Virtual Directory component, select Directory Services Manager from the Oracle Internet Directory or Oracle Virtual Directory menu in the Oracle Internet Directory target, then select the specific screen in Oracle Directory Services Manager. Oracle Directory Services Manager displays the connection dialog for the same Oracle Internet Directory or Oracle Virtual Directory instance.

To invoke Oracle Directory Services Manager directly:

Enter the following URL into your browser's address field:

http://host:port/odsm

In the URL to access Oracle Directory Services Manager, host is the name of the managed server where Oracle Directory Services Manager is running. port is the managed server port number from the WebLogic server. You can determine the exact port number by examining the $Fusion_Middleware_Home/Oracle_Identity_Management_domain/servers/wls_ods/data/nodemanager/wls_ods1.url file, where Fusion_Middleware_Home represents the root directory where Fusion Middleware is installed.

When the Oracle Directory Services Manager home page appears, click the small arrow to the right of the label Click to connect to a directory.

Connect to an Oracle Internet Directory or Oracle Virtual Directory instance with Oracle Directory Services Manager.

If you have previously logged into the directory, click the entry for that directory and supply the user and password.

If you have not previously logged in to the directory, click Create a New Connection or type Ctrl+N. The New Connection Dialog appears.

Optionally, enter an alias name to identify this entry on the Disconnected Connections list.

Enter the server and non-SSL port for the Oracle Internet Directory or Oracle Virtual Directory instance you want to manage.

Select or deselect SSL Enabled, based on whether your Oracle Internet Directory instance is using SSL.

Enter the user (usually cn=orcladmin) and password.

Select the Start Page you want to go to after logging in.

Click Connect.

If using an SSL port, you might be presented with a certificate from the server. After manually verifying the authenticity of the server certificate, accept the certificate.

A.3 Accessing the Oracle WebLogic Server Administration Console

Enter the following URL in a browser:

http://hostname:port_number

The port number is the number of the Administration Server. By default, the port number is 7001.

The login page is displayed

Log in using the user name and password supplied during installation or another administrative user that you created.

Oracle WebLogic Server Administration Console is displayed.

Alternatively, you can access the Administration Console from Fusion Middleware Control, from the home pages of targets such as the Administration Server or Managed Servers.

Index

A  D  E  F  G  L  O  R  S  W 

A

attribute mappings

customizing for Directory Integration Platform, 6.3

auditing

managing for Oracle Internet Directory, 4.2

D

database

as Oracle Identity Federation user data store, 7.2

E

entries

adding to Oracle Internet Directory, 1.2

importing for Oracle Virtual Directory, 5.3

F

Fusion Middleware Control

configuring Oracle Internet Directory replication, 3.2

connecting, A.1

invoking ODSM from, A.2

URL, A.1

Fusion Middleware Control - Directory Integration Platform

customizing attribute mappings, 6.3

setting up synchronization, 6.2

Fusion Middleware Control - Oracle Internet Directory

managing auditing, 4.2

setting up replication, 3.2

G

group members

adding to Oracle Internet Directory, 1.3

groupOfNames object class, 1.3

groups

adding to Oracle Internet Directory, 1.3

L

LDAP adapters

creating for Oracle Virtual Directory, 5.4

local store adapters

creating for Oracle Virtual Directory, 5.2

O

object classes

adding to Oracle Internet Directory schema, 2

groupOfNames, 1.3

ODSM

URL, A.2

ODSM - Oracle Internet Directory

adding group members, 1.3

adding groups, 1.3

adding object classes to schema, 2

adding user entries, 1.2

ODSM - Oracle Virtual Directory

creating a local store adapter, 5.2

creating LDAP adapters, 5.4

creating Oracle Database adapters, 5.5

importing entries, 5.3

Oracle Access Manager

as an Authentication Engine, 7.3

as SP Integration Module, 7.3

Oracle Database adapters

creating for Oracle Virtual Directory, 5.5

Oracle Identity Federation

adding a service provider, 8.2

common configuration, 7

configuring a signing wallet, 7.1

creating a trusted provider, 8

database user data store, 7.2

exporting SP metadata, 8.1

HTTP Redirect/Artifact processing, 8.3

integrating with Oracle Access Manager, 7.3

Oracle Internet Directory as user data store, 7.2

SP-initiated single sign-on, 8.3

Oracle Identity Federation - Oracle Access Manager

integration, 7.3

Oracle Internet Directory

as Oracle Identity Federation user data store, 7.2

R

replication

setting up for Oracle Internet Directory, 3.2

S

service provider

adding for Oracle Identity Federation, 8.2

SP metadata

exporting for Oracle Identity Federation, 8.1

SP-initiated single sign-on

for Oracle Identity Federation, 8.3

synchronization

setting up for Directory Integration Platform, 6.2

W

wallet

configuring for Oracle Identity Federation, 7.1

Oracle Legal Notices

Copyright Notice

Copyright © 1994-2010, Oracle and/or its affiliates. All rights reserved.

License Restrictions Warranty/Consequential Damages Disclaimer

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

Warranty Disclaimer

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

Restricted Rights Notice

If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

Hazardous Applications Notice

This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.

Trademark Notice

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Third-Party Content, Products, and Services Disclaimer

This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.