On Fri, May 21, 2010 at 7:31 PM, David Gardner <[email protected]>wrote:

> Mike,
> Thanks for the response, it appears that adding auth_tkt in the
> authenticators of who.ini seems to have solved the issue.
> I tried this because the repoze.who docs for  AuthTktCookiePlugin mentions:
>
> "Normally, using the plugin as an identifier requires also using it as an
> authenticator."
>
> http://docs.repoze.org/who/2.0/plugins.html#repoze.who.plugins.auth_tkt.AuthTktCookiePlugin
>
> With that said none of the tutorials I looked at included this:
>
> http://wiki.pylonshq.com/display/pylonscookbook/Authentication+and+Authorization+with+%60repoze.who%60
> http://chrismiles.livejournal.com/26901.html
> http://code.gustavonarea.net/repoze.who.plugins.ldap/Using.html
>
>
> With that said its possible I am reading tutorials intended for 0.97 that
> don't quite work with 1.0b1.
>
>
I've not tried it with 1.0, but I know I've got a site running it with 0.97
and I didn't have the auth_tkt as a authenticator. I ripped off the pylons
quickstart plugin method and set it up in code vs the config file, but I've
pasted up what I currently use for combined ldap/sql auth with auth_tkt.

http://paste.mitechie.com/show/57/

Mainly around line 159 down.

Hope that helps.

Rick Harding

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to