Hello everyone,

I'd like to access the running WSGI application from inside my
controller.

The reason for this is that I need to access the AuthenticatorPlugin
which I can find in paster's shell with:

In [1]: wsgiapp.name_registry['ldap_auth']
Out[1]: <LDAPAuthenticatorPlugin 173143500>

However I tried, I was not able to find anywhere in the
request.environ, import tg.*, ...

Is there a way to do so ?
Is there another way to get the repoze.who.plugins instances ?

Is it wise to do so or should this be avoided ?

The reason for this requirement is, that I need to get some specific
information from the LDAP directory, for example about other users and
groups. I would hate to reimplement the LDAP stuff in a separate class.

Thanks for any help!

Regards
 andré
-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.


Reply via email to