[jdev] External auth in Jabber2
David Ramsey
dramsey at neko.com
Wed Jun 16 12:11:02 CDT 2004
My original message seems to have vanished (or my newsreading skills
need work!), so I'll try again:
Jabber 1.4 had this nice "accept" mechanism that made it easy to write
external authentication modules. The Jabber Developer's Handbook has a
simple example that works as a starting point.
Jabberd 2 seems to have gravitated towards a "compiled in C" pluggable
module model. However, legacy "accept" modules are still supported, and
I've gotten my existing authentication module to connect to the router
successfully.
What I can't figure out how to do is configure Jabber 2.0 so that it
routes authentication requests to my module. The "<authreg>" section in
c2s.xml seems a reasonable place to look. But the sparse Jabber 2 docs
also mention that legacy components should be registered in the "items"
section of sm.xml.
I'm confused. Can I actually use my existing external auth module with
Jabber 2, or do I have to port it all to C? I'd prefer to avoid PAM if
possible.
-- David Ramsey
More information about the JDev
mailing list