We need some system that will allow other kind of auth systems (similar to openfire auth system, so you put some lib in a directory and you make a reference in the configuration to use that system). So people can develop it's own auth system (to connect kune to a LDAP system, for instance).
Furthermore we are using the wave account system and I think that we have to implement something similar in Apache wave.
Code to see:Something similar to:
http://www.igniterealtime.org/builds/openfire/docs/latest/documentation/javadoc/org/jivesoftware/openfire/auth/AuthProvider.html
This is how our openfire server uses kune as auth system.
Original discussion:
http://kune.cc/?locale=en#!kune.lists.1226.10080