Just in case someone asks the same question and searches the archive...
I never did this before, but I am calling the main function of
PropertyFileAuthentication in my java program with the documented parameters
in the JRun guide.
public static void main(String[] args) {
Debug.println("adding user");
String[] args2 = new String[4];
args2[0] = "-add";
args2[1] = "C:\\Applications\\JRun\\lib\\users.properties";
args2[2] = "test";
args2[3] = "test";
PropertyFileAuthentication.main(args2);
}
Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA 15212
(412) 553-4900 (phone) (412) 553-2484 (fax)
-----Original Message-----
From: Rhodes, Phillip C. [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 13, 2000 3:54 PM
To: JRun-Talk
Subject: help!-PropertyFileAuthentication
I want to programmatically use PropertyFileAuthentication, but there is no
api published for it yet, or any examples.
Thanks.
Phillip Rhodes
[EMAIL PROTECTED]
Alcoa eCommerce
https://www.ALCOADIRECT.COM
826B Two Allegheny Center Pittsburgh, PA 15212
(412) 553-4900 (phone) (412) 553-2484 (fax)
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.