PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » Auth » Bug #2229

Ability to attach fall through containers

Details

Request #2229Ability to attach fall through containers
Submitted2004-08-26 22:49 UTC
Frombrandon at osuosl dot org
Assignedaashley
StatusClosed
PackageAuth
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-08-26 22:49 UTC] brandon at osuosl dot org

Description:
------------
The ability to add a few different containers for fall trough would be great. For example try LDAP, then MySQL, then RADIUS.

This could be done using a simple method like addContainer().

I would be willing to submit a patch to do this if you guys are interested in adding the feature.

[2004-09-02 12:54 UTC] quinton at free dot fr

perhaps you should take care of account type and add a field in user table :

table user (

id int,
username text,
password text,
type int, # may be ldap, nis, radius, pop ...
first_name,
last_name
);

when user create his account, he has the ability to choose validation method.

[2006-02-21 06:06 UTC] aashley at php dot net

sounds interesting. would definatly be interested in an addition like this for the next feature addition version

[2006-08-10 04:16 UTC] aashley at php dot net

The biggest problem with implementing this is the user management functions on the top level Auth object. Do they work on the first container? all of the containers? change the api to specify which container to work on? specify by integer? or add naming of containers?

I don't think this will really work as a patch for the 1.3 series while still maintaining full functionality of auth when using multiple containers.

Possibly a patch that only handles authentication when using multple containers could be accepted but that is likely it before 2.0.

[2007-01-04 05:27 UTC] aashley at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

This is implemented in CVS as the new Auth_Container_Multiple, with the insight from Adam Harvey to just implement it as another Auth Container took all of 20mins to implement, will be in Auth 1.5.0