You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by C ZG <iz...@yahoo.com.cn> on 2006/03/28 09:52:55 UTC
回复: how to add users in a programming way?
get reference of UserRepository interface
but I don't know how to do this.
-=Kobye=- <ww...@gmail.com> 写道:
hi,everyone,
There are too many user ,I want to give them a account by programming way.
Does james support it?
if support and how to ?
thanks in advance
Best Regards
--
I love Java!
I love Sports!
I love this Game !
home:http://www.jsports.org
blog:
http://blog.csdn.net/jsports
http://blog.matrix.org.cn/page/jsports
---------------------------------
雅虎1G免费邮箱百分百防垃圾信
雅虎助手-搜索、杀毒、防骚扰
Re: »Ø¸´£º how to add users in a programming way?
Posted by Pierre Smits <pi...@gmail.com>.
The quirk is that passwords are generated in a James specific way. Therefore
the exact code for password generation in James must be used in your
programm to generate the passwords.
I am currently also programming a web based solution to do some delegated
user and mail management.
Regards,
Pierre
On 3/28/06, -=Kobye=- <ww...@gmail.com> wrote:
>
> hi,Phil,
>
> you mean, we can directly operate the DB,
> when using a DB repository?
> It sounds a good ide.
> I will try it.
>
>
> thanks
>
> Best Wishes
>
> >
> >
>
>
> --
> I love Java!
> I love Sports!
> I love this Game !
>
> home:http://www.jsports.org
> blog:
> http://blog.csdn.net/jsports
> http://blog.matrix.org.cn/page/jsports
>
>
Re: »Ø¸´£º how to add users in a programming way?
Posted by -=Kobye=- <ww...@gmail.com>.
It sounds a better way.
I will try too.
--
I love Java!
I love Sports!
I love this Game !
home:http://www.jsports.org
blog:
http://blog.csdn.net/jsports
http://blog.matrix.org.cn/page/jsports
Re: »Ø¸´£º how to add users in a programming way?
Posted by Bernd Fondermann <be...@googlemail.com>.
alternatively, you could use the RemoteManager commands (adduser,
deluser) programmatically.
see: http://james.apache.org/adding_users_2_1.html
On 3/28/06, -=Kobye=- <ww...@gmail.com> wrote:
> hi,Phil,
>
> you mean, we can directly operate the DB,
> when using a DB repository?
>
> It sounds a good ide.
> I will try it.
>
>
> thanks
>
> Best Wishes
>
> >
> >
>
>
> --
> I love Java!
> I love Sports!
> I love this Game !
>
> home:http://www.jsports.org
> blog:
> http://blog.csdn.net/jsports
> http://blog.matrix.org.cn/page/jsports
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: »Ø¸´£º how to add users in a programming way?
Posted by -=Kobye=- <ww...@gmail.com>.
hi,Phil,
you mean, we can directly operate the DB,
when using a DB repository?
It sounds a good ide.
I will try it.
thanks
Best Wishes
>
>
--
I love Java!
I love Sports!
I love this Game !
home:http://www.jsports.org
blog:
http://blog.csdn.net/jsports
http://blog.matrix.org.cn/page/jsports
Re: »Ø¸´£º how to add users in a programming way?
Posted by philguillard <ph...@gmail.com>.
Hi,
I suggest a DB repository, then you just need an O/R mapping or
something to add users in the database.
<mailet match="RecipientIsRegex=list-*@domain.org" class="JDBCListserv">
<data_source>maildb</data_source>
<members_query>select email from MEMBER where mailinglist =
?)</members_query>
<cache_settings>false</cache_settings>
</mailet>
Phil
-=Kobye=- wrote:
> thanks.
>
> But I can not find UserRepository in james java docs or mailet java docs .
>
> Can you give more detail?
>
> --
> I love Java!
> I love Sports!
> I love this Game !
>
> home:http://www.jsports.org
> blog:
> http://blog.csdn.net/jsports
> http://blog.matrix.org.cn/page/jsports
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: 回复: how to add users in a programming way?
Posted by -=Kobye=- <ww...@gmail.com>.
thanks.
But I can not find UserRepository in james java docs or mailet java docs .
Can you give more detail?
--
I love Java!
I love Sports!
I love this Game !
home:http://www.jsports.org
blog:
http://blog.csdn.net/jsports
http://blog.matrix.org.cn/page/jsports
Re: 回复: how to add users in a programming way?
Posted by Norman Maurer <nm...@spam-box.de>.
Its a package. You should download the current trunk and checkout the
classes in the package.
bye
Am Dienstag, den 28.03.2006, 16:09 +0800 schrieb -=Kobye=-:
> thanks.
>
> But I can not find UserRepository in james java docs or mailet java docs .
>
> Can you give more detail?
>
> --
> I love Java!
> I love Sports!
> I love this Game !
>
> home:http://www.jsports.org
> blog:
> http://blog.csdn.net/jsports
> http://blog.matrix.org.cn/page/jsports
> !EXCUBATOR:2,4428effc312981915113503!
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org