Ignore:
Timestamp:
28/11/06 15:47:24 (14 years ago)
Author:
pjkersha
Message:

Working version of Session Manager stubs with reqAuthorisation, connect and getX509Cert calls.

server/SessionMgr/server-config.tac: added stubs for reqAuthorisation - TODO: hook up *real* SessionMgr?
backend.
server/SessionMgr/SessionMgr_services_server.py, common/SessionMgr/SessionMgr_services.py,
common/SessionMgr/SessionMgr_services_types.py, www/html/sessionMgr.wsdl: changes to WSDL to support
reqAuthorisation operations including list elements (by setting maxOccurs="unbounded")

test/SessionMgrClientTest.py: Session Manager unit tests updated for the above.

test/SessionCookieTest.py: new unit test for SessionCookie? module.

common/SessionCookie.py: fixes including ability to pass a cookie string to initialise and create
a new object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/www/html/sessionMgr.wsdl

    r1773 r1777  
    5959      </xsd:element> 
    6060 
     61          <xsd:element name="attCert" type="xsd:string"/> 
     62          <xsd:element name="trustedHost" type="xsd:string"/> 
     63       
     64      <xsd:simpleType name="attCertList"> 
     65        <xsd:list itemType="tns:attCert"/> 
     66      </xsd:simpleType> 
     67 
     68      <xsd:simpleType name="trustedHostList"> 
     69                <xsd:list itemType="tns:trustedHost"/> 
     70      </xsd:simpleType> 
     71       
    6172      <xsd:element name="reqAuthorisation"> 
    6273        <xsd:complexType> 
     
    7081                    <xsd:element name="mapFromTrustedHosts" type="xsd:boolean" minOccurs="1" maxOccurs="1"/> 
    7182                    <xsd:element name="rtnExtAttCertList" type="xsd:boolean" minOccurs="1" maxOccurs="1"/> 
    72                     <xsd:simpleType name="extAttCertList"> 
    73                           <xsd:list itemType="xsd:string"/> 
    74                         </xsd:simpleType> 
    75                     <xsd:simpleType name="extTrustedHostList"> 
    76                           <xsd:list itemType="xsd:string"/> 
    77                         </xsd:simpleType> 
     83                        <xsd:element name="extAttCert" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
     84                        <xsd:element name="extTrustedHost" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
     85 
     86<!-- Leave out list handling for now - use maxOccurs="unbounded" instead 
     87                        <xsd:element name="extAttCertList" type="tns:attCertList" minOccurs="0" maxOccurs="1"/> 
     88                        <xsd:element name="extTrustedHostList" type="tns:trustedHostList" minOccurs="0" maxOccurs="1"/> 
     89--> 
    7890                  </xsd:sequence> 
    7991                </xsd:complexType> 
     
    8496              <xsd:sequence> 
    8597                <xsd:element name="attCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
     98                <xsd:element name="statusCode" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     99                        <xsd:element name="extAttCert" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> 
     100<!-- Leave out list handling for now - use maxOccurs="unbounded" instead 
     101                        <xsd:element name="extAttCertList" type="tns:attCertList" minOccurs="0" maxOccurs="1"/> 
     102--> 
    86103              </xsd:sequence> 
    87104            </xsd:complexType> 
     
    104121  
    105122  <message name="addUserInputMsg"> 
    106     <part name="parameters" element="tns:connect"/> 
     123    <part name="parameters" element="tns:addUser"/> 
    107124  </message> 
    108125 
    109126  <message name="addUserOutputMsg"> 
    110     <part name="parameters" element="tns:connectResponse"/> 
     127    <part name="parameters" element="tns:addUserResponse"/> 
    111128  </message> 
    112129  
Note: See TracChangeset for help on using the changeset viewer.