Hello guys, I'm trying to add

repoze.who.plugins.basicauth import BasicAuthPlugin

my my base repoze.what config (using TG2)

I followed the instructions here
http://www.turbogears.org/2.0/docs/main/Auth/Customization.html#customizing-authentication-settings

and I found several error as well as things not working as expected.

bugs in the docs
- the sample code is wrong, as BaseAuthPlugin isn't an authenticator.
- setting it as a "form_identifies" other than having a wrong name add
nothing to the log output of repoze.what

I currently added the following to my app_cfg.py file
base_config.sa_auth.form_plugin = None

http_auth = BasicAuthPlugin('my cool site')
base_config.sa_auth.form_identifies = [('http_auth', http_auth)]

but it just doesn't works

any pointers are appreciated
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to