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:
AccountStore.java interface in Apache Wave package org.waveprotocol.box.server.persistence
UserManager.java interface in Kune source (but should we minimized).
Something similar to:
This is how our openfire server uses kune as auth system.
Note: This issue is registered in the “proposing” section on FreedomSponsors. This means that if you need this issue that bad, you can go to http://www.freedomsponsors.org/core/issue/214/allow-the-integration-of-custom-authentication-systems and offer a few bucks for it.