Ignore:
Timestamp:
02/06/09 15:42:32 (11 years ago)
Author:
pjkersha
Message:

Implemented a caching scheme for Attribute Certificates in the security filter deployed on the application middleware stack:

  • Credentials are already cached in the Session Manager but this resides on a separate WSGI stack so that in order to make a retrieval, a SOAP call is required
  • Caching is implemented on the Security filter by extending the Policy Information Point class (PIP) to make it a WSGI app - PIPMiddleware. This gives it visibility to the current beaker session. When PIPMiddleware makes a request to retrieve an Attribute Certificate it can query the certificate cache held in a CredentialWallet? tied to the beaker session.
  • The CredentialWallet? is pickleable so that beaker session can pickle its content and retrieve when the middleware comes back from being offline.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/urllib2secure_request/test_urllib2request.py

    r5350 r5355  
    3030            log.debug("Response:\n\n %s" % e.read()) 
    3131            #abort(401)  
    32             pass 
    3332 
    3433        elif e.code == 403: 
     
    4140            start_response("%d %s" % (e.code, e.msg), e.headers.dict.items()) 
    4241            return response 
    43                             
    4442        else: 
    4543            # Other error handling  - just calling raise here would probably  
Note: See TracChangeset for help on using the changeset viewer.