[jdev] External authentication in Jabberd 2
dramsey at neko.com
Mon Jun 14 18:41:47 CDT 2004
Jabber 1.4 had this nice "accept" mechanism that made it easy to write
external authentication modules. The Jabber Developer's Handbook has a
nice 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
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
-- David Ramsey
More information about the JDev