This section contains the following topics:
Write a Policy Management Application
Agent Configuration Object Methods
Authentication and Authorization Map Methods
Host Configuration Object Methods
Add Objects to the Policy Store
Retrieve Objects from the Policy Store
Delete Objects from the Policy Store
Authentication Scheme Configuration
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:
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).
The JAR file smjavasdk2.jar is required for building and running Policy Management applications. The JAR file is stored in the following locations:
<install_path>\sdk\java
<install_path>/sdk/java
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 are sometimes called system objects.
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.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|