Saturday, August 27, 2011

Re: Creating AuthComponent in 2.0-beta

Brilliant, thanks for the tips, Perry! I have been trying to wrap my mind around how to make SAML authentication work through the Auth component, but just like I figured, I was thinking too hard about it when it turns out it's probably already set up just about properly :)

I've already got an SamlAuth component, which is basically a wrapper for SimpleSAML_Auth_Simple, so I'll just call $this->SamlAuth->login(array('ReturnURL' => $this->referer())) from my login function and everything should be good to go, it sounds like (once I implement ACL, at least).

Thanks again, that saves me a lot of work!

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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: