yes, that's what i mean, but if your returnUrl is not the default loginAction, you don't need to change the loginAction, just set the 'Auth.User' in session, and auth will check authorization for that page.
On Sat, Aug 27, 2011 at 11:29 AM, Ben McClure <[email protected]> wrote: > After re-reading, I think I understand a little bit better: > > So my login method on the site should redirect to SimpleSAML for > authentication, specifying whatever page the user was trying to access that > required authentication ($this->referer() I suppose) as the ReturnURL, then > in my AppController's beforeFilter I set AuthComponent's loginAction to > false which should skip directly to checking the user record in the session > for authorization to the current page? > > Correct me if that's not what you meant, however. Thanks! > > Ben > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Perry | 彭琪 http://pengqi.me -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
