Ignore:
Timestamp:
05/03/10 13:15:14 (10 years ago)
Author:
pjkersha
Message:

Tag as 1.5.2 release.

Location:
TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml

    r6672 r6682  
    88        <userId>testuser</userId> 
    99        <validity> 
    10             <notBefore>2010 03 04 10 13 26</notBefore>  
    11             <notAfter>2010 03 04 18 13 26</notAfter>  
     10            <notBefore>2010 03 05 13 07 13</notBefore>  
     11            <notAfter>2010 03 05 21 07 13</notAfter>  
    1212        </validity> 
    1313        <attributes> 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test/config/attributeauthority/siteb/attributeCertificateLog

    • Property svn:ignore
      •  

        old new  
        11ac.xml 
        22ac.xml.1 
         3ac.xml.10 
         4ac.xml.11 
         5ac.xml.12 
         6ac.xml.13 
         7ac.xml.14 
         8ac.xml.15 
         9ac.xml.16 
         10ac.xml.2 
         11ac.xml.3 
         12ac.xml.4 
         13ac.xml.5 
         14ac.xml.6 
         15ac.xml.7 
         16ac.xml.8 
         17ac.xml.9 
  • TI12-security/branches/ndg-security-1.5.x/ndg_security_test/ndg/security/test/unit/saml/test_samlinterface.py

    r6674 r6682  
    408408 
    409409    def test04AssertionConditionExpired(self): 
    410         utcNow = datetime.utcnow() + timedelta(seconds=60*60*9) 
    411         respDict = { 
    412             'issueInstant': SAMLDateTime.toString(utcNow), 
    413             'assertionIssueInstant': SAMLDateTime.toString(utcNow), 
    414             'notBefore': SAMLDateTime.toString(utcNow), 
    415             'notOnOrAfter': SAMLDateTime.toString(utcNow + timedelta( 
     410        # issued 9 hours ago 
     411        issueInstant = datetime.utcnow() - timedelta(seconds=60*60*9) 
     412        respDict = { 
     413            'issueInstant': SAMLDateTime.toString(issueInstant), 
     414            'assertionIssueInstant': SAMLDateTime.toString(issueInstant), 
     415            'notBefore': SAMLDateTime.toString(issueInstant), 
     416            # It lasts for 8 hours so it's expired by one hour 
     417            'notOnOrAfter': SAMLDateTime.toString(issueInstant + timedelta( 
    416418                                                            seconds=60*60*8)) 
    417419        } 
     
    509511 
    510512    def test08ClockSkewCorrectedAssertionConditionExpired(self): 
    511         utcNow = datetime.utcnow() + timedelta(seconds=60*60*9) 
    512         respDict = { 
    513             'issueInstant': SAMLDateTime.toString(utcNow), 
    514             'assertionIssueInstant': SAMLDateTime.toString(utcNow), 
    515             'notBefore': SAMLDateTime.toString(utcNow), 
    516             'notOnOrAfter': SAMLDateTime.toString(utcNow + timedelta( 
     513        # Issued 9 hours ago 
     514        issueInstant = datetime.utcnow() - timedelta(seconds=60*60*9) 
     515        respDict = { 
     516            'issueInstant': SAMLDateTime.toString(issueInstant), 
     517            'assertionIssueInstant': SAMLDateTime.toString(issueInstant), 
     518            'notBefore': SAMLDateTime.toString(issueInstant), 
     519            # Assertion lasts 8 hours so it has expired by one hour 
     520            'notOnOrAfter': SAMLDateTime.toString(issueInstant + timedelta( 
    517521                                                            seconds=60*60*8)) 
    518522        } 
     
    522526        binding = AttributeQuerySOAPBinding() 
    523527         
    524         # Set a skew to correct the error 
    525         binding.clockSkew = 60*60*9 
     528        # Set a skew of over one hour to correct for the assertion expiry 
     529        binding.clockSkew = 60*60 + 3 
    526530         
    527531        try: 
Note: See TracChangeset for help on using the changeset viewer.