You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by du...@apache.org on 2001/02/09 13:17:40 UTC
cvs commit: xml-axis/java/samples/stock testit.cmd testit.sh perms.lst users.lst
dug 01/02/09 04:17:39
Modified: java/samples/stock perms.lst users.lst
Added: java/samples/stock testit.cmd testit.sh
Log:
changed the auth files to have more generic users.
Added a couple of testit scripts to help verify that we don't
break anything.
Revision Changes Path
1.2 +3 -3 xml-axis/java/samples/stock/perms.lst
Index: perms.lst
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/perms.lst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perms.lst 2001/02/06 19:51:42 1.1
+++ perms.lst 2001/02/09 12:17:37 1.2
@@ -1,3 +1,3 @@
-dug urn:xmltoday-delayed-quotes
-keith urn:xmltoday-delayed-quotes
-rick urn:cominfo
+user1 urn:xmltoday-delayed-quotes
+user2 urn:xmltoday-delayed-quotes
+user3 urn:cominfo
1.2 +3 -3 xml-axis/java/samples/stock/users.lst
Index: users.lst
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/users.lst,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- users.lst 2001/02/06 19:51:42 1.1
+++ users.lst 2001/02/09 12:17:38 1.2
@@ -1,3 +1,3 @@
-dug foo
-keith bar
-rick
+user1 pass1
+user2
+user3 pass3
1.1 xml-axis/java/samples/stock/testit.cmd
Index: testit.cmd
===================================================================
rem this assumes webserver is running on port 8080
rem this assumes that the samples/xml/init.xml file has already been deployed
echo Deploy everything first
java org.apache.axis.client.AdminClient deploy.xml
echo These next 2 should work...
java samples.stock.GetQuote -uuser1 -wpass1 XXX
java samples.stock.GetQuote -uuser2 XXX
echo The rest of these should fail... (nicely of course)
java samples.stock.GetQuote XXX
java samples.stock.GetQuote -uuser1 -wpass2 XXX
java samples.stock.GetQuote -uuser3 -wpass3 XXX
echo This should work but print debug info on the client and server
java samples.stock.GetQuote -d -uuser1 -wpass1 XXX
echo Now undeploy everything
java org.apache.axis.client.AdminClient undeploy.xml
1.1 xml-axis/java/samples/stock/testit.sh
Index: testit.sh
===================================================================
#this assumes webserver is running on port 8080
#this assumes that the samples/xml/init.xml file has already been deployed
echo Deploy everything first
java org.apache.axis.client.AdminClient deploy.xml
echo These next 2 should work...
java samples.stock.GetQuote -uuser1 -wpass1 XXX
java samples.stock.GetQuote -uuser2 XXX
echo The rest of these should fail... (nicely of course)
java samples.stock.GetQuote XXX
java samples.stock.GetQuote -uuser1 -wpass2 XXX
java samples.stock.GetQuote -uuser3 -wpass3 XXX
echo This should work but print debug info on the client and server
java samples.stock.GetQuote -d -uuser1 -wpass1 XXX
rem Now undeploy everything
java org.apache.axis.client.AdminClient undeploy.xml