Dear Mark,
I just wrote a little SimpleTelnetClient class that added thousands of users into the
DB via a telnet session.
Sujit
-----Original Message-----
From: Mark Swanson [mailto:[EMAIL PROTECTED]
Sent: Sat 11/29/2003 6:57 PM
To: 'James Users List'
Cc:
Subject: Q: Programatically adding users
Hello,
I've searched the website docs and the past few months of archives and can't
seem to find an answer: I need to programatically add thousands of users to
James, and I need to add users programatically (not telnet) at runtime.
For the filesystem repository, can I just make the user's directory?
For the sql repository, can I just add the users to the appropriate tables?
perhaps by somehow calculating the values for this?:
<sql name="insert">INSERT INTO ${table}
(username, pwdHash, pwdAlgorithm, useForwarding,
forwardDestination, useAlias, alias)
VALUES (?,?,?,?,?,?,?)
</sql>
Or should I write some Java expect-like code to fake a telnet client?
What would people recommend?
Thanks.
--
Schedule your world with ScheduleWorld.com
http://www.ScheduleWorld.com/
Java Web Start (JNLP):
http://www.ScheduleWorld.com/sw/ScheduleWorld.jnlp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]