Layer7 Access Management

Expand all | Collapse all

javascript ajax and siteminder

  • 1.  javascript ajax and siteminder

    Posted 02-09-2015 04:17 AM

    hi, I'm currently writting a small web app that pull data from a protected url with Ajax.

     

    I'm having issues where the ajax call returns with a state of 0 and nothing is pulled from the server.   using firebug I can see headers are correct.. ie  SMSESSION cookie exists.

     

    Can someone please send me an example of pulling data from a siteminder protected resource with ajax

     

    I'm using Secure Proxy server and Siteminder R12.52

     

    Regards,

    Craig.



  • 2.  Re: javascript ajax and siteminder

    Posted 03-30-2015 10:50 AM

    Anyone able to assist Craig here?

     

    Thank you

     

    Craig Johnstone wrote:

     

    hi, I'm currently writting a small web app that pull data from a protected url with Ajax.

     

    I'm having issues where the ajax call returns with a state of 0 and nothing is pulled from the server.   using firebug I can see headers are correct.. ie  SMSESSION cookie exists.

     

    Can someone please send me an example of pulling data from a siteminder protected resource with ajax

     

    I'm using Secure Proxy server and Siteminder R12.52

     

    Regards,

    Craig.



  • 3.  Re: javascript ajax and siteminder

    Posted 03-30-2015 12:45 PM

    my first thought: does it work without SIteMinder?

    my second thought: Is this a quirk of AJAX?



  • 4.  Re: javascript ajax and siteminder

    Posted 03-30-2015 05:52 PM

    Hi Craig,

     

    Best is to check your web agent trace logs and see what it is complaining about for your ajax request ?

    That will give you some hint. I am guessing probably the expired SMSESSION cookie ?

     

    Regards,

    Ujwol