Sun Identity Manager Deployment Guide

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