You want it to redirect based on the file you're trying to load via
JavaScript? I'm not sure if that works (for all our AJAX stuff, you've
already been authenticated)
-Scott
On Mon, Aug 18, 2008 at 2:20 AM, Andrew Bruno <[EMAIL PROTECTED]>wrote:
> Are there any pointers, links, examples, etc.. for accessing a secure
> "private" resource via AJAX?
>
> <html>
> <head>
> <script type="text/javascript" src="/js/jquery-1.2.3.pack.js"></script>
> </head>
> <body>
>
> <div id="stats"/>
>
> <!-- Get's the stats once logged in, placing them in the div above -->
> <script type="text/javascript">
> $('#stats').load('private/stats.html');
> </script>
>
> </body>
> </html>
>
> and
>
> <sec:http entry-point-ref="casProcessingFilterEntryPoint">
> <sec:intercept-url pattern="/private/**" access="ROLE_USER" />
> <sec:logout />
> </sec:http>
>
> It looks like it redirects to CAS login but hangs there indefinitely.
>
> Am I barking up the wrong tree? Any pointers on how to do this
> differently?
>
> Thanks
> Andrew
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas