File: readme

package info (click to toggle)
axis 1.4-25
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 51,864 kB
  • sloc: java: 129,119; xml: 10,573; jsp: 983; sh: 84; cs: 36; makefile: 26
file content (52 lines) | stat: -rw-r--r-- 2,267 bytes parent folder | download | duplicates (10)
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
41
42
43
44
45
46
47
48
49
50
51
52
The security sample demonstrates how to use the Axis architecture to
add  digital signatures to your application.

To run the sample,

1. Set up your CLASSPATH.
2. Start an Axis server.
3. Install the server side handler.
4. Run the client application.


1. Set up your CLASSPATH.
   The CLASSPATH must contain:  an XML parser (ie., Xerces), JUnit
   (www.junit.org), xmlsec.jar (xml.apache.org/security/index.html),
   xalan.jar (comes with xmlsec.jar, or xml.apache.org/xalan-j), log4j.jar
   (comes with xmlsec.jar, or jakarta.apache.org/log4j), xml-apis.jar (comes
   with xmlsec.jar), jce-jdk13-113.jar (www.bouncycastle.org), all the jars
   in the lib directory, and the directory containing the samples 
   subdirectory.

1.5.  NOTE:  If the build you have wasn't built with security turned on, you
      will have to build this sample by hand.  From the samples/security
      directory, simply run:
          javac *.java

2. Start an Axis server.
   To run the sample, you will first need to run a server.  To run a very
   simple server you could run, in a separate window:
       java org.apache.axis.transport.http.SimpleAxisServer -p 8080

3. Install the server side handler.
   You need to install the server's digital signature handler.  To do this:
       java org.apache.axis.client.AdminClient securitydeploy.wsdd

4. Run the client application.
   Finally, to run the client, run:
       java samples.security.Client

This sample also allows you to setup an Axis server to allow transparent
digital signature of all SOAP messages being processed by the server.  To
enable this, in addition to step 3 above, do the following:

3.3. Install the client side handler.
     On the client side, ClientSigningHandler is installed in the global
     request chain.  You must run the following command two directories above
     the security sample directory:
         java org.apache.axis.utils.Admin client samples/security/clientsecuritydeploy.wsdd

3.5. Install the server side handler: On the server side, LogHandler is
     installed in the global request chain.  You must run the following
     command two directories above the security sample directory:
         java org.apache.axis.client.AdminClient samples/security/serversecuritydeploy.wsdd