Ignore:
Timestamp:
17/01/07 16:37:37 (13 years ago)
Author:
pjkersha
Message:

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

  • changed default port to 5000
  • added signature handler

python/www/html/attAuthority.wsdl,
python/ndg.security.server/ndg/security/server/AttAuthority/AttAuthority_services_server.py
python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services.py,
python/ndg.security.common/ndg/security/common/AttAuthority/AttAuthority_services_types.py:

fixes to getAttCert and getX509Cert operations in WSDL. Re-generated associated code.

python/ndg.security.server/ndg/security/server/AttAuthority/init.py:
AA Server code -

  • user roles module load now in separate method loadUserRolesInterface
  • added setPropFilePath method - this allows default paths for properties file of

$NDGSEC_AA_PROPFILEPATH or $NDG_DIR/conf/attAuthorityProperties.xml

  • fixes to Epydoc strings

python/ndg.security.server/ndg/security/server/AttAuthority/README,
python/ndg.security.server/ndg/security/server/SessionMgr/README: more info about
code generation and mods for use with Twisted.

python/ndg.security.server/ndg/security/server/MyProxy.py:

  • fix to _HostCheck.call - make sure True is returned on success
  • Added cnHostPfx keyword to _HostCheck.init so that 'host/' prefix to host cert Common Name is optional. - Sys Admin may want to set up cert without the 'host/' prefix that Globus adds by default.

python/ndg.security.test/ndg/security/test/MyProxy/myProxyProperties.xml and
python/conf/myProxyProperties.xml: added 'serverCNprefix' element - this is passed through
to cnHostPfx keyword explained above.

python/conf/sessionMgrProperties.xml: updated MyProxy? properties.

python/conf/attAuthorityProperties.xml: added some sensible defualts to make initial
configuration easier.

python/ndg.security.test/ndg/security/test/AttAuthority/TestUserRoles.py,
python/ndg.security.test/ndg/security/test/AttAuthority/mapConfig.xml: put a custom copies
of here specifically for AA client unit test. Fixed AttAuthority? import in
TestUserRoles? module.

python/ndg.security.test/ndg/security/test/AttAuthority/AttAuthorityClientTest.py:

  • updated to get settings from config file as with the other unit tests.
  • getAttCert working on client side signing outgoing message with proxy private key.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg:
config file for AA unit test.

python/ndg.security.test/ndg/security/test/MyProxy/myProxyClientTest.cfg: altered
slightly to test on alternative server.

python/ndg.security.test/ndg/security/test/MyProxy/MyProxyClientTest.py: temp addition
of debug statement - now gone.

python/ndg.security.test/ndg/security/test/SessionMgr/SessionMgrClientTest.py: include
SafeConfigParser? in import.

python/ndg.security.common/ndg/security/common/AttAuthority/init.py: AA client code -

  • explict AttCert? class import
  • fixes to Epydoc statements
  • fixed signature handler certFilePath import

python/ndg.security.common/ndg/security/common/wsSecurity.py: include handling for
extracting X.509 cert from binary security token element in WSSE header. ! Make sure
base 64 encoded token is converted from unicode to standard string before parsing as an
M2Crypto.X509.X509 type.

File:
1 edited

Legend:

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

    r1773 r2017  
    1616        <xsd:complexType> 
    1717          <xsd:sequence> 
    18             <xsd:element name="userCert" type="xsd:string" minOccurs="1" maxOccurs="1"/> 
     18            <xsd:element name="userCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    1919            <xsd:element name="userAttCert" type="xsd:string" minOccurs="0" maxOccurs="1"/> 
    2020          </xsd:sequence> 
     
    2323      <xsd:element name="getAttCertResponse"> 
    2424        <xsd:complexType> 
    25           <xsd:sequence> 
    26             <xsd:element name="attCert" type="xsd:string"/> 
    27           </xsd:sequence> 
    28         </xsd:complexType> 
     25              <xsd:sequence> 
     26                <xsd:element name="attCert" type="xsd:string"/> 
     27              </xsd:sequence> 
     28            </xsd:complexType> 
    2929      </xsd:element> 
    3030 
     
    9494  </message> 
    9595 
    96   <message name="getPubKeyInputMsg"> 
    97     <part name="parameters" element="tns:getPubKey"/> 
     96  <message name="getX509CertInputMsg"> 
     97    <part name="parameters" element="tns:getX509Cert"/> 
    9898  </message> 
    9999 
    100   <message name="getPubKeyOutputMsg"> 
    101     <part name="parameters" element="tns:getPubKeyResponse"/> 
     100  <message name="getX509CertOutputMsg"> 
     101    <part name="parameters" element="tns:getX509CertResponse"/> 
    102102  </message> 
    103103 
     
    159159    </operation> 
    160160 
    161     <operation name="getPubKey"> 
    162       <soap:operation soapAction="getPubKey"/> 
     161    <operation name="getX509Cert"> 
     162      <soap:operation soapAction="getX509Cert"/> 
    163163      <wsdl:input> 
    164164        <soap:body use="literal"/> 
Note: See TracChangeset for help on using the changeset viewer.