source: TI12-security/trunk/python/www/html/certificateAuthority.wsdl @ 2136

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/www/html/certificateAuthority.wsdl@2136
Revision 2136, 4.3 KB checked in by pjkersha, 13 years ago (diff)

python/ndg.security.server/setup.py:

  • comment out Twisted from install - won't do egg install
  • updated long description

python/ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:

  • added verifyingCertFilePath keyword to SignatureHandler? initialisation
  • added SSL capability

python/conf/attAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml,
python/ndg.security.server/ndg/security/server/AttAuthority/init.py:
added element names for reading SSL settings from properties file.

python/ndg.security.server/ndg/security/server/SessionMgr/server-config.tac:
added verifyingCertFilePath keyword to SignatureHandler? initialisation

python/conf/sessionMgrProperties.xml,
python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrProperties.xml,
python/ndg.security.server/ndg/security/server/SessionMgr/init.py:
added clntCertFile properties file element name for setting certificate for
verifying incoming SOAP messages.

python/ndg.security.server/ndg/security/server/SessionMgr/Makefile:
corrected typo.

python/ndg.security.server/ndg/security/server/MyProxy.py:
Put OpenSSLConfig and OpenSSLConfigError classes into their own package
'openssl' so that they can also be used by the Certificate Authority client.

python/www/html/certificateAuthority.wsdl,
python/ndg.security.server/ndg/security/server/ca/CertificateAuthority_services_server.py,
python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services_types.py,
python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services.py: updated operations to issueCert, revokeCert and getCRL.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg: changed address of service to connect to.

python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:
alternative username connection settings

python/ndg.security.common/ndg/security/common/AttAuthority/init.py:
fixed typos in error message and comments.

ython/ndg.security.common/ndg/security/common/XMLSec.py: changed call to
getAttributeNodeNS to getAttributeNode for retrieving reference element URI
attribute.

python/ndg.security.common/ndg/security/common/ca/init.py: code for
Certificate Authority client

python/ndg.security.common/ndg/security/common/wsSecurity.py:

  • tidied up imports
  • added properties for setting keywords to reference and SignedInfo? C14N
  • changed sign method so that it is truely configurable allow use of inclusive or exclusive C14N based on the keywords set for reference and SignedInfo? C14N calls.
  • swapped calls to getAttributeNodeNS with getAttributeNode where appropriate.

java/DEWS/AttAuthority/appClientModule/META-INF/ibm-webservicesclient-bnd.xmi,
java/DEWS/AttAuthority/build/classes/META-INF/ibm-webservicesclient-bnd.xmi:
updated to that request generator correctly places X.509 cert in
BinarySecurityToken? element.

java/DEWS/AttAuthority/appClientModule/Main.java,
java/DEWS/AttAuthority/appClientjava/DEWS/AttAuthority/appClientModule/META-INF/ibm-webservicesclient-bnd.xmiModule/Main.java:
include calls to getX509Cert and getAttCert methods.

java/DEWS/SessionMgr/build/classes/META-INF/ibm-webservicesclient-bnd.xmi,
java/DEWS/SessionMgr/appClientModule/META-INF/ibm-webservicesclient-bnd.xmi:
updates for testing Session MAnager client

