From bec0b5228fbca6fd85da585aef62116417325430 Mon Sep 17 00:00:00 2001 From: nash Date: Mon, 25 Oct 2010 12:39:48 +0000 Subject: Merge r1000787 Improvements to the README instructions git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027096 13f79535-47bb-0310-9956-ffa450edef68 --- sca-java-1.x/trunk/samples/store-secure/README | 34 +++++++++++++++++--------- 1 file changed, 23 insertions(+), 11 deletions(-) (limited to 'sca-java-1.x/trunk/samples') diff --git a/sca-java-1.x/trunk/samples/store-secure/README b/sca-java-1.x/trunk/samples/store-secure/README index 46e71bf51e..c4eaa64d21 100644 --- a/sca-java-1.x/trunk/samples/store-secure/README +++ b/sca-java-1.x/trunk/samples/store-secure/README @@ -1,8 +1,8 @@ -Store Sample +Secure Store Sample ====================================== -This is a sample store scenario that is used as a getting started guide -for Tuscany SCA. For detailed information, please see: +This sample demonstrates how HTTP basic authentication can be added to the sample store scenario that is used +as a getting started guide for Tuscany SCA. For detailed information on this scenario, please see: http://tuscany.apache.org/getting-started-with-tuscany.html @@ -11,18 +11,30 @@ or http://tuscany.apache.org/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html -Building And Running The Sample Using Ant +Running And Building The Sample Using Ant ----------------------------------------- -With the binary distribution the sample can be built using Ant as follows: - -cd store -ant compile - -and then, to run: +With the binary distribution the sample can be run using Ant as follows: +cd store-secure ant run -Once the store application is running use your browser to visit the following +Once the application is running use your browser to visit the following URL: http://localhost:8080/store/ + +You will be prompted for a username and password. It doesn't matter what values you enter. + +If you want to build it before running it, you can do: + +cd store-secure +ant compile +ant run + +Building The Sample Using Maven +------------------------------- +With the source and binary distributions the sample can be built using Maven +as follows: + +cd store-secure +mvn -- cgit v1.2.3