CA SiteMinder. SDK Overview Guide 12.52

Similar documents
BRM Accelerator Release Notes - On Premise. Service Pack

CA SSO. Agent for Oracle PeopleSoft Release Notes. r12.51

CA SiteMinder. Advanced Password Services Release Notes 12.52

CA Cloud Service Delivery Platform

CA Cloud Service Delivery Platform

CA PMA Chargeback. Release Notes. Release

CA Cloud Service Delivery Platform

CA Desktop Migration Manager

CA Workload Automation Agent for Micro Focus

CA Cloud Service Delivery Platform

CA Workload Automation Agent for Databases

CA Cloud Service Delivery Platform

CA Cloud Service Delivery Platform

CA Cloud Service Delivery Platform

CA Nimsoft Service Desk

CA SiteMinder. Advanced Password Services Release Notes SP1

CA Cloud Service Delivery Platform

CA IDMS Server. Release Notes. r17

CA File Master Plus for IMS

CA IdentityMinder. Glossary

CA VM:Secure for z/vm

CA SiteMinder. Federation Manager Guide: Legacy Federation. r12.5

CA TPX Session Management

CA Nimsoft Monitor. Probe Guide for iseries Job Monitoring. jobs v1.3 series

CA InterTest Batch. Release Notes. Release

Release Notes r12.5, Second Edition

CA Data Protection. De-duplication Filter for Symantec Enterprise Vault Configuration Guide. Release 15.0

CA Nimsoft Monitor. Probe Guide for DHCP Server Response Monitoring. dhcp_response v3.2 series

CA ERwin Data Modeler

CA TPX Session Management

CA Workload Automation Agent for Remote Execution

CA SiteMinder Web Access Manager. Configuring SiteMinder Single Sign On for Microsoft SharePoint 2007 Using Forms-based Authentication

CA Mobile Device Management Configure Access Control for Using Exchange PowerShell cmdlets

CA InterTest Batch Release Notes Release

CA IT Client Manager. Release Notes. Release 12.8

How to Deploy and Use the CA ARCserve RHA Probe for Nimsoft

CA Open Space. Release Notes. Release

pvs Release Notes All series

CA SiteMinder Federation

CA Clarity Project & Portfolio Manager

CA ERwin Data Modeler

CA Performance Management for OpenVMS

CA Spectrum. Policy Manager User Guide. Release 9.4

Release Notes. Release 12.2

erwin Data Modeler erwin Metamodel Overview Release 9.7

CA ERwin Data Modeler

CA SiteMinder. Upgrade Guide. r12.0 SP3. Third Edition

CA Chorus. Release Notes. Version , Sixth Edition

CA Unified Infrastructure Management

Nimsoft Monitor. qos_processor Guide. v1.2 series

CA Agile Vision and CA Product Vision. Integration Guide

CA Productivity Accelerator 13.0 SYSTEM REQUIREMENTS. Type: System Requirements Date: CAP13SYR1

CA IdentityMinder. Programming Guide for Java. r12.6.1

erwin Data Modeler Editing Forward Engineering Templates Release 9.7

CA Workload Automation Agent for Oracle E-Business Suite

CA GovernanceMinder. CA IdentityMinder Integration Guide

CA Workload Automation Agent for Databases

CA Workload Automation Agent for Micro Focus

CA File Master Plus. Release Notes. Version

CA Output Management Web Viewer

Connector for Microsoft SharePoint Product Guide - On Premise. Version

CA InterTest Batch Release Notes r8.5

CA SiteMinder Federation

CA CloudMinder. SSO Partnership Federation Guide 1.51

CA ARCserve Backup for Windows

On Premise. Service Pack

CA Chorus for DB2 Database Management

CA Automation Point. Release Notes. Release 11.5

Connector for Microsoft SharePoint Product Guide - On Demand. Version

Portlet Reference Guide. Release

On Premise. Service Pack

Portlet Reference Guide. Release

CA Automation Suite for Clouds Base Configuration

SPECTRUM. QoS Manager User Guide (5165) r9.1.1

CA Auth ID. Mobile Authentication Developer's Guide 8.0

CA DLP. NBA Release Notes. Release 14.0

Connector for CA Unicenter Service Desk & CA Software Change Manager for Distributed Product Guide. Service Pack

CA Spectrum Infrastructure Manager

CA CloudMinder. Identity Management User Console Design Guide 1.51

CA Performance Center

Personalizing CA Clarity PPM User Guide. Release

CA Spectrum. Remote Operations Suite User Guide. Release 9.3

Administration Guide. Release

CA CloudMinder. SSO Partnership Federation Guide 1.53

CA SiteMinder. Federation in Your Enterprise 12.51

CA Nimsoft Unified Management Portal

CA Clarity PPM. CA Clarity-Xcelsius Implementation Guide. v

CA Adapter. CA Adapter Installation Guide for Windows 8.0

CA ArcotID OTP. Authentication Developer's Guide. r2.0.2

CA Performance Management Data Aggregator

