CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
ws_sso_content_reader.HTTPSClientAuthHandler Class Reference
Inheritance diagram for ws_sso_content_reader.HTTPSClientAuthHandler:

Public Member Functions

def __init__
 
def getConnection
 
def https_open
 

Public Attributes

 cert
 
 key
 

Detailed Description

Definition at line 14 of file ws_sso_content_reader.py.

Constructor & Destructor Documentation

def ws_sso_content_reader.HTTPSClientAuthHandler.__init__ (   self,
  key,
  cert 
)

Member Function Documentation

def ws_sso_content_reader.HTTPSClientAuthHandler.getConnection (   self,
  host,
  timeout = 300 
)

Definition at line 23 of file ws_sso_content_reader.py.

References ws_sso_content_reader.HTTPSClientAuthHandler.cert, ws_sso_content_reader.HTTPSClientAuthHandler.key, condex::ConfI.key, condex::ConfF.key, edm::helpers::KeyVal< K, V >.key, sistrip::DetSetVectorFiller< T, dsvIsSparse >::ChannelRegistryItem.key, edm::helpers::Key< K >.key, PixelKeys.key, generateEDF.LumiInfo.key, StripCompactDigiSimLinks::TrackRecord.key, edm::MapOfVectors< K, T >::Iter.key, cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >::KeyItem.key, SimpleSAXParser::Attribute.key, StripKeys.key, and cond::AuthorizationData.key.

Referenced by ws_sso_content_reader.HTTPSClientAuthHandler.https_open().

23 
24  def getConnection(self, host, timeout=300):
25  return httplib.HTTPSConnection(host, key_file=self.key, cert_file=self.cert)
def ws_sso_content_reader.HTTPSClientAuthHandler.https_open (   self,
  req 
)

Definition at line 20 of file ws_sso_content_reader.py.

References ws_sso_content_reader.HTTPSClientAuthHandler.getConnection(), HCALConfigDB.getConnection(), and SiStripDetCabling.getConnection().

20 
21  def https_open(self, req):
22  return self.do_open(self.getConnection, req)

Member Data Documentation

ws_sso_content_reader.HTTPSClientAuthHandler.cert

Definition at line 18 of file ws_sso_content_reader.py.

Referenced by ws_sso_content_reader.HTTPSClientAuthHandler.getConnection().

ws_sso_content_reader.HTTPSClientAuthHandler.key

Definition at line 17 of file ws_sso_content_reader.py.

Referenced by ws_sso_content_reader.HTTPSClientAuthHandler.getConnection().