Re: Pyramid authentication and authorization plugin

2011-06-18 Thread Michael Merickel
On Sat, Jun 18, 2011 at 3:56 PM, Liju  wrote:

> Is there a plugin that can be used with Pyramid framework that can do
> authentication and/or authorization based on LDAP/Custom Registry
> (Files etc) & DB ?
>

You can use pyramid with repoze.who v2 by way of the pyramid_who plugin. I
believe that it does have an ldap plugin, as well as many other ways of
doing authentication. Note that this is for authentication. Usually
authorization is something application-specific so you'll probably have to
write your own authorization policy, but luckily the api for that is fairly
simple.

-- 

Michael

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



Pyramid authentication and authorization plugin

2011-06-18 Thread Liju
Is there a plugin that can be used with Pyramid framework that can do
authentication and/or authorization based on LDAP/Custom Registry
(Files etc) & DB ?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.