PPM Essentials Accelerator Product Guide - On Premise. Service Pack

CA Gen. Gen Studio Overview Guide. Release 8.5. Third Edition

CA Clarity Project & Portfolio Manager

CA Identity Manager. Installation Guide (JBoss) r12.5

Integration Adaptor. Release

CA Output Management Web Viewer

CA Workload Automation Agent for Oracle E-Business Suite

CA Datacom Tools CA Datacom Server New and Enhanced Features for 15.x

CA Adapter. Installation and Configuration Guide for Windows. r2.2.9

CA ehealth and CA SPECTRUM

Transcription:

A SiteMinder SDK Overview Guide 12.52

This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation ) is for your informational purposes only and is subject to change or withdrawal by A at any time. This Documentation is proprietary information of A and may not be copied, transferred, reproduced, disclosed, modified or duplicated, in whole or in part, without the prior written consent of A. If you are a licensed user of the software product(s) addressed in the Documentation, you may print or otherwise make available a reasonable number of copies of the Documentation for internal use by you and your employees in connection with that software, provided that all A copyright notices and legends are affixed to each reproduced copy. The right to print or otherwise make available copies of the Documentation is limited to the period during which the applicable license for such software remains in full force and effect. Should the license terminate for any reason, it is your responsibility to certify in writing to A that all copies and partial copies of the Documentation have been returned to A or destroyed. TO THE EXTENT PERMITTED BY APPLIABLE LAW, A PROVIDES THIS DOUMENTATION AS IS WITHOUT WARRANTY OF ANY KIND, INLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERHANTABILITY, FITNESS FOR A PARTIULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL A BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRET OR INDIRET, FROM THE USE OF THIS DOUMENTATION, INLUDING WITHOUT LIMITATION, LOST PROFITS, LOST INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF A IS EXPRESSLY ADVISED IN ADVANE OF THE POSSIBILITY OF SUH LOSS OR DAMAGE. The use of any software product referenced in the Documentation is governed by the applicable license agreement and such license agreement is not modified in any way by the terms of this notice. The manufacturer of this Documentation is A. Provided with Restricted Rights. Use, duplication or disclosure by the United States Government is subject to the restrictions set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, or their successors. opyright 2013 A. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies.

A Technologies Product References This document references the following A Technologies products: A SiteMinder ontact A Technologies ontact A Support For your convenience, A Technologies provides one site where you can access the information that you need for your Home Office, Small Business, and Enterprise A Technologies products. At http://ca.com/support, you can access the following resources: Online and telephone contact information for technical assistance and customer services Information about user communities and forums Product and documentation downloads A Support policies and guidelines Other helpful resources appropriate for your product Providing Feedback About Product Documentation If you have comments or questions about A Technologies product documentation, you can send a message to techpubs@ca.com. To provide feedback about A Technologies product documentation, complete our short customer survey which is available on the A Support website at http://ca.com/docs.

Documentation hanges There have been no changes to this guide in A SiteMinder r12.51 or r12.52.

ontents hapter 1: About the SDK 7 Introduction to the SiteMinder SDK... 7 Architectural Overview... 8 Policy Server Access... 9 Installed Directory Structure... 10 SDK Samples... 10 Sample Subdirectories... 11 SiteMinder Test Tool... 13 SDK Documentation... 13 Other SiteMinder Documentation... 13 Support for ustom ode... 14 ontents 5

hapter 1: About the SDK This section contains the following topics: Introduction to the SiteMinder SDK (see page 7) Architectural Overview (see page 8) Policy Server Access (see page 9) Installed Directory Structure (see page 10) SDK Samples (see page 10) SiteMinder Test Tool (see page 13) SDK Documentation (see page 13) Other SiteMinder Documentation (see page 13) Support for ustom ode (see page 14) Introduction to the SiteMinder SDK The SiteMinder Software Development Kit (SDK) provides Application Programming Interfaces (APIs) that let you perform the following tasks: reate custom front-end applications that can access SiteMinder services Extend SiteMinder functionality through server plug-ins The following table summarizes the custom applications and Policy Server extensions you can write using the APIs in the SiteMinder SDK: Purpose and Associated API Agent applications: Agent API Language Java Policy Management applications: Policy Management API Delegated Management Services (DMS) applications: DMS API Authentication: Authentication API Authorization: Authorization API Event handling: Event API Java Java Java Java hapter 1: About the SDK 7

Architectural Overview Purpose and Associated API Tunnel service: Tunnel API Pre- and post-process workflow for DMS events: DMS Workflow API Language Access to non-supported directory types: Directory API Architectural Overview The following figure illustrates the location of the APIs in relation to the SiteMinder Policy Server: Policy Management API DMS API Agent API (Java) Agent API () lient N e t w o r k Server Policy Management API S i t e M i n d e r P o l i c y S e r v e r Authentication API Authorization API Directory API Event API Tunnel API DMS Workflow API Legend Java Both 8 SDK Overview Guide

