[Zope] single sign-on

Paul Winkler pw_lists at slinkp.com
Sat Apr 1 13:26:29 EST 2006


On Sat, Apr 01, 2006 at 03:20:22PM +0200, Fernando Martins wrote:
> Dieter Maurer wrote:
> > >Yes, I understand the alternative to FastCGI, but mod_proxy
> > doesn't pass the required environmental variable REMOTE_USER to
> > zope. I was asking about single sign-on alternatives for Zope.
> >
> > In principle, the rewrite rules allow to specify environment extensions.
> > When I remember right, you use an "E=..." in the "[P, ...]" to call
> > for such an extension.
> 
> Actually, I see now you are referring to the substitution flags. This is
> indeed env|E=VAR:VAL but the idea is to set an environmental variable which
> "can be later dereferenced in many situations, but usually from within XSSI
> (via <!--#echo var="VAR"-->) or CGI (e.g.  $ENV{'VAR'})." But, unless I'm
> missing something, this solution hits the problem that environment variables
> are not passed into zope (except through FastCGI).

I've never tried those apache flags; but you might have a look
in zope's REQUEST.environ mapping ... maybe it Just Works?
*shrug*

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list