Issue Type: Improvement Created: 2007-11-26T13:43:12.000+0000 Last Updated: 2008-02-26T12:56:03.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)
Reporter: Alexander Kintis (c0m) Assignee: Ralph Schindler (ralph) Tags: - Zend_Auth
Related issues: - ZF-1680
As it is, zend_auth_adapter_dbtable uses a username and password to verify a person's account credentials. I have a similar yet subtly different situation where there are usernames and password in a table however they are unique per "sourceid" column. In this situation I am unable to verify the account credentials because they may exist more than once. So, in addition to requiring a username and password for authorization, it may be a good idea to add an optional parameter, or parameters, or array of parameters, that are used to check for authorization as well.
This may fall into the case where a users table has a "statusid" column where some statuses are equivalent to "enabled", "disabled", "paused", etc. In this scenario, a developer may want to authorize against those who are enabled only. Yes, the developer can do it once the values are returned to check the statusid but it would be nice to give them the option to do it implicitly.
Posted by Ralph Schindler (ralph) on 2008-01-09T11:44:46.000+0000
The functionality you describe is already attainable as you can see with the duplicated issue.
This does make for a compelling argument to add this use case to the manual though.
Posted by Ralph Schindler (ralph) on 2008-02-04T11:57:35.000+0000
This is not a "code" issue per-se, more of a documentation issue. I will create an appropriate manual entry to reflect all the issues that surround this type of use case.
Have you found an issue?
See the Overview section for more details.