Ignore:
Timestamp:
25/03/08 16:50:35 (11 years ago)
Author:
pjkersha
Message:

Added Timestamp capability to wsSecurity module. Currently testing against Apache2 Rampart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/controllers/login.py

    r3658 r3676  
    217217            log.debug('Login redirect to [%s]' % returnToURL) 
    218218 
    219             returnToURLHostname = urlsplit(returnToURL)[1] 
    220 #            returnToURLHostname = 'localhost' 
     219            hostnameWithPortNum = urlsplit(returnToURL)[1] 
     220             
     221            # Require hostname with port number striped to test SSL connection 
     222            # (will default to 443) 
     223            returnToURLHostname = hostnameWithPortNum.split(':')[0] 
     224             
    221225#            if thisHostname not in returnToURLHostname: 
    222             if True: 
     226            if True: # Ensure return args in URL regardless 
    223227                # Returning to a different domain - copy the security session 
    224228                # details into the URL query string 
     
    233237            # Inclusive namespace prefixes for WS-Security digital signature 
    234238            # (Exclusive C14N only) 
    235             refC14nKw={'unsuppressedPrefixes':g.securityCfg.wssRefInclNS} 
     239            refC14nKw = {'unsuppressedPrefixes':g.securityCfg.wssRefInclNS} 
    236240            signedInfoC14nKw = {'unsuppressedPrefixes': 
    237241                                g.securityCfg.wssSignedInfoInclNS} 
Note: See TracChangeset for help on using the changeset viewer.