diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-1.x/branches/sca-java-1.6.1/samples/store-secure/README | 34 |
1 files 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 |