For my project I just created a couple tables, Users and Roles and built a very simple authentication system consisting of 2 decorators, require_login and require_role. This meets my needs right now, as I prefer form-based logins over http password pop-ups (basic and digest). However it would be nice to have access to digest and ntlm over ssl. Plugging into Apache could solve that.
Anyway, I am just throwing out the idea in case others are trying to figure out a simple way to do things. I'd be willing to share the code if anyone is interested, but I agree with Kevin that it's best not to re-invent the wheel unless necessary, so I am not sure if that is what you want as a contribution to TG. Of course, if CherryPy already has basic and digest (and I guess MultiAuth does Active Directory), then maybe a simple form-based system might meet some people's needs. Ok, enough rambling. :-) Thanks, Krys Lethalman wrote: >It's not important for me that you add my auth model, the importance >is that this auth has a purpose in turbogears and it become useful in >projects. >Since i have no experience with CherrPy, conseguently i don't have >practice with its auth methods. However if you think that cherrypy >auth methods are enough then don't care about mine. > >Just give me some hints about this task, from my poor english i >understood this: use my Authentication based on the already existing >cherrypy auth methods. > >I just suggest to use my class as an abstract layer for cherrypy auth, >to let the user have a better interface with the framework. > >-- >www.italianpug.org - Italian Python User Group Founder > > >

