Programming Guides › Programming Guide for C › Policy Management API › Policy Management API Overview › Policy Management Setup
Policy Management Setup
To use the Policy Management API
- Install the Policy Server and the SiteMinder Software Development Kit on the same machine. In the Windows environment, the Policy Server is required for running Policy Management applications. In the UNIX environment, the Policy Server is required for both building and running Policy Management applications.
Note: You can build your Policy Management application without running the Policy Server services.
- Use the Policy Server Management Console to configure the Policy Server so that it points to the policy store you want to access.
- Run your Policy Management application on the machine where the Policy Server is installed and that has been configured to point to the policy store. The policy store can be on a different machine than the Policy Server.
To run your Policy Management application, you need the following files:
Windows platforms: SmPolicyApi45.dll
UNIX platforms: libsmpolicyapi45.so and libsmutilities.so, in the following location:
<siteminder_install_location>\Netegrity\SiteMinder\lib
Refer to the sample makefile before executing a UNIX build.
To build your policy application, include SmPolicyAPI45.h and link to the required shared libraries.
- Windows platforms: Link to SmPolicyAPI45.lib, located in
<install_path>\sdk\lib\win32\ - UNIX platforms: Link to the libraries libsmpolicyapi45.so and libsmutilities.so, located as described in the previous section.
Note: Before you build policy management applications for UNIX, you must install the SiteMinder SDK on the same machine as the Policy Server.