james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@apache.org>
Subject RE: Re: Do you plan to write a java programe to manage users conveniently?
Date Mon, 04 Nov 2002 09:27:58 GMT
there's an RMI remote manager proposal, in cvs jakarta-james/proposals, and if you look (again
in cvs) at tests/src/java/org/apache/james/testing/EndToEnd.java you will see we use jakarta-commons/net
to run a telnet session programmatically.
d.

> -----Original Message-----
> From: yadan [mailto:yxm@css.com.cn]
> Sent: 04 November 2002 08:45
> To: James Developers List
> Subject: Re: Re: Do you plan to write a java programe to manage 
> users conveniently?
> 
> 
> Hi,Uwe Rosebrock
>     Thank for your answer.
>     But perhaps you misunderstood me. I've already  used the 
> command "telnet * 4555" ,and with it I can really add or delete a user.
>     But my questin is not that.
> 
>     I mean when I write a Java programe to access James, I want 
> to do the same work in my code(users manage).What can I do? which 
> interface can I use in my class? waiting ..........:)
>  
>   
> 
>                yadan
>                yxm@css.com.cn
> 					2002-11-04 
> ======= 2002-11-04 19:25:00 You wrote:=======
> >yadan,
> >
> >It does provide a utility to do that (simple but it is there).
> >
> >If the the previous comments from Kenny and myself didn't give you 
> >enough hints you should start to read the docs again.
> >you can access the utility provided by:
> >open a command window in windows or go to the command line under *nix
> >type 'telnet <your mashine eg. localhost>:4555'
> >you should be asked for your user id
> >and then for your password
> >type 'help' to get a list of commands
> >
> >(under windows telnet you might not be successful, get yourself 'putty' 
> >and choose raw as protocol that will work)
> >Uwe
> >
> >On Monday, November 4, 2002, at 05:37 PM, yadan wrote:
> >
> >> Hi,Kenny Smith
> >>
> >> $B!!!!(BThanks a lot .....
> >>     But I use FileRepository, How should I do it?
> >>     Why doesn't James provide a useful interface (java class or a 
> >> simple command)to manage users? I'm confused...
> >>
> >>                yadan
> >>                yxm@css.com.cn
> >> 					2002-11-04
> >> ======= 2002-11-03 22:11:00 You wrote:=======
> >>> Hi Yadan,
> >>>
> >>> My suggestion it to use the JDBCUserRepository and then write your own
> >>> classes to manipulate the database. There is a DigestUtil class that 
> >>> will
> >>> assist in generating the passwords for the users.
> >>>
> >>> Kenny
> >>>
> >>>> $B!!!!(B I only want to manipulate James users (add and delete a
> >>>> user) in my client java programes. What should I do? Which
> >>>> class should I use and which function invoke?
> >>>>
> >>>>                yadan
> >>>>                yxm@css.com.cn
> >>>
> >>>
> >>> --
> >>> To unsubscribe, e-mail:   <mailto:james-dev-
> >>> unsubscribe@jakarta.apache.org>
> >>> For additional commands, e-mail: <mailto:james-dev-
> >>> help@jakarta.apache.org>
> >> =======================			
> >> Good luck:)				
> >>
> >>
> >>
> >>
> >> --
> >> To unsubscribe, e-mail:   <mailto:james-dev-
> >> unsubscribe@jakarta.apache.org>
> >> For additional commands, e-mail: <mailto:james-dev-
> >> help@jakarta.apache.org>
> >>
> =======================			
> Good luck:)				 
>               
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message