[Zoo-discuss] ZOO-client and ZOO-API : concepts and usage

Fenoy Gerald gerald.fenoy at geolabs.fr
Fri Jun 10 05:46:07 PDT 2016


Hi Rakesh,
I have just answered your previous email.

> Le 10 juin 2016 à 14:23, rakesh prithiviraj <rakeshuk at outlook.com> a écrit :
> 
> Hi Gerald,
> 
> To summarize my previous email:
> 
> Is there any way to get access to additional information from within the process/service context. ? As of now, the processor receives three parameters (inputs,outputs, conf) and i am interested to know if there is a possibility to get access to run time information (like user-id, job id created by ZOO-Kernel, etc)  within the processor context. Note that this information is not part of WPS Execute request (inputs,outputs).

The only way I know to deal with this is to use cookie and sessions informations. The user authenticate through a WPS service which create a cookie identifier and store it in the cookie key of the [lenv] section. The service also store informations required by your application to understand that your user has been authenticated, for example the userid. Then the web application or requests sent by another client, have to forward the cookie informations into each requests they are producing to make sure the session will pass through all the WPS chain.

> 
> If this is possible, then I don't need a middle layer between ZOO-client and ZOO-kernel.

I d’ont think you need any middle layer for this and I hope to have make my point clear.

Best regards,


Gérald Fenoy
http://wiki.osgeo.org/wiki/User:Djay



More information about the Zoo-discuss mailing list