Policy Server Access Policy Server Access You must have the SiteMinder Policy Server to run the applications and Policy Server plug-ins that you develop with the SiteMinder SDK. However, in most cases, you do not use the Policy Server to build those applications and plug-ins. The one exception is that when building Policy Management applications for Solaris using the Policy Management API, you must do so on the machine where the Policy Server is installed. At runtime: All plug-ins developed with the SDK must be installed on the same machine as the Policy Server. Some applications developed with the SDK must be installed on the same machine as the Policy Server; others can be executed remotely. The following table specifies the type of access to the Policy Server required by your applications and plug-ins: Applications or Plug-Ins Developed with This API... Authentication API Authorization API Directory API Tunnel Services API Event API Policy Management API Agent API Java Agent API Java Policy Management API Require This Type of Access to the Policy Server... Local Local Local Local Local Local Local or Remote Local or Remote Local or Remote Note: When you build Policy Management applications for Solaris environments using the Policy Management API, use the libraries libsmpolicyapi45.so and libsmutilities.so, which are part of the Policy Server. hapter 1: About the SDK 9

Installed Directory Structure Installed Directory Structure The SDK installation includes header files, binary files, and sample code. The top-level installed directory structure is shown below in the sdk directory: SDK Samples The SiteMinder SDK contains a number of sample applications and plug-ins that can help you use the APIs. The samples are installed in subdirectories of the following directory: install_path/sdk/samples For example: :/Program Files/A/sdk/samples Note: The Java samples use properties defined in the file smjsdksample.properties, located in /sdk/properties. Before you run the Java sample applications, modify this file with settings for your environment. 10 SDK Overview Guide

SDK Samples Sample Subdirectories The sample subdirectories contain source files, project files, makefiles, and other related files for building the sample applications and plug-ins. The following table lists the subdirectories where the sample files are installed: Subdirectory Name assertiongenerator plugin dmsworkflow Sample Description Java sample of SAML assertion customization. -language Delegated Management Services workflow sample. javaauthapi Java custom authentication sample. javaazapi Java custom authorization samples. javadmsapi Java Delegated Management Services sample. The directory includes examples of build and run scripts. You can use the examples as models for your own scripts. This sample uses the policy store created by the javapolicyapi sample. javapolicyapi smagentapi smauthapi smazapi Java policy management sample. The directory includes examples of build and run scripts. You can use the examples as models for your own scripts. -language custom agent sample. -language custom authentication sample. -language custom authorization sample. smdirapi -language sample for accessing unsupported directories. hapter 1: About the SDK 11

SDK Samples Subdirectory Name smeventproviderapi Sample Description -language sample for creating custom event handlers. This sample references the header file smeventproviderapi.h. This is a custom header file used exclusively with this sample. The header file required for the Event API (and referenced within smeventproviderapi.h) is SmEventApi.h. smjavaagentapi Java custom agent sample. The directory includes examples of build and run scripts. You can use the examples as models for your own scripts. This sample uses the policy store created by the javapolicyapi sample. smpolicyapi -language policy management sample. The sample shows how to protect a Web resource by creating a variety of SiteMinder Policy objects. The example includes: alls to initialize and uninitialize the API. The calls that are required to create agents, domains (policy domains), user directories, realms, rules, responses, and policies. smtunnelagent -language tunnel agent sample. This sample is provided to communicate with the smtunnelservice sample shared library. The smtunnelagent sample uses the Agent API s Sm_AgentApi_Tunnel() function. smtunnelservice -language tunnel services sample. 12 SDK Overview Guide

SiteMinder Test Tool SiteMinder Test Tool The SiteMinder Test Tool is a Windows-based utility that you can use to verify your policy configurations. The Test Tool simulates the interaction between Agents and Policy Servers, allowing you to test the functionality of the Policy Server without having a Web Agent or Web server installed. The Test Tool acts as an agent sending requests to the Policy Server. These requests enable you to perform functional tests, such as verifying whether a resource is protected. You can also use the Test Tool to perform regression tests, which helps determine how well the Policy Server handles simultaneous requests. To run the SiteMinder Test Tool, run SmTest.exe in the following location: install_path\sdk\bin\ Note: The Test Tool does not support multibyte characters. SDK Documentation The A SiteMinder bookshelf includes the following SDK documentation: SDK Overview Guide (this document) SDK Release Notes Programming Guide for Programming Guide for Java Javadoc reference Other SiteMinder Documentation SiteMinder documentation that you can possibly find helpful when using the SiteMinder SDK are listed following. Policy Server onfiguration Guide Policy Server Administration Guide Web Agent onfiguration Guide A SiteMinder Federation: Legacy Federation Guide hapter 1: About the SDK 13

Support for ustom ode Support for ustom ode A supports the Software Development Kit (SDK) as part of the standard offerings. ode written by customers or partners, however, is not supported. You are responsible for the code you write. If you require assistance designing or implementing SDK-based code, contact your A customer account team. 14 SDK Overview Guide