source: TI12-security/trunk/python/ndg.security.common/ndg/security/common/zsi/sessionmanager/sessionmanager.wsdl @ 4692

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.common/ndg/security/common/zsi/sessionmanager/sessionmanager.wsdl@4692
Revision 4692, 7.0 KB checked in by pjkersha, 11 years ago (diff)

Refactoring of SSO service to enable use of local AA and SM instances via keys to environ.

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<wsdl:definitions name="SessionManager"
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:SessionManager"
10 targetNamespace="urn:ndg:security:SessionManager">
11
12  <wsdl:types>
13    <xsd:schema targetNamespace="urn:ndg:security:SessionManager">
14      <xsd:element name="getSessionStatus">
15        <xsd:complexType>
16          <xsd:sequence>
17            <xsd:element name="userDN" type="xsd:string" minOccurs="0" maxOccurs="1"/>
18            <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
19          </xsd:sequence>
20        </xsd:complexType>
21      </xsd:element>
22     
23      <xsd:element name="getSessionStatusResponse">
24        <xsd:complexType>
25          <xsd:sequence>
26                    <xsd:element name="isAlive" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
27                  </xsd:sequence>
28        </xsd:complexType>
29      </xsd:element>
30
31      <xsd:element name="connect">
32        <xsd:complexType>
33          <xsd:sequence>
34            <xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1"/>
35            <xsd:element name="passphrase" type="xsd:string" minOccurs="1" maxOccurs="1"/>
36                    <xsd:element name="createServerSess" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
37          </xsd:sequence>
38        </xsd:complexType>
39      </xsd:element>
40     
41      <xsd:element name="connectResponse">
42        <xsd:complexType>
43                  <xsd:sequence>
44                    <xsd:element name="userX509Cert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
45                    <xsd:element name="userPriKey" type="xsd:string" minOccurs="0" maxOccurs="1"/>
46                    <xsd:element name="issuingCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
47                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
48                  </xsd:sequence>
49                </xsd:complexType>
50      </xsd:element>
51
52      <xsd:element name="disconnect">
53        <xsd:complexType>
54                  <xsd:sequence>
55                    <xsd:element name="userX509Cert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
56                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
57                  </xsd:sequence>
58                </xsd:complexType>
59      </xsd:element>
60
61      <xsd:element name="disconnectResponse">
62        <xsd:complexType/>
63      </xsd:element>
64           
65      <xsd:element name="getAttCert">
66        <xsd:complexType>
67                  <xsd:sequence>
68                    <xsd:element name="userX509Cert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
69                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/>
70                    <xsd:element name="attributeAuthorityURI" type="xsd:string" minOccurs="0" maxOccurs="1"/>
71                    <xsd:element name="reqRole" type="xsd:string" minOccurs="0" maxOccurs="1"/>
72                    <xsd:element name="mapFromTrustedHosts" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
73                    <xsd:element name="rtnExtAttCertList" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
74                        <xsd:element name="extAttCert" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
75                        <xsd:element name="extTrustedHost" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
76                  </xsd:sequence>
77                </xsd:complexType>
78      </xsd:element>
79     
80      <xsd:element name="getAttCertResponse">
81        <xsd:complexType>
82              <xsd:sequence>
83                <xsd:element name="attCert" type="xsd:string" minOccurs="0" maxOccurs="1"/>
84                <xsd:element name="msg" type="xsd:string" minOccurs="0" maxOccurs="1"/>
85                        <xsd:element name="extAttCertOut" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
86              </xsd:sequence>
87            </xsd:complexType>
88      </xsd:element>
89
90    </xsd:schema>
91  </wsdl:types>
92 
93  <wsdl:message name="getSessionStatusInputMsg">
94    <wsdl:part name="parameters" element="tns:getSessionStatus"/>
95  </wsdl:message>
96
97  <wsdl:message name="getSessionStatusOutputMsg">
98    <wsdl:part name="parameters" element="tns:getSessionStatusResponse"/>
99  </wsdl:message>
100 
101  <wsdl:message name="connectInputMsg">
102    <wsdl:part name="parameters" element="tns:connect"/>
103  </wsdl:message>
104
105  <wsdl:message name="connectOutputMsg">
106    <wsdl:part name="parameters" element="tns:connectResponse"/>
107  </wsdl:message>
108 
109  <wsdl:message name="disconnectInputMsg">
110    <wsdl:part name="parameters" element="tns:disconnect"/>
111  </wsdl:message>
112
113  <wsdl:message name="disconnectOutputMsg">
114    <wsdl:part name="parameters" element="tns:disconnectResponse"/>
115  </wsdl:message>
116
117  <wsdl:message name="getAttCertInputMsg">
118    <wsdl:part name="parameters" element="tns:getAttCert"/>
119  </wsdl:message>
120
121  <wsdl:message name="getAttCertOutputMsg">
122    <wsdl:part name="parameters" element="tns:getAttCertResponse"/>
123  </wsdl:message>
124
125  <wsdl:portType name="SessionManager">
126    <wsdl:operation name="getSessionStatus">
127      <wsdl:input message="tns:getSessionStatusInputMsg"/>
128      <wsdl:output message="tns:getSessionStatusOutputMsg"/>
129    </wsdl:operation>
130
131    <wsdl:operation name="connect">
132      <wsdl:input message="tns:connectInputMsg"/>
133      <wsdl:output message="tns:connectOutputMsg"/>
134    </wsdl:operation>
135
136    <wsdl:operation name="disconnect">
137      <wsdl:input message="tns:disconnectInputMsg"/>
138      <wsdl:output message="tns:disconnectOutputMsg"/>
139    </wsdl:operation>
140
141    <wsdl:operation name="getAttCert">
142      <wsdl:input message="tns:getAttCertInputMsg"/>
143      <wsdl:output message="tns:getAttCertOutputMsg"/>
144    </wsdl:operation>
145  </wsdl:portType> 
146 
147  <wsdl:binding name="SessionManagerBinding" type="tns:SessionManager">
148    <soap:binding
149     style="document"
150     transport="http://schemas.xmlsoap.org/soap/http"/>
151
152    <wsdl:operation name="getSessionStatus">
153      <soap:operation soapAction="getSessionStatus"/>
154      <wsdl:input>
155        <soap:body use="literal"/>
156      </wsdl:input>
157      <wsdl:output>
158        <soap:body use="literal"/>
159      </wsdl:output>
160    </wsdl:operation>
161   
162    <wsdl:operation name="connect">
163      <soap:operation soapAction="connect"/>
164      <wsdl:input>
165        <soap:body use="literal"/>
166      </wsdl:input>
167      <wsdl:output>
168        <soap:body use="literal"/>
169      </wsdl:output>
170    </wsdl:operation>
171   
172    <wsdl:operation name="disconnect">
173      <soap:operation soapAction="disconnect"/>
174      <wsdl:input>
175        <soap:body use="literal"/>
176      </wsdl:input>
177      <wsdl:output>
178        <soap:body use="literal"/>
179      </wsdl:output>
180    </wsdl:operation>
181   
182    <wsdl:operation name="getAttCert">
183      <soap:operation soapAction="getAttCert"/>
184      <wsdl:input>
185        <soap:body use="literal"/>
186      </wsdl:input>
187      <wsdl:output>
188        <soap:body use="literal"/>
189      </wsdl:output>
190    </wsdl:operation>
191 
192  </wsdl:binding>
193
194  <wsdl:service name="SessionManagerService">
195    <wsdl:documentation>NERC Data Grid Session Manager web service</wsdl:documentation>
196    <wsdl:port name="SessionManager" binding="tns:SessionManagerBinding">
197      <soap:address location="http://localhost:5000"/>
198    </wsdl:port>
199  </wsdl:service>
200</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.