we have a database with distinct login for every employee. Full of triggers checking permissions, writing logs of user activity, etc. Now I am writing a simple CakePHP interface to a part of it.
What I need to achieve is to connect to the database through CakePHP. Something like connect() method that will try to connect to DB with entered credentials and, if successfull, will keep that connection and access the CakePHP application.
Well, I am googling since yesterday but can’t find any direction. Do you know about any article/example…, that would help me with this task?
Thank you very much for your time.
-Petr
there is information on how to do this in the book http://book.cakephp.org/view/1250/Authentication