Just to go back to James Dalla Rosa's posting on this topic --
creating users automatically by opening a socket --
If you use Ant, it's pretty easy to do some scripting to add
"standard" users. Put the Jakarta Commons Net into your ant lib/ , and
then do something like the following:
7;
Subject: RE: Using the API to Dynamically Add Users
If you're willing to get your hands dirty in the code there is an RMI proposal.
I have no idea what state it's in, but it would be cleaner than telnet/screen
scraping.
-- Jason
> -Original Message-
> From: Daniel Perr
5 10:44
> To: James Users List; [EMAIL PROTECTED]
> Subject: RE: Using the API to Dynamically Add Users
>
> That would work.
>
> Though if you are using database user repositories (others can be file or
> db) it is easier to just do it directly.
>
> Daniel.
>
> >
o originale-
> Da: Daniel Perry [mailto:[EMAIL PROTECTED]
> Inviato: giovedì 14 aprile 2005 11.27
> A: James Users List
> Oggetto: RE: Using the API to Dynamically Add Users
>
>
> Are you planning on doing this inside of james? (ie in a mailet)
> or outside
> of james (
Are you planning on doing this inside of james? (ie in a mailet) or outside
of james (eg webapp)?
>From a mailet you can work directly with user repositories. See
commandlistservmanager for an example - it adds users in subscribe-confirm
command.
>From outside of james, if you use a database, yo
not a trivial task ... there really isn't one specific starting point per
say, though I am sure the developers will have many comments on that.
Basically you are going in the right direction; it does not matter what
repository you are using, though you will want to focus on the
UsersFileRepository