Thanks a lot Alessandro and Michael.
That's exactly what i needed.

Vas.

On Jun 22, 11:29 am, Michael Pedersen <[email protected]> wrote:
> In addition to what Alessandro said, you should also check 
> outhttp://docs.repoze.org/who/1.0/andhttp://what.repoze.org/docs/1.0/. These
> are the authentication and authorization tools used by TurboGears 2.x, so
> their documentation is relevant.
>
>
>
> On Wed, Jun 22, 2011 at 11:05 AM, Vas <[email protected]> wrote:
> > Hi guys,
> > I'm a bit new to Turbogears so forgive me if my question seem extra
> > nooby.
> > I'm looking for  a way to implement custom user authentication. My
> > authentication process will not rely on database at all unlike the
> > TG's built in one that uses repoze.what.
> > My question is: Is there any way for me to create a similar structure
> > that would enable me to create my own validation functions and use
> > them as decorators? something like
>
> > @require(passedCustomAuthentication)
> > def save(self,**kw):
> >  return
>
> > Any help would be appreciated.
>
> > Vas.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TurboGears" 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/turbogears?hl=en.
>
> --
> Michael J. Pedersen
> My IM IDs: Jabber/[email protected], AIM/pedermj022171
>           Yahoo/pedermj2002, MSN/[email protected]
> My LinkedIn Profile:http://www.linkedin.com/in/michaeljpedersen
> Twitter: pedersentg

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

Reply via email to