Sun Identity Manager Deployment Guide

Process Overview

The following sections provide a high-level overview of the steps you perform to create a custom adapter:

How To Write a Standard Resource Adapter

This section describes the processes to follow when creating a standard adapter or an Active Sync-enabled adapter.


Note –

The steps for writing a standard adapter are slightly different based on which operating system you are using.


ProcedureTo Create a Standard Adapter:

  1. Open a command window and go to the following directory:

    \waveset\idm\adapter\src

  2. Rename the SkeletonStandardResourceAdapter.java skeleton file to a file name of your choice. See Rename the Skeleton File for more information.

  3. Edit the new adapter’s source file as described in Edit the Source File.

  4. Source the file you created previously to set up your environment:

    • For Windows: Source the ws.bat file.

    • For UNIX: Source the ws.sh file.

  5. Type the following command to compile your source files:

    • For Windows: javac -d . -classpath %CLASSPATH% yourfile.java

    • For UNIX: javac -d . -classpath $CLASSPATH yourfile.java

How To Write an Active Sync-Enabled Resource Adapter

This section describes the general steps you follow to create a custom Active Sync-Enabled adapter on the Microsoft Windows operating system.

ProcedureTo Create a Custom Active Sync-Enabled Adapter

  1. Open a command window and change to the following directory:

    \waveset\idm\adapter\src

  2. Rename (or copy) one of the following skeleton files to a file name of your choice. See Rename the Skeleton File for more information.

    • SkeletonStandardAndActiveSyncResourceAdapter.java (for standard and Active Sync-enabled resources)

    • SkeletonActiveSyncResourceAdapter.java (for Active Sync-only resources)

  3. Edit the new adapter’s source file as described in Edit the Source File.

  4. Source the file you created previously to set up your environment:

    • For Windows: Source the ws.bat file.

    • For UNIX: Source the ws.sh file.

  5. Type the following command to compile your source files:

    • For Windows: javac -d . -classpath %CLASSPATH% yourfile.java

    • For UNIX: javac -d . -classpath $CLASSPATH yourfile.java