Ignore:
Timestamp:
26/01/07 16:45:46 (13 years ago)
Author:
pjkersha
Message:

python/ndg.security.server/ndg/security/server/AttAuthority/init.py:
Include additional checks for loadCredUserRolesInterface.

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

  • updated soap_connect to wire up to SessionMgr?.connect
  • use of SSL is configurable from useSSL properties file element
  • likewise pick up port number from properties file

python/ndg.security.server/ndg/security/server/SessionMgr/init.py:

  • move lambda functions outside SessionMgr? class - easier to reference.
  • added extra elements to properties file - port num, use SSL flag, SSL cert/private key settings. Simple CA client settings
  • Include additional checks for loadCredReposInterface.
  • update connect method to return proxy cert, proxy private key, user cert and cookie as separate tuple elements.

python/www/html/sessionMgr.wsdl,
python/ndg.security.server/ndg/security/server/SessionMgr/SessionMgr_services_server.py,
python/ndg.security.common/ndg/security/common/SessionMgr/SessionMgr_services.py,
python/ndg.security.common/ndg/security/common/SessionMgr/SessionMgr_services_types.py:

  • connect response has separate elements for proxy cert, proxy private key and user cert.
  • disconnect proxyCert -> userCert. proxy is set in signature in SOAP header.

python/ndg.security.server/ndg/security/server/MyProxy.py: fixes to readProperties method.

python/conf/sessionMgrProperties.xml,
python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrProperties.xml:
added additional elements for SSL connection.

python/ndg.security.test/ndg/security/test/SessionMgr/SessionMgrClientTest.py:
updates to connect method.

python/ndg.security.test/ndg/security/test/SessionMgr/server.sh: update to header

python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:
modified PKI config settings.

python/ndg.security.common/ndg/security/common/wsSecurity.py: catch exceptions explicitly
for cert and private key file reading errors.

python/ndg.security.common/ndg/security/common/SessionMgr/init.py: SM client ...

  • 'smCertFilePath' refs changed to 'srvCertFilePath'
  • fixes to connect method
  • renamed 'reqAuthorisation' -> 'getAttCert'

python/ndg.security.common/ndg/security/common/CredWallet.py: added NullCredRepos? class.
Its allows for the case where a deployment doesn't require a Credential Repository. It
implements a class with empty stubs.

File:
1 edited

Legend:

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

    r2058 r2063  
    1717          <xsd:sequence> 
    1818            <xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
    19             <xsd:element name="passPhrase" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     19            <xsd:element name="passphrase" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
    2020          </xsd:sequence> 
    2121        </xsd:complexType> 
     
    3030          <xsd:sequence> 
    3131            <xsd:element name="username" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
    32             <xsd:element name="passPhrase" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     32            <xsd:element name="passphrase" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
    3333                    <xsd:element name="createServerSess" type="xsd:boolean" minOccurs="1" maxOccurs="1"/> 
    3434                    <xsd:element name="getCookie" type="xsd:boolean" minOccurs="1" maxOccurs="1"/> 
     
    4040        <xsd:complexType> 
    4141                  <xsd:sequence> 
     42                    <xsd:element name="proxyCert" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     43                    <xsd:element name="proxyPriKey" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     44                    <xsd:element name="userCert" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
    4245                    <xsd:element name="cookie" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    43                     <xsd:element name="proxyCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    4446                  </xsd:sequence> 
    4547                </xsd:complexType> 
     
    4951        <xsd:complexType> 
    5052                  <xsd:sequence> 
    51                     <xsd:element name="proxyCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
     53                    <xsd:element name="userCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    5254                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    5355                    <xsd:element name="encrSessionMgrURI" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
     
    7173        <xsd:complexType> 
    7274                  <xsd:sequence> 
    73                     <xsd:element name="proxyCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
     75                    <xsd:element name="userCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    7476                    <xsd:element name="sessID" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    7577                    <xsd:element name="encrSessionMgrURI" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
Note: See TracChangeset for help on using the changeset viewer.