This StackedObjectProxy stuff is not necessary, I think, if you:
- put repoze.who in all the pipelines referred to by the urlmap
middleware configuration. Make sure it's "to the right of"
the composite urlmap middleware (closer to the final WSGI
application than urlmap is).
- change the
Right, so I have been tried that, and it looks like repoze is running
in a different thread. IE I get :No object (name: repoze.who
RedirectFormPlugin) has been registered for this thread.
Here is my diff:
--- plugins/form.py (revision 1032)
+++ plugins/form.py (working copy)
@@ -11,6 +11
percious wrote:
> Ok, so I started digging, because I have to get this working for work
> now
> Looking at the Tosca source:
> http://svn.turbogears.org/projects/ToscaWidgets/trunk/tw/mods/base.py
>
> The "url" function:
>
> def url(self, url):
> """
> Returns the absolute pa
Ok, so I started digging, because I have to get this working for work
now
Looking at the Tosca source:
http://svn.turbogears.org/projects/ToscaWidgets/trunk/tw/mods/base.py
The "url" function:
def url(self, url):
"""
Returns the absolute path for the given url.
"""
I suspect taking a look at the Paste urlmap composite implementation would give
you a clue as to what needs to change in the plugin (e.g. figure out how/if it
signals that a particular prefix is in use). Even if it doesn't immediately go
into the repoze.who mainline, you should be able to make
Since the tg.repoze.who creates a paster app, I don't really see why
the page could not know where in the url path it should direct
people. I am ccing Alberto in the hopes that he can help us clear
this stuff up.
cheers.
-chris
On May 9, 5:32 pm, Chris McDonough <[EMAIL PROTECTED]> wrote:
> It's
It's statically configured now. The plugin itself would need to change to
support redirecting to a dynamic URL.
If you weren't up for changing the plugin, you could *try* using the
"non-redirecting" form plugin (replace the call to "form =
RedirectingFormPlugin
..." with what's below). This
Yeah, I realized that. I was just wondering, how can I get it to
automatically figure out the paste prefix? This is something that
goes off without a hitch in toscawidgets.
cheers.
-chris
On May 9, 5:15 pm, Chris McDonough <[EMAIL PROTECTED]> wrote:
> I think what you might be seeing if you're
I think what you might be seeing if you're using the configuration of
repoze.who
implied by
http://svn.turbogears.org/projects/tgrepozewho/trunk/tgrepozewho/middleware.py
is that the thing that shows the challenge (the form plugin) is configured
statically, e.g. (from that file):
form =
So, I almost have my project up and running on the production server.
The thing is, I have a large server with many applications, and they
are all mounted at the highest level of the global tree: ie
http://my.ip.address.com/plone
http://my.ip.address.com/tg2app
All the applications are routed wit
awesome. thanks again.
On May 2, 9:15 am, Chris McDonough <[EMAIL PROTECTED]> wrote:
> percious wrote:
> > Hey guys.
>
> > Nice work on repoze.who. I am using it in my production tg2 server.
>
> Thank you, and great.
>
> > Our customer has a need to hook authentication into LDAP. The idea is
>
percious wrote:
> Hey guys.
>
> Nice work on repoze.who. I am using it in my production tg2 server.
Thank you, and great.
> Our customer has a need to hook authentication into LDAP. The idea is
> that LDAP would athenticate the user, and the LDAP username would then
> be used to perform a look
Hey guys.
Nice work on repoze.who. I am using it in my production tg2 server.
Our customer has a need to hook authentication into LDAP. The idea is
that LDAP would athenticate the user, and the LDAP username would then
be used to perform a lookup on the TG database to get the user
information fo
13 matches
Mail list logo