summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/samples/store-secure/README
blob: c4eaa64d21528f6d551900dec8e8f628cb1762e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Secure Store Sample
======================================

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

or

http://tuscany.apache.org/getting-started-with-tuscany-using-tuscany-eclipse-plugin.html


Running And Building The Sample Using Ant
-----------------------------------------
With the binary distribution the sample can be run using Ant as follows:

cd store-secure
ant run

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