Different Database for authentication

A place for users and developers of the Xataface to discuss and receive support.

Postby wreid » Mon Oct 30, 2006 2:48 pm

Is there a way to have a seperate database for all authentication? I have a few databases for that i was thinking of using dataface on however I don't feel want to create a user table for each of them. I'd much rather be able to contact another database for the authentication checks.

Is something like this possible and how complicated might it be to start?

Thanks,
Walter
wreid
 
Posts: 27
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Oct 30, 2006 2:58 pm

It is not terribly complicated to do this. Probably the best/reusable method would be to create another authentication module. Download the CAS module and use it as a starting point. Hopefully when you take a look at the CAS module, you will see how it can be changed to do database authentication... let me know if you have any questions or run into any roadblocks.

If you do manage to create such a module (by modifying the CAS module), I'm sure that it would be of use to other developers so it would be cool if you could distribute it open source...

Best regards

Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Oct 30, 2006 3:01 pm

Just a note.. this is precisely what CAS is used for. The only thing is that you need to have a CAS server running for the CAS module to do you any good.
http://www.ja-sig.org/products/cas/

The good thing about using CAS is that it is universal so you would be able to use the same users across multiple applications and platforms.

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby wreid » Mon Oct 30, 2006 3:13 pm

Thanks Steve,

CAS seems like a good idea, however, I have to solve the issue with a module for now. Thanks for the start I will post my work when I finish.
wreid
 
Posts: 27
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved