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

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

AttAuthorityClientTest?.py: test harness for Attribute Authority WS client

SessionClientTest?.py: modifed to use pyunit

sessionMgr.wsdl, attAuthority.wsdl, sessionMgr_services.py, attAuthority_services.py,
attAuthority_services_server.py, sessionMgr_services_server.py:
added getPubKey WS method to allow client to retrieve the public key of the respective service.

mapConfig.xml: removed pubKey tag - use getPubKey WS instead.

sessionMgrProperties.xml: likewise removed sessMgrPubKeyURI tag.

ndgSessionClient.py: --session-mgr-pubkey-uri option -> --session-mgr-pubkey-file. again
because there is now a getPubKey() WS method.

AttAuthorityIO.py/SessionMgrIO.py: added PubKeyReq/PubKeyResp? classes for getPubKey() WS
method.

SessionClient?.py:

  • smPubKeyURI -> smPubKeyFilePath
  • deleted convSMpubKeyURI2File() and replaced with getSessionMgrPubKey()
  • added sessID and encrSessMgrWSDLuri keywords reqAuthorisation() so that it can be used

from SessionMgr?.redirectAuthorisationReq.

  • added getPubKey() wrapper to WS method.

Session.py:

2nd SessionMgr?.

CredWallet?.py: working for mapped certificate handling

  • aaPubKeyFilePath - keep as local var - it imay change between WS calls.
  • Integrated getPubKey WS call into _reqAuthorisation() and getTrustedHostInfo().
  • 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="trustedHostInfoRequest">
22    <part name="trustedHostInfoReq" type="xsd:string"/>
23  </message>
24
25  <message name="trustedHostInfoResponse">
26    <part name="trustedHostInfoResp" type="xsd:string"/>
27  </message>
28
29  <message name="pubKeyRequest">
30    <part name="pubKeyReq" type="xsd:string"/>
31  </message>
32
33  <message name="pubKeyResponse">
34    <part name="pubKeyResp" type="xsd:string"/>
35  </message>
36
37 
38  <portType name="attAuthority">
39    <operation name="reqAuthorisation">
40      <input message="tns:authorisationRequest"/>
41      <output message="tns:authorisationResponse"/>
42    </operation>
43
44    <operation name="getTrustedHostInfo">
45      <input message="tns:trustedHostInfoRequest"/>
46      <output message="tns:trustedHostInfoResponse"/>
47    </operation>
48
49    <operation name="getPubKey">
50      <input message="tns:pubKeyRequest"/>
51      <output message="tns:pubKeyResponse"/>
52    </operation>
53  </portType>
54
55  <binding name="attAuthorityBinding" type="tns:attAuthority">
56    <soap:binding style="rpc"
57                      transport="http://schemas.xmlsoap.org/soap/http"/>
58    <operation name="reqAuthorisation">
59      <soap:operation soapAction="urn:attAuthority#reqAuthorisation"/>
60      <input>
61        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
62                    namespace="urn:attAuthority" use="encoded"/>
63      </input>
64      <output>
65        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
66                    namespace="urn:attAuthority" use="encoded"/>
67      </output>
68    </operation>
69
70    <operation name="getTrustedHostInfo">
71      <soap:operation soapAction="urn:attAuthority#getTrustedHostInfo"/>
72      <input>
73        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
74                    namespace="urn:attAuthority" use="encoded"/>
75      </input>
76      <output>
77        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
78                    namespace="urn:attAuthority" use="encoded"/>
79      </output>
80    </operation>
81
82    <operation name="getPubKey">
83      <soap:operation soapAction="urn:attAuthority#getPubKey"/>
84      <input>
85        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
86                    namespace="urn:attAuthority" use="encoded"/>
87      </input>
88      <output>
89        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
90                    namespace="urn:attAuthority" use="encoded"/>
91      </output>
92    </operation>   
93  </binding>
94
95  <service name="attAuthorityService">
96    <documentation>NDG Attribute Authority Web Service</documentation>
97    <port name="attAuthority" binding="tns:attAuthorityBinding">
98      <soap:address location=""/>
99    </port>
100  </service>
101</definitions>
Note: See TracBrowser for help on using the repository browser.