[Zope] SSO

2011-05-16 Thread Sabine Grabner

Hi there,

I try to set up Zope with Shibboleth SSO. Therefore I need to delegate  
authentication to Apache which should then pass the REMOTE_USER  
environment variable to Zope. Am I understanding right, that for this  
purpose I have to use the not so recommended fastcgi configuration?


With the recommended RewriteRule I successfully receive the  
HTTP_REMOTE_USER header var in the REQUEST object, but not the  
REMOTE_USER environment variable. However, going this route would mean  
messing with the existing code, which uses REMOTE_USER currently set  
by Zope.


I appreciate any help.

Thank you,

Sabine



Sabine Grabner
Softwareentwickler

FH VORARLBERG
University of Applied Sciences
Hochschulstraße 1
6850 Dornbirn, Austria

Telefon: +43 (0) 5572 792 2212

www.fhv.at

GmbH, FN 165415h, LG Feldkirch


___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] application/json request in Zope 2

2011-05-16 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Baiju M wrote:
> Hi,
> 
> How to listen for application/json request in Zope 2
> 
> Is this project is the way to go ?
> http://pypi.python.org/pypi/Products.jsonserver/1.2a1
> 
> Or is there any better approach ?

No idea. This might be useful as well:

http://pypi.python.org/pypi/dm.zope.rpc/0.2a1

- -aj
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJN0R5cAAoJEADcfz7u4AZj4ugLwNs8yERDjpTo9Dle1Gft1AKn
212GlQirACIIrFKsSsZkhNJN/kmQvCwMl6Qo5S6XQKDL8+qBfq521wW+FvQuxtlI
AUUnNxBDmpUfs8Mr84dmlAi2ODC+JEaLnjMMZB+oZeckhLuK92u3HuJJuHNMp17L
4ONsAFHw4q0jI3GQhLQAoYz/kH6K8sgPpYKFHNwG/LRAleD0DXlvLvXuFS7F/Avl
FTm7TzfymxQk0JqzlGzfbhdtdsWBQuYL1kCgAqzau1mGyRn8j3jVc4wo1ErzH9Ui
kqE9rEsQegQkzafd3VjJwrxZQC4oDuANDc7+2SpSi9dOO0k0R++wjHufe5BUXyAC
K9bSkV6pJrqKeg3kHpXAJqb2GasDECUBmS/GGJHgYnPYL5lk3X4bcg3Nyx/p3cUi
WWSXQR+0Cp4wL82ncaqGwacd3vDkqoPL0T5V0HdV7t6b5g5yxr+kwnS3HntAmdBa
79AjzLEh743mV2UW7DcmBhJGmXTgU6I=
=BOrc
-END PGP SIGNATURE-
<>___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] application/json request in Zope 2

2011-05-16 Thread Baiju M
Hi,

How to listen for application/json request in Zope 2

Is this project is the way to go ?
http://pypi.python.org/pypi/Products.jsonserver/1.2a1

Or is there any better approach ?
I am using Zope 2.12

Regards,
Baiju M
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )