Em Friday 22 February 2008 08:27:51 [EMAIL PROTECTED] escreveu: > > Not without modification. You'd have to modify one of the providers > > (soprovider, saprovider, ldap, etc.) to accomplish that. > > > > You also have to modify the model. > > Then, I have to provide/ship my own "distribution" of Turbogears with > my app. It's not really a bad idea, because it avoids some > incompatibility issues.
No. You can use entry points and provide your provider. When I said change the code I was thinking about creating a new provider, not changing TG's code per se but using it as a foundation for your own work. > I've done exaclty the same thing to work around until I find a good > solution :) > Did you not think that hacking user_name like this is not "clean" ? Not at all. Why wouldn't it be? > And.. this solution adds another problem. How do you login ? Do you > provide user_name and password by filling out a web form, with > user_name like "mycomp_myuser" ? Yes. > (I don't know how to modify a user_name BEFORE passing it to the > identity manager... To add the compagny abbrev for instance.) I didn't do that. I don't like hiding things from users... But JavaScript might help you with that. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

