search cancel

Authentication issue

book

Article ID: 202866

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction

 

We're running a Web Agent and we'd like to know how Web Agent does the
authentication and authorization in order to develop automated script
with curl (https://curl.haxx.se/) to reproduce the same access.

How can we do that ?

 

Environment

 

Web Agent 12.52Sp1CR10 on Apache 2.4.46 on RedHat 7

 

Resolution

 

To be able to reproduce the browser behavior in curl, we suggest you
first to discover the journey by using Fiddler traces :

   Download Fiddler Classic
   https://www.telerik.com/download/fiddler

and run a browser with it. Fiddler will give you all the URL visited
for the login process and all the headers and cookies received and
sent.

With those details in hand, search the internet to find some sample on
how to develop the curl script to reproduce thoses journeys. Here's 2
sample showing how to integrate with SAML Federation and the other
about HTML Form authentication :

   Developer Tutorial: Part I: A SAML SSO flow from the Command Line with cURL
   https://www.ssocircle.com/en/developer-tutorial-saml-testing-using-curl-and-ssocheck-api/developer-tutorial-part-i-a-saml-sso-flow-from-the-command-line-with-curl/

   POST Form Data with cURL
   https://davidwalsh.name/curl-post-file

If you need further assistance, we invite you to get in touch with our
Services department for implementation purpose :

  CA Services
  https://www.broadcom.com/support/ca/services-support/ca-services