[pmwiki-users] LDAP / PAM Module
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 4 09:45:46 CDT 2005
On Thu, Aug 04, 2005 at 04:28:46PM +0200, Joachim Durchholz wrote:
>
> One thing that I noted in passing: the script doesn't (seem to) have a
> good interface for plugging in one's own authentication methods. People
> may want to write authenticators for text files, maybe even hardcoded
> ones with the passwords in the PHP source, or whatever.
How about...
$AuthUser['custommethod'] = 'details for custommethod';
include_once('scripts/authuser.php');
# perform authentication specific stuff here
if ($AuthUser['custommethod']) {
/* test for authentication */
if ( /*authenticated*/ ) AuthenticateUser($id);
}
Pm
More information about the pmwiki-users
mailing list