Page 1 of 1

External login

PostPosted: Tue Aug 28, 2012 2:41 pm
by aytonk
Is there any way I can authenticate a user (I will be using LDAP, and I can make that work INSIDE Xataface, but that's not what I need!) before redirecting to a Xataface application page, so that the Xataface app can pick up the user id (through a cookie or session variable, perhaps?) and then apply the appropriate permission to that user's access? I'm trying to build a system around Xataface and a couple of other products, and I'd like to set up something like SSO for the intergrated whole.

Thanke for any help that anyone can provide.

Kevin

Re: External login

PostPosted: Tue Aug 28, 2012 4:53 pm
by shannah
Yes. There are a few ways to achieve this. You may need to create a custom authentication module to do this. Your strategy will depend on your requirements. You have choices to make. I use Yale CAS for most of my single sign-on solutions. There is a CAS authentication module for Xataface and for many other applications.

If you want to roll your own sso solution that is possible too. Xataface is flexible enough to adapt to whatever solution you decide to use. In most cases, your solution will probably involve writing a custom auth module though.

There should be some info in the wiki on custom auth modules. You can also check out the http, ldap, and CAS auth modules at http://weblite.ca/svn/dataface/modules/Auth for some hints.

-Steve