How to run A2A sample batch Run_example.bat
search cancel

How to run A2A sample batch Run_example.bat

book

Article ID: 127258

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

This document explains how to run the sample A2A script "Run_example.bat" on Windows.

Environment

CA Privileged Access Manager 3.x+

Resolution

1. Install Java JDK on Windows machine where A2A client is to run.

2. Download and install the A2A Client on Windows machine.

Install and Activate an A2A Client on a Request Server

3. Make sure the service 'cspmclientd' is running.


4. On PAM GUI, make sure below items.

a. 'Active' option is selected in the Device Type A2A section.
    Devices > Manage Devices.

b. Your A2A client is displayed and shown as 'Active'.
    Credentials > Manage A2A > Clients

5. Create Target application / Target account / A2A script on PAM.

6. Go to C:\cspm\cloakware\cspmclient\examples and compile the Example.java.
>javac -classpath ..\lib\cspmclient.jar Example.java

7. Run the script.
>Run_example.bat <A2Aalias>

8. This is the output.
Status Code: 400
UsedId:      A2ATest
Password:    samplepasswd

A2ASample