开发者

Is pyramid_who (repoze.who) the preferred way to do authentication for pyramid?

I am just starting to learn Pyramid Framework. Is pyramid_who 开发者_运维技巧(repoze.who) the preferred way to do authentication?

What other options do I have?


pyramid_who is the best way to utilize repoze.who v2 for doing authentication. Whether this is the best authentication solution for you or not is dependent on your needs.

Typically repoze.who is the best solution for doing SSO (single sign-on) solutions where you need to connect to a service like LDAP.

If SSO is not a requirement, it is typically very simple to either use the pre-baked authentication solutions in pyramid such as AuthTkt, or to implement your own authentication policy.


I prefer to write my own since it is so simple, but there are a couple other options.

Here is a nice tutorial on how pyramid authentication works, tutorial.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