Sun Identity Manager Deployment Guide

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