Ok... I think using sfGuard would be an overkill as of now...
If I simply want to - 1. Create a user table and define some columns in it... 2. Access this session data in actions and templates through $this- >getUser() method. How do I do this? If I simply create a UserPeer just as I do for other tables, and store it as an attribute in $this->getUser() object, will it be the right way to do this? I saw that the documentation advises against storing propel objects in this session object...how do I do it then? I saw there is a class sfBasicSecurityUser...what is it used for? I didn't find any mention of it in the documentation... On Aug 19, 10:34 am, Dennis Benkert <[EMAIL PROTECTED]> wrote: > On 18 Aug., 14:21, Sumedh <[EMAIL PROTECTED]> wrote: > > > Anyone? :( > > > I am really confused if I should use this plugin or do my own simple > > thing... > > > Right now I am grappling with issues...just trying to figure out where > > is the code that compares user supplied credentials with DB data and > > decides this is a correct login...the executeSignin doesn't seem to > > have any code for this ??? :| > > You'll find it in one of the validators bundeled with sfGuardPlugin. > > > If I want to do my own simple thing, how can I make the $this->getUser() > > object to point to a new object I'll create (that'll map to > > the new users table I'll create)? > > maybe i misunderstand you but you can find it in your myUser class or > in the sfGuardSecurityUser class. Maybe take a closer look at the > sfGuardSecurityUser class. I think it bundles methods to log a user in > by hand. > > - Dennis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---