[webteam] [Fwd: Re: auth against jabber.org database]
Peter Saint-Andre
stpeter at stpeter.im
Wed Nov 14 15:58:29 CST 2007
Teh Boris says...
-------- Original Message --------
From: Boris Mann
To: Peter Saint-Andre
Subject: Re: auth against jabber.org database
On 11/14/07, *Peter Saint-Andre* <stpeter at stpeter.im
<mailto:stpeter at stpeter.im>> wrote:
Hey guys, we figured out that we want to authenticate the new
jabber.org <http://jabber.org>
website against our existing database of IM users. The db is postgres on
a different machine from the webserver. We want to make it read-only so
that Drupal will check credentials against what we have in the IM user
database (username and password). What is involved in writing a new auth
module or hacking an existing module?
hook_auth is the function you'll need to
implement: http://api.drupal.org/api/function/hook_auth/5
There are a variety of external authentication modules you can use as a
template:
* http://drupal.org/project/cas
* http://drupal.org/project/cosign
* http://drupal.org/project/facebook_auth
* http://drupal.org/project/netforum_authentication
<http://drupal.org/project/netforum_authentication>
Hope that helps!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/webteam/attachments/20071114/f3a4078c/attachment.bin
More information about the webteam
mailing list