Howdy,
I am using SqlAlchemy under TG and Flash (with FlexBuilder 2) for the
UI.
I'm trying to figure out how to get login/logout and @require
decorator to work for me.
I am not walking down the garden path of using Kid and SqlObject so it
is not really set up right out of the box. Rather I am attempting to
leverage the auth framework in TG but with  different needs from the
standard template-based app - I need much more explicit rejection of
unauthorized access attempts (not redirects to a login screen). Upon
login, however, it seems that it should be quite straightforward to
setup the identity, yes?

What I need to know is the following:

1. how do I write my own login controller that will explicitly set the
identity for any future requests.
2. how do I logout.

So far, I'm able to add users to DB, no problem. But looking at the
identity code and the saprovider code, I am getting lost (I'm somewhat
of a Python newbie, ex-Java). In Java, you usually have pretty
explicit static typing to use when analysing other folks code. I find
that in Python, this is not possible, thus you really have to dig
quite deep to figure out where things are coming from. I'm not making
much headway there.

Any help will be very much appreciated.
Thanks,
Jesse James


--~--~---------~--~----~------------~-------~--~----~
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