Ignore:
Timestamp:
11/12/08 16:25:07 (12 years ago)
Author:
pjkersha
Message:

#1004: initial work on Security Filter:

  • started new SSLClientAuthNMiddleware WSGI to filter configured URL paths applying SSL client authentication. Gets SSL client certificate from Apache SSL_CLIENT_CERT environment variable and so to work it requires deployment in mod_wsgi with SSL in order to pick up environ.
  • AppLoaderMiddleware?: convenience utility enables mod_wsgi application to parse a Paste Deploy style ini file containing an app and app pipeline as required.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/X509.py

    r4404 r4603  
    329329        return bool(self.__m2CryptoX509.verify(pubKey, **kw)) 
    330330 
     331    @classmethod 
     332    def Read(cls, filePath): 
     333        """Create a new X509 certificate read in from a file""" 
     334     
     335        x509Cert = cls(filePath=filePath) 
     336        x509Cert.read() 
     337         
     338        return x509Cert 
     339     
     340    @classmethod 
     341    def Parse(cls, x509CertTxt): 
     342        """Create a new X509 certificate from string of file content""" 
     343     
     344        x509Cert = cls() 
     345        x509Cert.parse(x509CertTxt) 
     346         
     347        return x509Cert 
     348         
    331349#_____________________________________________________________________________ 
    332350# Alternative AttCert constructors 
Note: See TracChangeset for help on using the changeset viewer.