Page 1 of 1
Posted:
Mon Oct 30, 2006 2:48 pm
by wreid
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
Posted:
Mon Oct 30, 2006 2:58 pm
by shannah
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
Posted:
Mon Oct 30, 2006 3:01 pm
by shannah
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
Posted:
Mon Oct 30, 2006 3:13 pm
by wreid
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.