I have read this document here :Apply CA SiteMinder® Behavior to a Web Application Client - CA Single Sign-On - 12.52 SP1 - CA Technologies Documentatio…
And I've also looked at the AJAX web agent sample, but it's not clear to me how to define a web application client response to handle the following scenario:
When using siteminder FORM authentication, how do you handle Siteminder session timeout for an AJAX request without losing your whole page ? On session timeout, the "default" form security siteminder HTML page will contain a FORM that will redirect to the Siteminder login page, and after you enter your SM credentials, automatically fires the POST/GET request that got interrupted. That's fine and dandy except for AJAX requests obviously.
I don't understand how the WebAppClientResponse ACO parameter helps in this case. The AJAX sample says to create an HTML page with SiteminderReason and SiteminderRedirectURL attributes. What would this SiteminderRedirectURL be? and how would that help recover the AJAX POST/GET request that got interrupted by the siteminder session timeout ???
Ok I think I understand this now :
The following placeholder values must appear in the body:
Example: Suppose that a web application client request triggers an idle timeout. CA Single Sign-On replaces the placeholder values with IdleTimeoutURL and the URL specified in the value of the IdleTimeoutURL parameter.
But, my question still stands. How does the WebAppClientResponse ACO parameter help with the AJAX request that got interrupted by the siteminder session timeout ??? Sure you can customize the response, but the redirection URL will still make you lose your current page. I don't see how you can smoothly return the AJAX response to the page you were on before you are redirected to the login page.
Any responses to this question? I am facing a similar issue with AJAX calls and SiteMinder.
Please refer : Tech Tip - CA Single Sign-On:Web Agent:: Web 2.0 Support
Thanks. I will take a look.
Jaime Britton | Deloitte Consulting
PA Department of Human Services, Insurance, and Aging
Mobile #: (717) 215-1565