Changeset 7865 for TI12-security


Ignore:
Timestamp:
02/02/11 14:40:21 (8 years ago)
Author:
pjkersha
Message:

0.5.4

Fix for ndg.saml.saml2.binding.soap.server.wsgi.queryinterface.SOAPQueryInterfaceMiddleware: bug in issuerFormat property setter - setting issuerName value

Location:
TI12-security/trunk/ndg_saml
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/ndg_saml/ndg/saml/saml2/binding/soap/server/wsgi/queryinterface.py

    r7862 r7865  
    189189            return None 
    190190        else: 
    191             return self.__issuerProxy.value 
     191            return self.__issuerProxy.format 
    192192 
    193193    def _setIssuerFormat(self, value): 
  • TI12-security/trunk/ndg_saml/ndg/saml/test/binding/soap/attribute-interface.ini

    r7154 r7865  
    2727saml.deserialise = ndg.saml.xml.etree:AttributeQueryElementTree.fromXML 
    2828saml.serialise = ndg.saml.xml.etree:ResponseElementTree.toXML 
     29saml.issuerName = /O=NDG/OU=BADC/CN=attributeauthority.badc.rl.ac.uk 
     30saml.issuerFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName 
    2931 
    3032#______________________________________________________________________________ 
  • TI12-security/trunk/ndg_saml/ndg/saml/test/binding/soap/test_attributeservice.py

    r7694 r7865  
    6666            """ 
    6767            response.issueInstant = datetime.utcnow() 
    68             response.id = str(uuid4()) 
    69             response.issuer = Issuer() 
    70              
    71             # SAML 2.0 spec says format must be omitted 
    72             #response.issuer.format = Issuer.X509_SUBJECT 
    73             response.issuer.value = \ 
    74                             "/O=NDG/OU=BADC/CN=attributeauthority.badc.rl.ac.uk" 
    75              
     68            response.id = str(uuid4())             
    7669            response.inResponseTo = query.id 
    7770 
  • TI12-security/trunk/ndg_saml/setup.py

    r7862 r7865  
    4040ElementTree but it can easily be extended to use other Python XML parsers. 
    4141 
     420.5.4 - fix for ndg.saml.saml2.binding.soap.server.wsgi.queryinterface.SOAPQueryInterfaceMiddleware: 
     43bug in issuerFormat property setter - setting issuerName value 
    42440.5.3 - fix for ndg.soap.utils.etree.prettyPrint for undeclared Nss. 
    43450.5.2 - fix for applying clock skew property in queryinterface WSGI middleware, 
     
    5759setup( 
    5860    name =                      'ndg_saml', 
    59     version =                   '0.5.3', 
     61    version =                   '0.5.4', 
    6062    description =               ('SAML 2.0 implementation for the NERC DataGrid ' 
    6163                             'based on the Java OpenSAML library'), 
Note: See TracChangeset for help on using the changeset viewer.