From cf260d480d1d23c05567a8f9e7bce1d0beac5a32 Mon Sep 17 00:00:00 2001 From: nash Date: Fri, 24 Sep 2010 10:06:26 +0000 Subject: Improvements to the README instructions git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1000787 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca-java-1.6.1/samples/store-secure/README | 34 +++++++++++++++------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-secure/README b/sca-java-1.x/branches/sca-java-1.6.1/samples/store-secure/README index 46e71bf51e..c4eaa64d21 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/samples/store-secure/README +++ b/sca-java-1.x/branches/sca-java-1.6.1/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