[JDEV] Authentication

Raistlin Tanis raist_tanis_tas at yahoo.com
Wed May 8 22:52:27 CDT 2002


Thanks Chris!

I have downloaded both the xdb_auth_cpile.tar.gz and
Jabber::Connection modules.  The pop3 authentication
is working fine.

Is it possible to use mysql as backend in the local
jabber server instead of user.xml file?  

And also,  i still want the local server to accept
registrations of new users, any ideas how to go about
it?  i've tried both xdb_auth_pop3 and xdb_auth_cpile
... but accdg to their docs "Once the script is
running, your server will no longer accept
registrations,".


TIA,
Raist


--- Chris Pile <cpile at snoogans.co.uk> wrote:
> You could do this quite easily using the
> xdb_auth/check method.  I have
> some scripts that would be very easy to modify to
> suit your needs:
> 
>
http://www.snoogans.co.uk/jabber/index.htm#xdb_auth_cpile
>
http://www.snoogans.co.uk/jabber/files/xdb_auth_cpile.tar.gz
> 
> Download the tar.gz file and have a read of the
> docs.
> 
> You'll need an experimental version of
> Jabber::Connection :
> http://www.pipetree.com/jabber/jabberconnection/
> 
> Using these scripts, you can catch the username and
> authenticate
> accordingly, but you will probably have to write
> some code to read in
> the user.xml file and check the stored password. 
> There is an example of
> POP3 auth in my scripts.
> 
> It may be easier to migrate all users to one
> authentication platform.
> 
> 
> Thanks,
> Chris Pile.
> 
> 
> 
> Raistlin Tanis wrote:
> > 
> > Hi all,
> > 
> > I want to authenticate a user using both pop3 and
> the
> > local jabber server based on the format of the
> > username.
> > 
> > If the user enters "name%host.com", he will be
> > authenticated using pop3.  If the user inputs
> "name",
> > the local server will handle the validation.
> > 
> > Has anyone tried this type of authentication
> before?
> > Any help will be appreciated.
> > 
> > TIA,
> > 
> > Raist
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - your guide to health and wellness
> > http://health.yahoo.com
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com



More information about the JDev mailing list