You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by "Sanii.Cyrus" <Cy...@cic.gc.ca> on 2012/02/02 16:23:58 UTC

Can I add a user to Vysper without having to restart the server ?

We setup v0.7 and have added some users.
The users can IM to each other.
However if we now want to add more users it seems we need to restart the server process to get it to reread the config file.
Are we adding users incorrectly?
We are just editing the spring-config.xml file.
We are running on a Windows platform.

Cyrus Sanii
Chief, Technical Architecture | Chef, Architecture d'entreprise
NHQ - Information Management and Technologies | AC - Gestion et technologies de l'information
Citizenship and Immigration Canada | Citoyenneté et Immigration Canada
365 Laurier Avenue West Ottawa ON K1A 1L1 | 365, avenue Laurier Ouest Ottawa ON K1A 1L1
Office | Bureau JETS C757
Cyrus.Sanii@cic.gc.ca<ma...@cic.gc.ca>
Telephone | Téléphone 613-946-5654
Facsimile | Télécopieur 613-952-0924
Government of Canada | Gouvernement du Canada

Re: Can I add a user to Vysper without having to restart the server ?

Posted by Bernd Fondermann <be...@googlemail.com>.
On Thu, Feb 2, 2012 at 16:23, Sanii.Cyrus <Cy...@cic.gc.ca> wrote:
> We setup v0.7 and have added some users.
> The users can IM to each other.
> However if we now want to add more users it seems we need to restart the server process to get it to reread the config file.
> Are we adding users incorrectly?
> We are just editing the spring-config.xml file.
> We are running on a Windows platform.

By default, users are loaded from the spring configuration and only
held in-memory.

If you change
    <!-- choose one of the storage registries -->
    <alias name="inmemoryStorageRegistry" alias="storageRegistry" />
to
    <alias name="jcrStorageRegistry" alias="storageRegistry" />
you get persistence with JCR/Jackrabbit.

You could use XMPP's Administration interface to add/manage users.

Vysper doesn't come with a full fledged user management included, but
you can easily connect to your own by implementing
  org.apache.vysper.xmpp.authentication.AccountManagement

  bernd