Author: kaushalye
Date: Thu Apr 26 22:31:06 2007
New Revision: 532966

URL: http://svn.apache.org/viewvc?view=rev&rev=532966
Log:
Updating INSTALL file and the build script

Modified:
    webservices/rampart/trunk/c/INSTALL
    webservices/rampart/trunk/c/rampart-bindist.sh

Modified: webservices/rampart/trunk/c/INSTALL
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/INSTALL?view=diff&rev=532966&r1=532965&r2=532966
==============================================================================
--- webservices/rampart/trunk/c/INSTALL (original)
+++ webservices/rampart/trunk/c/INSTALL Thu Apr 26 22:31:06 2007
@@ -1,5 +1,5 @@
 Table of contents
-------------------
+============================================
     |_ Getting Rampart/C source working on Linux
     |_ Getting Rampart/C binary distribution working on Linux
     |_ Engage Rampart/C with axis2/C
@@ -17,8 +17,8 @@
 Getting Rampart/C binary distribution working on Linux
 ============================================
 1. Copy modules/rampart to $AXIS2C_HOME/modules
-2. Copy samples/sec_echo to $AXIS2C_HOME/services/
-3. Engage rampart as described above (section: Engage Rampart/C with axis2/C) 
+2. Copy samples/server/sec_echo to $AXIS2C_HOME/services/
+3. Engage rampart as described in step 3 of section "Engage Rampart/C with 
axis2/C"
 4. Go to samples/secpolicy/ and try a scenario
     %s test_scen.sh scenarioX server-port
 
@@ -26,15 +26,18 @@
 Engage Rampart/C with axis2/C
 ============================================
 Prerequisites:
------------------------------------
 You must have openssl installed in you system.
 
 Configuring:
------------------------------------
-1. Run build.sh in rampart/trunk/c directory
-2. This will install the rampart module under AXIS2C_HOME/deploy/modules
-3. To engage rampart add to axis2.xml
+You can angage Rampart/C in global level or in service level.
+Just add following entry either to axis2.xml(gloabl level) or in 
services.xml(service level).
     <module ref="rampart"/>
+
+Apart from that you must define security policies for outgoing messages and 
incoming messages.
+This can be done adding parameters as follows
+    <parameter 
name="OutflowSecurityPolicy">/your/path/to/outgoing-secpolicy.xml</parameter>
+    <parameter 
name="InflowSecurityPolicy">/your/path/to/incoming-secpolicy.xml</parameter>
+
 
 NOTE: See the README file in samples/client/sec_echo for more information on 
configuration setup.
 

Modified: webservices/rampart/trunk/c/rampart-bindist.sh
URL: 
http://svn.apache.org/viewvc/webservices/rampart/trunk/c/rampart-bindist.sh?view=diff&rev=532966&r1=532965&r2=532966
==============================================================================
--- webservices/rampart/trunk/c/rampart-bindist.sh (original)
+++ webservices/rampart/trunk/c/rampart-bindist.sh Thu Apr 26 22:31:06 2007
@@ -1,28 +1,37 @@
 #!/bin/bash
+echo "If you do not need to build Rampart/C %sh rampart-bindist nobuild"
 BIN_DIR=rampartc-bin-0.90-linux
 TAR_GZ=$BIN_DIR.tar.gz
 MD5=$TAR_GZ.md5
 PWDIR=$PWD
 
-echo "Build Rampart"
-./build.sh 
-
-echo "Build samples"
-cd samples
-./build.sh
+if [ $# -ne 1 ]
+then
+    echo "Build Rampart"
+    ./build.sh 
+
+    echo "Build samples"
+    cd samples
+    ./build.sh
 cd ..
 
+fi
+
 echo "Deleting $BIN_DIR, $TAR_GZ, $MD5 if any"
 rm -rf $BIN_DIR
 rm $TAR_GZ
 rm $MD5
 
+ls 
+sleep 1
+
 echo "Creating directories in $PWDIR"
 mkdir $BIN_DIR
 mkdir $BIN_DIR/modules
 mkdir $BIN_DIR/modules/rampart
 mkdir $BIN_DIR/samples
 mkdir $BIN_DIR/samples/secpolicy
+mkdir $BIN_DIR/samples/server
 
 echo "Copy related files to $BIN_DIR"
 #Copy other related files
@@ -42,7 +51,8 @@
 echo "Copy samples"
 #copy samples
 cp -r samples/secpolicy/* $BIN_DIR/samples/secpolicy/
-cp $AXIS2C_HOME/bin/samples/rampart/* $BIN_DIR/samples/
+cp -r $AXIS2C_HOME/bin/samples/rampart/* $BIN_DIR/samples/
+cp -r $AXIS2C_HOME/services/sec_echo $BIN_DIR/samples/server/
 
 echo "Removing garbage"
 cd $BIN_DIR
@@ -63,7 +73,7 @@
 echo "Create MD5"
 openssl md5 < $TAR_GZ > $MD5
 
-#echo "To sign please enter password for the private key"
-#gpg --armor --output $TAR_GZ.asc --detach-sig $TAR_GZ
+echo "To sign please enter password for the private key"
+gpg --armor --output $TAR_GZ.asc --detach-sig $TAR_GZ
 
 echo "DONE" 


Reply via email to