source: TI12-security/trunk/python/www/html/attAuthority.wsdl @ 1176

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

Changes to incoporate new getHostInfo Attribute Authority WS method.

Tests/AttAuthorityIOtest.py: new unit test test method

Tests/SecurityClientTest?.py: minor changes to test settings

dist/NDG-Security-0.68.tar.gz: new distribution

www/html/attAuthority.wsdl: updated WSDL contains getHostInfo method.

conf/mapConfig.xml: contains new tags for information about the service provider of the AA e.g. loginURI,
service provider name. This is used by the new getHostInfo WS method.

conf/attAuthorityProperties.xml: remove old commented out tags.

NDG/AttAuthorityIO.py: added HostInfo?* classes for handling getHostInfo WS method I/O.

NDG/attAuthority_services_server.py and NDG/attAuthority_services.py: updated inline with WSDL changes.

NDG/AttAuthority.py:

  • readMapConfig updated to include new 'thisHost' tags.
  • self.mapConfig dictionary re-ordered to include top level keys 'thisHost' and 'trustedHosts'
  • New hostInfo property

NDG/AttCert.py: trivial fixes to commenting

NDG/XMLMsg.py: simplify error message for "Invalid keywords set for update..." error

NDG/CredWallet.py:

  • Client public key is now read in at the point where the corresponding pub key file path is set - i.e. in

setClntPubKeyFilePath method. This means the equivalent code in reqAuthorisation is not needed.

  • reqAuthorisation method has a new flag refreshAttCert. If set, the wallet is checked first for an existing

AC issued by the target AA. If found this is returned, and the call to the AA is skipped.

NDG/SecurityClient.py: added AttAuthorityClient?.getHostInfo WS wrapper method.

  • 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
3
4<definitions name="attAuthority"
5  targetNamespace="http://wsdl2py.client.pycon.org/"
6  xmlns="http://schemas.xmlsoap.org/wsdl/"
7  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
8  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
9  xmlns:tns="http://wsdl2py.client.pycon.org/"
10  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
11  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
12
13  <message name="authorisationRequest">
14    <part name="authorisationReq" type="xsd:string"/>
15  </message>
16
17  <message name="authorisationResponse">
18    <part name="authorisationResp" type="xsd:string"/>
19  </message>
20
21  <message name="hostInfoRequest">
22    <part name="hostInfoReq" type="xsd:string"/>
23  </message>
24
25  <message name="hostInfoResponse">
26    <part name="hostInfoResp" type="xsd:string"/>
27  </message>
28
29  <message name="trustedHostInfoRequest">
30    <part name="trustedHostInfoReq" type="xsd:string"/>
31  </message>
32
33  <message name="trustedHostInfoResponse">
34    <part name="trustedHostInfoResp" type="xsd:string"/>
35  </message>
36
37  <message name="pubKeyRequest">
38    <part name="pubKeyReq" type="xsd:string"/>
39  </message>
40
41  <message name="pubKeyResponse">
42    <part name="pubKeyResp" type="xsd:string"/>
43  </message>
44
45 
46  <portType name="attAuthority">
47    <operation name="reqAuthorisation">
48      <input message="tns:authorisationRequest"/>
49      <output message="tns:authorisationResponse"/>
50    </operation>
51
52    <operation name="getHostInfo">
53      <input message="tns:hostInfoRequest"/>
54      <output message="tns:hostInfoResponse"/>
55    </operation>
56
57    <operation name="getTrustedHostInfo">
58      <input message="tns:trustedHostInfoRequest"/>
59      <output message="tns:trustedHostInfoResponse"/>
60    </operation>
61
62    <operation name="getPubKey">
63      <input message="tns:pubKeyRequest"/>
64      <output message="tns:pubKeyResponse"/>
65    </operation>
66  </portType>
67
68  <binding name="attAuthorityBinding" type="tns:attAuthority">
69    <soap:binding style="rpc"
70                      transport="http://schemas.xmlsoap.org/soap/http"/>
71    <operation name="reqAuthorisation">
72      <soap:operation soapAction="urn:attAuthority#reqAuthorisation"/>
73      <input>
74        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
75                    namespace="urn:attAuthority" use="encoded"/>
76      </input>
77      <output>
78        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
79                    namespace="urn:attAuthority" use="encoded"/>
80      </output>
81    </operation>
82
83    <operation name="getHostInfo">
84      <soap:operation soapAction="urn:attAuthority#getHostInfo"/>
85      <input>
86        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
87                    namespace="urn:attAuthority" use="encoded"/>
88      </input>
89      <output>
90        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
91                    namespace="urn:attAuthority" use="encoded"/>
92      </output>
93    </operation>
94
95    <operation name="getTrustedHostInfo">
96      <soap:operation soapAction="urn:attAuthority#getTrustedHostInfo"/>
97      <input>
98        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
99                    namespace="urn:attAuthority" use="encoded"/>
100      </input>
101      <output>
102        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
103                    namespace="urn:attAuthority" use="encoded"/>
104      </output>
105    </operation>
106
107    <operation name="getPubKey">
108      <soap:operation soapAction="urn:attAuthority#getPubKey"/>
109      <input>
110        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
111                    namespace="urn:attAuthority" use="encoded"/>
112      </input>
113      <output>
114        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
115                    namespace="urn:attAuthority" use="encoded"/>
116      </output>
117    </operation>   
118  </binding>
119
120  <service name="attAuthorityService">
121    <documentation>NDG Attribute Authority Web Service</documentation>
122    <port name="attAuthority" binding="tns:attAuthorityBinding">
123      <soap:address location=""/>
124    </port>
125  </service>
126</definitions>
Note: See TracBrowser for help on using the repository browser.