SAP NetWeaver Identity Management Virtual ... SAP NetWeaver Identity Management Virtual Directory Server

  • View
    1

  • Download
    0

Embed Size (px)

Text of SAP NetWeaver Identity Management Virtual ... SAP NetWeaver Identity Management Virtual Directory...

  • SAP NetWeaver® Identity Management

    Virtual Directory Server

    Tutorial - Joining data sources

    Version 7.0 Rev 4

  • © Copyright 2008 SAP AG. All rights reserved.

    SAP Library document classification: PUBLIC

    No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

    Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

    Microsoft, Windows, Outlook, Excel, and PowerPoint are registered trademarks of Microsoft Corporation.

    IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, System i, System i5, System p, System p5, System x, System z, System z9, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation.

    Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.

    Oracle is a registered trademark of Oracle Corporation.

    UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

    Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.

    HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.

    Java is a registered trademark of Sun Microsystems, Inc.

    JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.

    MaxDB is a trademark of MySQL AB, Sweden.

    SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves information purposes only. National product specifications may vary.

    These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

  • i

    Preface

    The product The SAP NetWeaver Identity Management Virtual Directory Server can logically represent information from a number of disparate directories, databases, and other data repositories in a virtual directory tree. Different users and applications can, based on their access rights, get different views of the information.

    Features like namespace conversion and schema adaptations provide a flexible solution that can continually grow and change to support demands from current and future applications, as well as requirements for security and privacy, without changing the underlying architecture and design of data stores like databases and directories.

    The reader This manual is written for people who are to use join groups in the Virtual Directory Server.

    Prerequisites To get the most benefit from this tutorial, you should have the following knowledge:

    • Basic knowledge of LDAP.

    • Basic knowledge of Java.

    • Knowledge of SAP NetWeaver Identity Management Virtual Directory Server corresponding to the tutorials (Accessing databases and Accessing LDAP servers).

    The following software is required:

    • SAP NetWeaver Identity Management Virtual Directory Server version 7.0 or newer, correctly installed and licensed.

    • A Java development environment. This can be downloaded from http://java.sun.com (version 1.5).

    • Microsoft Access.

    • The source file for this tutorial:

    • The mvd-join.xml configuration file with a minimum configuration for the Virtual Directory Server, including the necessary Java classes.

    • The addresses.mdb database file containing the postal addresses of the employees.

    • The departments.mdb database file containing the employee's departments.

    • The directory server for the tutorials that is installed with the product.

    The manual This document contains a tutorial for joining information from an LDAP directory and databases using the Virtual Directory Server.

    © Copyright 2008 SAP AG. All rights reserved.

    http://java.sun.com/

  • ii

    Related documents You can find useful information in the following documents:

    • The X.500 standard, which can be ordered from http://www.itu.int.

    • LDAP v. 2, RFC1777, "Lightweight Directory Access Protocol".

    • LDAP v. 3, RFC 2251, "Lightweight Directory Access Protocol (V3)".

    RFCs and Internet drafts can be downloaded from http://www.ietf.org.

    © Copyright 2008 SAP AG. All rights reserved.

    http://www.itu.int/ http://www.ietf.org/

  • iii

    Table of contents Introduction........................................................................................................................................ 1

    The join process .........................................................................................................................................1 Verifying the configuration of the Virtual Directory Server......................................................................2 Section overview........................................................................................................................................3

    Section 1: Viewing the data sources and opening the server configuration ................................. 4 Starting the directory server .......................................................................................................................4 Viewing the contents of the directory server..............................................................................................4 Viewing the contents of addresses.mdb .....................................................................................................6 Viewing the contents of departments.mdb .................................................................................................6 Defining the LDAP mapping .....................................................................................................................7 Opening the server configuration ...............................................................................................................8 Enable logging..........................................................................................................................................10

    Section 2: Adding the directory server .......................................................................................... 11 Section 3: Building the virtual tree................................................................................................. 14

    Renaming the virtual tree .........................................................................................................................14 Creating the nodes in the virtual tree........................................................................................................15

    Section 4: Running the server......................................................................................................... 18 Specifying the port number ......................................................................................................................18 Running the server ...................................................................................................................................18 Viewing the contents................................................................................................................................19

    Section 5: Adding the databases as data sources .......................................................................... 21 Creating the ODBC System DSNs...........................................................................................................21 Adding the addresses.mdb as a data source .............................................................................................21 Adding the departments.mdb as a data source .........................................................................................29 Testing the data sources ...........................................................................................................................33

    Section 6: Creating the join group.................................................................................................. 34 Adding the join group ..............................................................................................................................35 Adding the addresses as an attribute source.............................................................................................3