java/DEWS/SessionMgr/appClientModule/Main.java: switched username setting.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="CertificateAuthority"
3 xmlns="http://schemas.xmlsoap.org/wsdl/"
4 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
5 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
7 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
8 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9 xmlns:tns="urn:ndg:security:ca"
10 targetNamespace="urn:ndg:security:ca">
11
12  <wsdl:types>
13    <xsd:schema targetNamespace="urn:ndg:security:ca">
14   
15      <xsd:element name="issueCert">
16        <xsd:complexType>
17          <xsd:sequence>
18            <xsd:element name="x509CertReq" type="xsd:string" minOccurs="1" maxOccurs="1"/>
19          </xsd:sequence>
20        </xsd:complexType>
21      </xsd:element>
22     
23      <xsd:element name="issueCertResponse">
24        <xsd:complexType>
25                  <xsd:sequence>
26                <xsd:element name="x509Cert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
27                  </xsd:sequence>
28                </xsd:complexType>
29      </xsd:element>
30   
31      <xsd:element name="revokeCert">
32        <xsd:complexType>
33          <xsd:sequence>
34            <xsd:element name="x509Cert" type="xsd:string" minOccurs="1" maxOccurs="1"/>
35          </xsd:sequence>
36        </xsd:complexType>
37      </xsd:element>
38     
39      <xsd:element name="revokeCertResponse">
40        <xsd:complexType/>
41      </xsd:element>
42   
43      <xsd:element name="getCRL">
44        <xsd:complexType/>
45      </xsd:element>
46     
47      <xsd:element name="getCRLResponse">
48        <xsd:complexType>
49          <xsd:sequence>
50            <xsd:element name="crl" type="xsd:string" minOccurs="1" maxOccurs="1"/>
51          </xsd:sequence>
52        </xsd:complexType>
53      </xsd:element>
54     
55    </xsd:schema>
56  </wsdl:types>
57
58  <wsdl:message name="issueCertInputMsg">
59    <wsdl:part name="parameters" element="tns:issueCert"/>
60  </wsdl:message>
61
62  <wsdl:message name="issueCertOutputMsg">
63    <wsdl:part name="parameters" element="tns:issueCertResponse"/>
64  </wsdl:message>
65
66  <wsdl:message name="revokeCertInputMsg">
67    <wsdl:part name="parameters" element="tns:revokeCert"/>
68  </wsdl:message>
69
70  <wsdl:message name="revokeCertOutputMsg">
71    <wsdl:part name="parameters" element="tns:revokeCertResponse"/>
72  </wsdl:message>
73
74  <wsdl:message name="getCRLInputMsg">
75    <wsdl:part name="parameters" element="tns:getCRL"/>
76  </wsdl:message>
77
78  <wsdl:message name="getCRLOutputMsg">
79    <wsdl:part name="parameters" element="tns:getCRLResponse"/>
80  </wsdl:message>
81
82  <wsdl:portType name="CertificateAuthority">
83    <wsdl:operation name="issueCert">
84      <wsdl:input message="tns:issueCertInputMsg"/>
85      <wsdl:output message="tns:issueCertOutputMsg"/>     
86    </wsdl:operation>
87   
88    <wsdl:operation name="revokeCert">
89      <wsdl:input message="tns:revokeCertInputMsg"/>
90      <wsdl:output message="tns:revokeCertOutputMsg"/>
91    </wsdl:operation>
92   
93    <wsdl:operation name="getCRL">
94      <wsdl:input message="tns:getCRLInputMsg"/>
95      <wsdl:output message="tns:getCRLOutputMsg"/>
96    </wsdl:operation>
97  </wsdl:portType>
98
99  <wsdl:binding name="CertificateAuthorityBinding" type="tns:CertificateAuthority">
100    <soap:binding
101     style="document"
102     transport="http://schemas.xmlsoap.org/soap/http"/>
103    <wsdl:operation name="issueCert">
104      <soap:operation soapAction="issueCert"/>
105      <wsdl:input>
106        <soap:body use="literal"/>
107      </wsdl:input>
108      <wsdl:output>
109        <soap:body use="literal"/>
110      </wsdl:output>
111    </wsdl:operation>
112   
113    <wsdl:operation name="revokeCert">
114      <soap:operation soapAction="revokeCert"/>
115      <wsdl:input>
116        <soap:body use="literal"/>
117      </wsdl:input>
118      <wsdl:output>
119        <soap:body use="literal"/>
120      </wsdl:output>
121    </wsdl:operation>
122   
123    <wsdl:operation name="getCRL">
124      <soap:operation soapAction="getCRL"/>
125      <wsdl:input>
126        <soap:body use="literal"/>
127      </wsdl:input>
128      <wsdl:output>
129        <soap:body use="literal"/>
130      </wsdl:output>
131    </wsdl:operation>
132  </wsdl:binding>
133
134  <wsdl:service name="CertificateAuthorityService">
135    <wsdl:documentation>NDG Certificate Authority web service</wsdl:documentation>
136    <wsdl:port name="CertificateAuthority" binding="tns:CertificateAuthorityBinding">
137      <soap:address location="http://localhost:5001"/>
138    </wsdl:port>
139  </wsdl:service>
140</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.