Ignore:
Timestamp:
16/02/10 16:11:08 (11 years ago)
Author:
pjkersha
Message:
  • Important fix for SOAP client used with SAML SOAP binding: set text/xml content type.
  • Refactored SAML SOAP binding query clients.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/config/attributeauthority/sitea/siteAUserRoles.py

    r6067 r6578  
    7979    ISSUER_NAME = "/O=Site A/CN=Attribute Authority" 
    8080     
    81     INSUFFICIENT_PRIVILEGES_REQUESTOR_ID = str( 
    82                     X500DN.fromString("/O=Site B/CN=Authorisation Service")) 
     81    INSUFFICIENT_PRIVILEGES_REQUESTOR_ID = X500DN.fromString( 
     82                                        "/O=Site B/CN=Authorisation Service") 
    8383     
    8484    def __init__(self, propertiesFilePath=None): 
     
    9494        requestedAttributeNames = [attribute.name  
    9595                                   for attribute in attributeQuery.attributes] 
     96        if attributeQuery.issuer.format != Issuer.X509_SUBJECT: 
     97            raise InvalidRequestorId('Requestor issuer format "%s" is invalid' % 
     98                                     attributeQuery.issuerFormat.value) 
     99             
    96100        requestorId = X500DN.fromString(attributeQuery.issuer.value) 
    97101         
Note: See TracChangeset for help on using the changeset viewer.