Changeset 6784


Ignore:
Timestamp:
30/03/10 09:41:38 (10 years ago)
Author:
pjkersha
Message:

1.5.3 release with fix for OpenID Provider: cache OpenIDResponse object in session instead of self to avoid redirect error with conflicting sessions.

Location:
TI12-security/branches/ndg-security-1.5.x
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/branches/ndg-security-1.5.x/ndg_security/setup.py

    r6645 r6784  
    4242setup( 
    4343    name =                      'ndg_security', 
    44     version =                   '1.5.2', 
     44    version =                   '1.5.3', 
    4545    description =               'NERC DataGrid Security Utilities', 
    4646    long_description =          _longDescription, 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_client/setup.py

    r6645 r6784  
    4444setup( 
    4545    name =                      'ndg_security_client', 
    46     version =                   '1.5.2', 
     46    version =                   '1.5.3', 
    4747    description =               'NERC DataGrid Security Client side interface', 
    4848    long_description =          _longDescription, 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_common/setup.py

    r6645 r6784  
    6969setup( 
    7070    name =                      'ndg_security_common', 
    71     version =                   '1.5.2', 
     71    version =                   '1.5.3', 
    7272    description =           'NERC DataGrid Security package containing common ' 
    7373                            'utilities used by both server and client ' 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_server/ndg/security/server/wsgi/openid/provider/__init__.py

    r6674 r6784  
    180180    APPROVED_FLAG_SESSION_KEYNAME = 'approved' 
    181181    LAST_CHECKID_REQUEST_SESSION_KEYNAME = 'lastCheckIDRequest' 
     182    OID_RESPONSE_SESSION_KEYNAME = 'oidResponse' 
     183     
    182184    PARAM_PREFIX = 'openid.provider.' 
    183185     
     
    217219        self.__trustedRelyingParties = () 
    218220        self.__axResponse = None 
    219          
    220         # See _createResponse method 
    221         self.__oidResponse = None 
    222221 
    223222        opt = OpenIDProviderMiddleware.defOpt.copy() 
     
    14501449 
    14511450    def getOidResponse(self): 
    1452         return self.__oidResponse 
     1451        '''Cached OpenID Response object''' 
     1452        cls = OpenIDProviderMiddleware 
     1453        return self.session.get(cls.OID_RESPONSE_SESSION_KEYNAME) 
    14531454 
    14541455    def getSregResponse(self): 
     
    14721473                            '"oidResponse" attribute; got %r' % 
    14731474                            type(value)) 
    1474         self.__oidResponse = value 
     1475             
     1476        cls = OpenIDProviderMiddleware 
     1477        self.session[cls.OID_RESPONSE_SESSION_KEYNAME] = value 
     1478        self.session.save() 
    14751479 
    14761480    def setSregResponse(self, value): 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_server/setup.py

    r6645 r6784  
    6464setup( 
    6565    name =                      'ndg_security_server', 
    66     version =                   '1.5.2', 
     66    version =                   '1.5.3', 
    6767    description =               'Server side components for running NERC DataGrid ' 
    6868                            'Security Services', 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml

    r6682 r6784  
    1 <attributeCertificate targetNamespace="urn:ndg:security:attributeCertificate"> 
     1<?xml version="1.0" encoding="utf-8"?> 
     2<attributeCertificate xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#" targetNamespace="urn:ndg:security:attributeCertificate"> 
    23    <acInfo> 
    34        <version>1.0</version> 
    4         <holder>/O=NDG Security Test/OU=WS-Security Unittest/CN=server</holder> 
    5         <issuer>/O=NDG Security Test/OU=Site A/CN=AttributeAuthority</issuer> 
     5        <holder>/CN=server/O=NDG Security Test/OU=WS-Security Unittest</holder> 
     6        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    67        <issuerName>Site A</issuerName> 
    78        <issuerSerialNumber>253</issuerSerialNumber>  
    89        <userId>testuser</userId> 
    910        <validity> 
    10             <notBefore>2010 03 05 13 07 13</notBefore>  
    11             <notAfter>2010 03 05 21 07 13</notAfter>  
     11            <notBefore>2010 03 30 08 36 03</notBefore>  
     12            <notAfter>2010 03 30 16 36 03</notAfter>  
    1213        </validity> 
    1314        <attributes> 
     
    3233        <provenance>original</provenance>  
    3334    </acInfo> 
    34 </attributeCertificate> 
     35<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>75qG44y+YUFrocicz47g+c9nlRE=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>pPa+SCzN/tPgP2dLMqM5DpILjrQjN/9GaEb4tOaShhJblZe1GGfU3Jf9iKS/k669+gulLE/sSW3a 
     36437RcP+bNm11+XybZTOrps5EerP0BgoA9PLBfsIgxSZZ/zGnG++xima67XJEG+O/Cz3Sf59185f2 
     37EANu+k8vL3sQ0k5EVm8=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     38MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
     39NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     40DzANBgNVBAsTBlNpdGUgQTEbMBkGA1UEAxMSQXR0cmlidXRlQXV0aG9yaXR5MIGf 
     41MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCntf+hUxFKXx/KY3LXy/RYc/yqhfIL 
     42M8h95c14n/WdSqh8rK3VxkUu5gujlEgCHafI2AjNZJZqJfKG7ZucYmRcnXbCX1qP 
     43IGKa+TllbIWdsa5y/IF/Do2AoPMJnTNJ2U1IBfPQXbO5Sd49OvfTi4Cldk89872R 
     44IuzPmLIDcFydgQIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJKoZIhvcN 
     45AQEEBQADgYEAWD04scBB91kWT8qXKZyN2EZ5nBFqs6REXtI+ddOaZt7VtiaHYMXA 
     46mcRW/kCw8YgS+Ull+mZpAwpWUU9kR/A5dbiIDDRbxlz4BJCeMgkO/OxU31zmvqqa 
     4723UyGXPhtaTuo8DG2uSr5XDk6GnJ5sb0WB3UgsRh7V4ryWkStImCSGY=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature></attributeCertificate> 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test/unit

    • Property svn:ignore set to
      nosetests-env.sh
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/setup.py

    r6645 r6784  
    2020setup( 
    2121    name =                      'ndg_security_test', 
    22     version =                   '1.5.2', 
     22    version =                   '1.5.3', 
    2323    description =               'NERC DataGrid Security Unit tests', 
    2424    long_description =          'Unit tests client - server side', 
Note: See TracChangeset for help on using the changeset viewer.