Previous Topic: TimeoutsNext Topic: Write a Policy Management Application


Policy Management API

This section contains the following topics:

About Policy Management

Policy Management Setup

Required JAR File

Policy Store Objects

Write a Policy Management Application

Administrator Methods

Agent Methods

Agent Configuration Object Methods

Authentication and Authorization Map Methods

Authentication Scheme Methods

Certificate Map Methods

Domain Methods

General Object Methods

Group Methods

Host Configuration Object Methods

ODBC Query Scheme Methods

Password Policy Methods

Policy Methods

Realm Methods

Response Methods

Root Configuration Methods

Rule Methods

Self-Registration Methods

Trusted Host Object Methods

User Directory Methods

User Policy Methods

Utility Methods

Object Associations

Add Objects to the Policy Store

Retrieve Objects from the Policy Store

Delete Objects from the Policy Store

Authentication Scheme Configuration

Performance Consideration

About Policy Management

Policy management consists of creating, deleting, and modifying policy objects within a SiteMinder policy store. Through the Policy Management API, you can perform most of the data manipulations that you can perform through the native Policy Server User Interface. For example, you can write a client application that allows administrators to perform tasks such as:

Policy Management Setup

To run applications built with the Policy Management API:

Note: If an application built with the Policy Management API runs on the same machine as the Policy Server, the application must run as the same user who installed the Policy Server (for example, smuser on UNIX platforms).

Required JAR File

The JAR file smjavasdk2.jar is required for building and running Policy Management applications. The JAR file is stored in the following locations:

Policy Store Objects

Interface SmPolicyApi is implemented by the class SmPolicyApiImpl. Use this class as the starting point for the Policy Management API. Each policy store object is associated with a class in the Policy Management API. You create and manage policy store objects through the methods in an object’s class.

Policy store objects can be classified according to scope:

Global objects include:

Domain objects include:

When you are working in the Policy Server user interface, you will see most of the above objects listed in the System and Domain tabs of the SiteMinder Administration window.

Note: Descriptions in the Javadoc reference specify whether an object has global scope or domain scope.