[Midas] authenticated access

Mona Wong mona at sdsc.edu
Mon Jun 25 21:32:03 EDT 2012


	Yes, Annio will be on the same server as Midas is running from.  I'll give the "useSession" a try.

	Thanks again Zach!

cheers,
Mona


On Jun 25, 2012, at 6:14 PM, Zach Mullen wrote:

> You may be able to use the session for this; if you pass the "useSession" parameter to a web API method, it will attempt to use session authentication instead of the web API token, but this only works for clients that support session cookies.  So the question is, how is Annio going to write data back into Midas?  If the application is running in the same place as Midas, you should be able to just pass useSession to the web API assuming the user's session is still active.  That seems to me that it would work because Annio is an HTML5 application and is running in the browser, so it would have all of the same session cookies from the Midas instance.
> 
> 
> Thanks,
> 
> Zach

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    "Forgive everyone everything."
				-- Regina Brett
*********************************************







More information about the Midas mailing list