Re: LiveUser - general capabilities question
| From: | Lukas Smith | Date: | Wed, 10 Aug 2005 16:14:40 +0000 |
| Subject: | Re: LiveUser - general capabilities question | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20351@lists.php.net to get a copy of this message | ||
l Burnerheimerton wrote:
Mr. Smith - I appreciate your comments. Without being too familiar yet with LiveUser yet, I don't understand what "an ordered list of authentication sources" is.$LUconfig = array( 'authcontainers' => array(
'app1' => array(
'type' => 'DB'
),
'app2' => array(
'type' => 'DB'
),
'app3' => array(
'type' => 'XML'
),
),
);
this is a simplified version of a real configuration array. this would define 3 separate authentication container sources, each would be the user table from a given application.
$LU->login($handle, $password);
This method call would first try the authentication source configured in app1 and will look if there is a match for the given handle and password. Then the app2 source and finally app3 if no prior source produced a match.
Right now, I am trying to determine whether I should spend lots of time to dig deeply into LiveUser. I need to make sure it will suffice my needs. Given the example above, would LiveUser work as I think it does? Many thanks for your insight.Its probably the most complete solution you can have a look at. We actually now have alot of documentation, its just a bit scattered on the web. For this reason I plan to write up a document tomorrow that will bring all of those ressources together. I can mail you the preliminary version and I am hoping it will be in the official PEAR manual sometime this sunday. regards, Lukas