Changeset 4112 for TI12-security


Ignore:
Timestamp:
07/08/08 16:37:54 (11 years ago)
Author:
cbyrom
Message:

Create new package with Java client for SessionMgr? service and associated
tests + add required config files + add utility class, InstallCert? - to
allow the import of server certs required for the ssl comms + update
related docs.

Location:
TI12-security/trunk/java
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/java/.classpath

    r4109 r4112  
    44        <classpathentry kind="src" path="axis2/xmlbWsseEchoClient/resources"/> 
    55        <classpathentry kind="src" path="axis2/src"/> 
    6         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/activation-1.1.jar"/> 
    7         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/annogen-0.1.0.jar"/> 
    8         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axiom-api-1.2.7.jar"/> 
    9         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axiom-dom-1.2.7.jar"/> 
    10         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axiom-impl-1.2.7.jar"/> 
    11         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-adb-1.4.jar"/> 
    12         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-adb-codegen-1.4.jar"/> 
    13         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-ant-plugin-1.4.jar"/> 
    14         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-clustering-1.4.jar"/> 
    15         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-codegen-1.4.jar"/> 
    16         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-corba-1.4.jar"/> 
    17         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-fastinfoset-1.4.jar"/> 
    18         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-java2wsdl-1.4.jar"/> 
    19         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jaxbri-1.4.jar"/> 
    20         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jaxws-1.4.jar"/> 
    21         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jaxws-api-1.4.jar"/> 
    22         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jibx-1.4.jar"/> 
    23         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-json-1.4.jar"/> 
    24         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jws-api-1.4.jar"/> 
    25         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-kernel-1.4.jar"/> 
    26         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-metadata-1.4.jar"/> 
    27         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-mtompolicy-1.4.jar"/> 
    28         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-saaj-1.4.jar"/> 
    29         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-saaj-api-1.4.jar"/> 
    30         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-spring-1.4.jar"/> 
    31         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/axis2-xmlbeans-1.4.jar"/> 
    32         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/backport-util-concurrent-3.1.jar"/> 
    33         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/bcprov-jdk15-132.jar"/> 
    34         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/commons-codec-1.3.jar"/> 
    35         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/commons-fileupload-1.2.jar"/> 
    36         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/commons-httpclient-3.1.jar"/> 
    37         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/commons-io-1.4.jar"/> 
    38         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/commons-logging-1.1.1.jar"/> 
    39         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/geronimo-annotation_1.0_spec-1.1.jar"/> 
    40         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/geronimo-j2ee_1.4_spec-1.0.jar"/> 
    41         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/geronimo-stax-api_1.0_spec-1.0.1.jar"/> 
    42         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/httpcore-4.0-beta1.jar"/> 
    43         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/httpcore-nio-4.0-beta1.jar"/> 
    44         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jalopy-1.5rc3.jar"/> 
    45         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jaxb-api-2.1.jar"/> 
    46         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jaxb-impl-2.1.6.jar"/> 
    47         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jaxb-xjc-2.1.6.jar"/> 
    48         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jaxen-1.1.1.jar"/> 
    49         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jettison-1.0-RC2.jar"/> 
    50         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jibx-bind-1.1.5.jar"/> 
    51         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/jibx-run-1.1.5.jar"/> 
    52         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/log4j-1.2.15.jar"/> 
    53         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/mail-1.4.jar"/> 
    54         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/mex-1.4.jar"/> 
    55         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/neethi-2.0.4.jar"/> 
    56         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/opensaml-1.1.jar"/> 
    57         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/rampart-core-1.3.jar"/> 
    58         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/rampart-policy-1.3.jar"/> 
    59         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/rampart-trust-1.3.jar"/> 
    60         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/soapmonitor-1.4.jar"/> 
    61         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/woden-api-1.0M8.jar"/> 
    62         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/woden-impl-dom-1.0M8.jar"/> 
    63         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/wsdl4j-1.6.2.jar"/> 
    64         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/wss4j-1.5.3.jar"/> 
    65         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/wstx-asl-3.2.4.jar"/> 
    66         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/xalan-2.7.0.jar"/> 
    67         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/xercesImpl-2.8.1.jar"/> 
    68         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/xml-apis-1.3.04.jar"/> 
    69         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/xmlbeans-2.3.0.jar"/> 
    70         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/xml-resolver-1.2.jar"/> 
    71         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/XmlSchema-1.4.2.jar"/> 
    72         <classpathentry kind="lib" path="/misc/humid1/cbyrom/opt/axis2-1.4/lib/xmlsec-1.4.0.jar"/> 
    73         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 
    746        <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/> 
    757        <classpathentry kind="lib" path="axis2/xmlbWsseEchoClient/build/lib/XBeans-packaged.jar"/> 
     8        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/activation-1.1.jar"/> 
     9        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/annogen-0.1.0.jar"/> 
     10        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axiom-api-1.2.7.jar"/> 
     11        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axiom-dom-1.2.7.jar"/> 
     12        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axiom-impl-1.2.7.jar"/> 
     13        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-adb-1.4.jar"/> 
     14        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-adb-codegen-1.4.jar"/> 
     15        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-ant-plugin-1.4.jar"/> 
     16        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-clustering-1.4.jar"/> 
     17        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-codegen-1.4.jar"/> 
     18        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-corba-1.4.jar"/> 
     19        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-fastinfoset-1.4.jar"/> 
     20        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-java2wsdl-1.4.jar"/> 
     21        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jaxbri-1.4.jar"/> 
     22        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jaxws-1.4.jar"/> 
     23        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jaxws-api-1.4.jar"/> 
     24        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jibx-1.4.jar"/> 
     25        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-json-1.4.jar"/> 
     26        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-jws-api-1.4.jar"/> 
     27        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-kernel-1.4.jar"/> 
     28        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-metadata-1.4.jar"/> 
     29        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-mtompolicy-1.4.jar"/> 
     30        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-saaj-1.4.jar"/> 
     31        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-saaj-api-1.4.jar"/> 
     32        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-spring-1.4.jar"/> 
     33        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/axis2-xmlbeans-1.4.jar"/> 
     34        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/backport-util-concurrent-3.1.jar"/> 
     35        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/bcprov-jdk15-132.jar"/> 
     36        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/commons-codec-1.3.jar"/> 
     37        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/commons-fileupload-1.2.jar"/> 
     38        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/commons-httpclient-3.1.jar"/> 
     39        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/commons-io-1.4.jar"/> 
     40        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/commons-logging-1.1.1.jar"/> 
     41        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/geronimo-annotation_1.0_spec-1.1.jar"/> 
     42        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/geronimo-j2ee_1.4_spec-1.0.jar"/> 
     43        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/geronimo-stax-api_1.0_spec-1.0.1.jar"/> 
     44        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/httpcore-4.0-beta1.jar"/> 
     45        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/httpcore-nio-4.0-beta1.jar"/> 
     46        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jalopy-1.5rc3.jar"/> 
     47        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jaxb-api-2.1.jar"/> 
     48        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jaxb-impl-2.1.6.jar"/> 
     49        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jaxb-xjc-2.1.6.jar"/> 
     50        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jaxen-1.1.1.jar"/> 
     51        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jettison-1.0-RC2.jar"/> 
     52        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jibx-bind-1.1.5.jar"/> 
     53        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/jibx-run-1.1.5.jar"/> 
     54        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/log4j-1.2.15.jar"/> 
     55        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/mail-1.4.jar"/> 
     56        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/mex-1.4.jar"/> 
     57        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/neethi-2.0.4.jar"/> 
     58        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/opensaml-1.1.jar"/> 
     59        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/rampart-core-1.3.jar"/> 
     60        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/rampart-policy-1.3.jar"/> 
     61        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/rampart-trust-1.3.jar"/> 
     62        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/soapmonitor-1.4.jar"/> 
     63        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/woden-api-1.0M8.jar"/> 
     64        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/woden-impl-dom-1.0M8.jar"/> 
     65        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/wsdl4j-1.6.2.jar"/> 
     66        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/wss4j-1.5.3.jar"/> 
     67        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/wstx-asl-3.2.4.jar"/> 
     68        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/xalan-2.7.0.jar"/> 
     69        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/xercesImpl-2.8.1.jar"/> 
     70        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/xml-apis-1.3.04.jar"/> 
     71        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/xmlbeans-2.3.0.jar"/> 
     72        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/xml-resolver-1.2.jar"/> 
     73        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/XmlSchema-1.4.2.jar"/> 
     74        <classpathentry kind="lib" path="/disks/humid1/cbyrom/opt/axis2-1.4/lib/xmlsec-1.4.0.jar"/> 
     75        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 
    7676        <classpathentry kind="output" path="bin"/> 
    7777</classpath> 
  • TI12-security/trunk/java/axis2/src/ndg/security/attAuthority/AttAuthorityClientADBTest.java

    r4109 r4112  
    136136                try  
    137137                { 
    138                         // NB, this shouldn't make any difference to the result 
     138                        // NB, this shouldn't make any difference to the result - since the  
     139                        // role mapper is stubbed out 
    139140                        GetAttCertResponse res = client.callGetAttCertService(null, null, "blah"); 
    140141                         
  • TI12-security/trunk/java/axis2/xmlbWsseEchoClient/src/wssecurity/test/security/ndg/README.txt

    r4108 r4112  
    3333 12. Download geronimo-j2ee_1.4_spec-1.0.jar and add this to the classpath (otherwise you end up with 
    3434 a org.apache.axis2.deployment.DeploymentException: javax/jms/JMSException error when running the client) 
    35  13. Copy the $AXIS2_HOME\repository\modules directory to the top level of the project 
     35 13. Copy the $AXIS2_HOME\repository\modules directory to the top level of the project - otherwise you'll get errors involving rampart not being engaged (NB, you can probably 
     36 avoid this step by setting up the build path to include the original axis2 install home?) 
    3637 14. Copy the $AXIS2_HOME\conf directory to the top level of the project 
    3738 15. Copy the client.properties file from this project into the top level project directory 
     
    6970openssl x509 -outform DER -in cacert.pem -out cacert.cert 
    7071 
    71                 vi) Lastly, import both the CA certificate and the new key (NB, the CA cert needs to be imported first) 
     72                vi) Lastly, import both the CA certificate and the new key (NB, the CA cert needs to be imported first -  
     73                therwise you'll get a 'keytool error: java.lang.Exception: Failed to establish chain from reply') 
    7274                                 
    7375$JAVA_HOME\bin\keytool -import -file cacert.cert -keystore client.jks -storepass apache -alias ca 
Note: See TracChangeset for help on using the changeset viewer.