source: TI12-security/trunk/documentation/epydoc/ndg.security.client.LogClient-pysrc.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.client.LogClient-pysrc.html@4245
Revision 4245, 119.4 KB checked in by pjkersha, 11 years ago (diff)

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
Line 
1<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3          "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6  <title>ndg.security.client.LogClient</title>
7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
8  <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12      alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15       bgcolor="#a0c0ff" cellspacing="0">
16  <tr valign="middle">
17  <!-- Home link -->
18      <th>&nbsp;&nbsp;&nbsp;<a
19        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21  <!-- Tree link -->
22      <th>&nbsp;&nbsp;&nbsp;<a
23        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25  <!-- Index link -->
26      <th>&nbsp;&nbsp;&nbsp;<a
27        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29  <!-- Help link -->
30      <th>&nbsp;&nbsp;&nbsp;<a
31        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33  <!-- Project homepage -->
34      <th class="navbar" align="right" width="100%">
35        <table border="0" cellpadding="0" cellspacing="0">
36          <tr><th class="navbar" align="center"
37            >NDG Security</th>
38          </tr></table></th>
39  </tr>
40</table>
41<table width="100%" cellpadding="0" cellspacing="0">
42  <tr valign="top">
43    <td width="100%">
44      <span class="breadcrumbs">
45        <a href="ndg-module.html">Package&nbsp;ndg</a> ::
46        <a href="ndg.security-module.html">Package&nbsp;security</a> ::
47        <a href="ndg.security.client-module.html">Package&nbsp;client</a> ::
48        Module&nbsp;LogClient
49      </span>
50    </td>
51    <td>
52      <table cellpadding="0" cellspacing="0">
53        <!-- hide/show private -->
54        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
56      </table>
57    </td>
58  </tr>
59</table>
60<h1 class="epydoc">Source Code for <a href="ndg.security.client.LogClient-module.html">Module ndg.security.client.LogClient</a></h1>
61<pre class="py-src">
62<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/env python</tt> </tt>
63<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
64<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-docstring">"""NDG Logging client - client interface class to NDG Logging WS</tt> </tt>
65<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
66<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-docstring">NERC Data Grid Project</tt> </tt>
67<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
68<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-docstring">This software may be distributed under the terms of the Q Public License,</tt> </tt>
69<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-docstring">version 1.0 or later.</tt> </tt>
70<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
71<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">"P J Kershaw"</tt> </tt>
72<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-name">__date__</tt> <tt class="py-op">=</tt> <tt class="py-string">"12/05/06"</tt> </tt>
73<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-name">__copyright__</tt> <tt class="py-op">=</tt> <tt class="py-string">"(C) 2007 STFC &amp; NERC"</tt> </tt>
74<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-name">__license__</tt> <tt class="py-op">=</tt> \ </tt>
75<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-string">"""This software may be distributed under the terms of the Q Public </tt> </tt>
76<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-string">License, version 1.0 or later."""</tt> </tt>
77<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-name">__contact__</tt> <tt class="py-op">=</tt> <tt class="py-string">"P.J.Kershaw@rl.ac.uk"</tt> </tt>
78<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable ndg.__revision__=ndg-module.html#__revision__,Variable ndg.security.__revision__=ndg.security-module.html#__revision__,Variable ndg.security.__revision__=ndg.security-module.html#__revision__,Variable ndg.security.client.LogClient.__revision__=ndg.security.client.LogClient-module.html#__revision__,Variable ndg.security.client.SimpleCAClient.__revision__=ndg.security.client.SimpleCAClient-module.html#__revision__,Variable ndg.security.client.__revision__=ndg.security.client-module.html#__revision__,Variable ndg.security.client.ndgSessionClient.__revision__=ndg.security.client.ndgSessionClient-module.html#__revision__,Variable ndg.security.common.AttAuthority.__revision__=ndg.security.common.AttAuthority-module.html#__revision__,Variable ndg.security.common.AttCert.__revision__=ndg.security.common.AttCert-module.html#__revision__,Variable ndg.security.common.CredWallet.__revision__=ndg.security.common.CredWallet-module.html#__revision__,Variable ndg.security.common.SQLObject.__revision__=ndg.security.common.SQLObject-module.html#__revision__,Variable ndg.security.common.SecurityCGI.__revision__=ndg.security.common.SecurityCGI-module.html#__revision__,Variable ndg.security.common.SessionMgr.__revision__=ndg.security.common.SessionMgr-module.html#__revision__,Variable ndg.security.common.X509.__revision__=ndg.security.common.X509-module.html#__revision__,Variable ndg.security.common.XMLSec.__revision__=ndg.security.common.XMLSec-module.html#__revision__,Variable ndg.security.common.__revision__=ndg.security.common-module.html#__revision__,Variable ndg.security.common.authz.__revision__=ndg.security.common.authz-module.html#__revision__,Variable ndg.security.common.authz.pdp.__revision__=ndg.security.common.authz.pdp-module.html#__revision__,Variable ndg.security.common.authz.pdp.browse.__revision__=ndg.security.common.authz.pdp.browse-module.html#__revision__,Variable ndg.security.common.authz.pdp.proftp.__revision__=ndg.security.common.authz.pdp.proftp-module.html#__revision__,Variable ndg.security.common.authz.pep.__revision__=ndg.security.common.authz.pep-module.html#__revision__,Variable ndg.security.common.ca.__revision__=ndg.security.common.ca-module.html#__revision__,Variable ndg.security.common.gatekeeper.__revision__=ndg.security.common.gatekeeper-module.html#__revision__,Variable ndg.security.common.logService.__revision__=ndg.security.common.logService-module.html#__revision__,Variable ndg.security.common.logService.log_services_server.__revision__=ndg.security.common.logService.log_services_server-module.html#__revision__,Variable ndg.security.common.m2CryptoSSLUtility.__revision__=ndg.security.common.m2CryptoSSLUtility-module.html#__revision__,Variable ndg.security.common.openssl.__revision__=ndg.security.common.openssl-module.html#__revision__,Variable ndg.security.common.pylons.security_util.__revision__=ndg.security.common.pylons.security_util-module.html#__revision__,Variable ndg.security.common.saml.__revision__=ndg.security.common.saml-module.html#__revision__,Variable ndg.security.common.sessionCookie.__revision__=ndg.security.common.sessionCookie-module.html#__revision__,Variable ndg.security.common.utils.ClassFactory.__revision__=ndg.security.common.utils.ClassFactory-module.html#__revision__,Variable ndg.security.common.utils.ConfigFileParsers.__revision__=ndg.security.common.utils.ConfigFileParsers-module.html#__revision__,Variable ndg.security.common.wssecurity.BaseSignatureHandler.__revision__=ndg.security.common.wssecurity.BaseSignatureHandler-module.html#__revision__,Variable ndg.security.common.wssecurity.__revision__=ndg.security.common.wssecurity-module.html#__revision__,Variable ndg.security.common.wssecurity.dom.__revision__=ndg.security.common.wssecurity.dom-module.html#__revision__,Variable ndg.security.common.wssecurity.etree.__revision__=ndg.security.common.wssecurity.etree-module.html#__revision__,Variable ndg.security.common.xmlsec.__revision__=ndg.security.common.xmlsec-module.html#__revision__,Variable ndg.security.common.xmlsec.dom.__revision__=ndg.security.common.xmlsec.dom-module.html#__revision__,Variable ndg.security.common.xmlsec.etree.__revision__=ndg.security.common.xmlsec.etree-module.html#__revision__,Variable ndg.security.common.zsi_utils.httpproxy.__revision__=ndg.security.common.zsi_utils.httpproxy-module.html#__revision__,Variable ndg.security.server.AttAuthority.__revision__=ndg.security.server.AttAuthority-module.html#__revision__,Variable ndg.security.server.Log.__revision__=ndg.security.server.Log-module.html#__revision__,Variable ndg.security.server.SessionMgr.__revision__=ndg.security.server.SessionMgr-module.html#__revision__,Variable ndg.security.server.__revision__=ndg.security.server-module.html#__revision__,Variable ndg.security.server.authenservice.MyProxy.__revision__=ndg.security.server.authenservice.MyProxy-module.html#__revision__,Variable ndg.security.server.authenservice.__revision__=ndg.security.server.authenservice-module.html#__revision__,Variable ndg.security.server.authenservice.session_mgr_my_proxy_client.__revision__=ndg.security.server.authenservice.session_mgr_my_proxy_client-module.html#__revision__,Variable ndg.security.server.ca.__revision__=ndg.security.server.ca-module.html#__revision__,Variable ndg.security.server.conf.__revision__=ndg.security.server.conf-module.html#__revision__,Variable ndg.security.server.conf.attCertLog.__revision__=ndg.security.server.conf.attCertLog-module.html#__revision__,Variable ndg.security.server.conf.certs.__revision__=ndg.security.server.conf.certs-module.html#__revision__,Variable ndg.security.server.conf.certs.ca.__revision__=ndg.security.server.conf.certs.ca-module.html#__revision__,Variable ndg.security.server.conf.userRoles.__revision__=ndg.security.server.conf.userRoles-module.html#__revision__,Variable ndg.security.server.initCredReposDb.__revision__=ndg.security.server.initCredReposDb-module.html#__revision__,Variable ndg.security.server.log.__revision__=ndg.security.server.log-module.html#__revision__,Variable ndg.security.server.pylons.container.lib.openid_provider_util.__revision__=ndg.security.server.pylons.container.lib.openid_provider_util-module.html#__revision__,Variable ndg.security.server.share.__revision__=ndg.security.server.share-module.html#__revision__,Variable ndg.security.server.twisted.__revision__=ndg.security.server.twisted-module.html#__revision__,Variable ndg.security.server.wsgi.openid_provider.__revision__=ndg.security.server.wsgi.openid_provider-module.html#__revision__,Variable ndg.security.server.wsgi.soap.__revision__=ndg.security.server.wsgi.soap-module.html#__revision__,Variable ndg.security.server.wsgi.wssecurity.__revision__=ndg.security.server.wsgi.wssecurity-module.html#__revision__,Variable ndg.security.test.Log.LogTest.__revision__=ndg.security.test.Log.LogTest-module.html#__revision__,Variable ndg.security.test.Log.__revision__=ndg.security.test.Log-module.html#__revision__,Variable ndg.security.test.X509.X509Test.__revision__=ndg.security.test.X509.X509Test-module.html#__revision__,Variable ndg.security.test.X509.__revision__=ndg.security.test.X509-module.html#__revision__,Variable ndg.security.test.XMLSecDoc.__revision__=ndg.security.test.XMLSecDoc-module.html#__revision__,Variable ndg.security.test.XMLSecDoc.xmlSecDocTest.__revision__=ndg.security.test.XMLSecDoc.xmlSecDocTest-module.html#__revision__,Variable ndg.security.test.__revision__=ndg.security.test-module.html#__revision__,Variable ndg.security.test.attAuthority.AttAuthorityClientTest.__revision__=ndg.security.test.attAuthority.AttAuthorityClientTest-module.html#__revision__,Variable ndg.security.test.attAuthority.__revision__=ndg.security.test.attAuthority-module.html#__revision__,Variable ndg.security.test.attAuthority.attCertLog.__revision__=ndg.security.test.attAuthority.attCertLog-module.html#__revision__,Variable ndg.security.test.attAuthority.ca.__revision__=ndg.security.test.attAuthority.ca-module.html#__revision__,Variable ndg.security.test.attAuthority.siteAServer.__revision__=ndg.security.test.attAuthority.siteAServer-module.html#__revision__,Variable ndg.security.test.attAuthority.siteAUserRoles.__revision__=ndg.security.test.attAuthority.siteAUserRoles-module.html#__revision__,Variable ndg.security.test.attAuthority.siteBServer.__revision__=ndg.security.test.attAuthority.siteBServer-module.html#__revision__,Variable ndg.security.test.attAuthority.siteBUserRoles.__revision__=ndg.security.test.attAuthority.siteBUserRoles-module.html#__revision__,Variable ndg.security.test.attCert.AttCertTest.__revision__=ndg.security.test.attCert.AttCertTest-module.html#__revision__,Variable ndg.security.test.attCert.__revision__=ndg.security.test.attCert-module.html#__revision__,Variable ndg.security.test.authenservice.__revision__=ndg.security.test.authenservice-module.html#__revision__,Variable ndg.security.test.authenservice.test_authen_service.__revision__=ndg.security.test.authenservice.test_authen_service-module.html#__revision__,Variable ndg.security.test.authz.pdp.testProftPDP.__revision__=ndg.security.test.authz.pdp.testProftPDP-module.html#__revision__,Variable ndg.security.test.ca.__revision__=ndg.security.test.ca-module.html#__revision__,Variable ndg.security.test.ca.caClientTest.__revision__=ndg.security.test.ca.caClientTest-module.html#__revision__,Variable ndg.security.test.myProxy.MyProxyClientTest.__revision__=ndg.security.test.myProxy.MyProxyClientTest-module.html#__revision__,Variable ndg.security.test.myProxy.__revision__=ndg.security.test.myProxy-module.html#__revision__,Variable ndg.security.test.saml.__revision__=ndg.security.test.saml-module.html#__revision__,Variable ndg.security.test.sessionCookie.SessionCookieTest.__revision__=ndg.security.test.sessionCookie.SessionCookieTest-module.html#__revision__,Variable ndg.security.test.sessionCookie.__revision__=ndg.security.test.sessionCookie-module.html#__revision__,Variable ndg.security.test.sessionMgr.__revision__=ndg.security.test.sessionMgr-module.html#__revision__,Variable ndg.security.test.sessionMgr.ca.__revision__=ndg.security.test.sessionMgr.ca-module.html#__revision__,Variable ndg.security.test.sessionMgr.test.__revision__=ndg.security.test.sessionMgr.test-module.html#__revision__,Variable ndg.security.test.sessionMgrClient.SessionMgrClientTest.__revision__=ndg.security.test.sessionMgrClient.SessionMgrClientTest-module.html#__revision__,Variable ndg.security.test.sessionMgrClient.__revision__=ndg.security.test.sessionMgrClient-module.html#__revision__,Variable ndg.security.test.sessionMgrClient.ca.__revision__=ndg.security.test.sessionMgrClient.ca-module.html#__revision__,Variable ndg.security.test.sessionMgrClient.server.__revision__=ndg.security.test.sessionMgrClient.server-module.html#__revision__,Variable ndg.security.test.wsSecurity.__revision__=ndg.security.test.wsSecurity-module.html#__revision__,Variable ndg.security.test.wsSecurity.client.__revision__=ndg.security.test.wsSecurity.client-module.html#__revision__,Variable ndg.security.test.wsSecurity.server.__revision__=ndg.security.test.wsSecurity.server-module.html#__revision__,Variable ndg.security.test.xmlsec.__revision__=ndg.security.test.xmlsec-module.html#__revision__,Variable ndg.security.test.xmlsec.dom.__revision__=ndg.security.test.xmlsec.dom-module.html#__revision__,Variable ndg.security.test.xmlsec.etree.test_etree.__revision__=ndg.security.test.xmlsec.etree.test_etree-module.html#__revision__"><a title="ndg.__revision__
79ndg.security.__revision__
80ndg.security.__revision__
81ndg.security.client.LogClient.__revision__
82ndg.security.client.SimpleCAClient.__revision__
83ndg.security.client.__revision__
84ndg.security.client.ndgSessionClient.__revision__
85ndg.security.common.AttAuthority.__revision__
86ndg.security.common.AttCert.__revision__
87ndg.security.common.CredWallet.__revision__
88ndg.security.common.SQLObject.__revision__
89ndg.security.common.SecurityCGI.__revision__
90ndg.security.common.SessionMgr.__revision__
91ndg.security.common.X509.__revision__
92ndg.security.common.XMLSec.__revision__
93ndg.security.common.__revision__
94ndg.security.common.authz.__revision__
95ndg.security.common.authz.pdp.__revision__
96ndg.security.common.authz.pdp.browse.__revision__
97ndg.security.common.authz.pdp.proftp.__revision__
98ndg.security.common.authz.pep.__revision__
99ndg.security.common.ca.__revision__
100ndg.security.common.gatekeeper.__revision__
101ndg.security.common.logService.__revision__
102ndg.security.common.logService.log_services_server.__revision__
103ndg.security.common.m2CryptoSSLUtility.__revision__
104ndg.security.common.openssl.__revision__
105ndg.security.common.pylons.security_util.__revision__
106ndg.security.common.saml.__revision__
107ndg.security.common.sessionCookie.__revision__
108ndg.security.common.utils.ClassFactory.__revision__
109ndg.security.common.utils.ConfigFileParsers.__revision__
110ndg.security.common.wssecurity.BaseSignatureHandler.__revision__
111ndg.security.common.wssecurity.__revision__
112ndg.security.common.wssecurity.dom.__revision__
113ndg.security.common.wssecurity.etree.__revision__
114ndg.security.common.xmlsec.__revision__
115ndg.security.common.xmlsec.dom.__revision__
116ndg.security.common.xmlsec.etree.__revision__
117ndg.security.common.zsi_utils.httpproxy.__revision__
118ndg.security.server.AttAuthority.__revision__
119ndg.security.server.Log.__revision__
120ndg.security.server.SessionMgr.__revision__
121ndg.security.server.__revision__
122ndg.security.server.authenservice.MyProxy.__revision__
123ndg.security.server.authenservice.__revision__
124ndg.security.server.authenservice.session_mgr_my_proxy_client.__revision__
125ndg.security.server.ca.__revision__
126ndg.security.server.conf.__revision__
127ndg.security.server.conf.attCertLog.__revision__
128ndg.security.server.conf.certs.__revision__
129ndg.security.server.conf.certs.ca.__revision__
130ndg.security.server.conf.userRoles.__revision__
131ndg.security.server.initCredReposDb.__revision__
132ndg.security.server.log.__revision__
133ndg.security.server.pylons.container.lib.openid_provider_util.__revision__
134ndg.security.server.share.__revision__
135ndg.security.server.twisted.__revision__
136ndg.security.server.wsgi.openid_provider.__revision__
137ndg.security.server.wsgi.soap.__revision__
138ndg.security.server.wsgi.wssecurity.__revision__
139ndg.security.test.Log.LogTest.__revision__
140ndg.security.test.Log.__revision__
141ndg.security.test.X509.X509Test.__revision__
142ndg.security.test.X509.__revision__
143ndg.security.test.XMLSecDoc.__revision__
144ndg.security.test.XMLSecDoc.xmlSecDocTest.__revision__
145ndg.security.test.__revision__
146ndg.security.test.attAuthority.AttAuthorityClientTest.__revision__
147ndg.security.test.attAuthority.__revision__
148ndg.security.test.attAuthority.attCertLog.__revision__
149ndg.security.test.attAuthority.ca.__revision__
150ndg.security.test.attAuthority.siteAServer.__revision__
151ndg.security.test.attAuthority.siteAUserRoles.__revision__
152ndg.security.test.attAuthority.siteBServer.__revision__
153ndg.security.test.attAuthority.siteBUserRoles.__revision__
154ndg.security.test.attCert.AttCertTest.__revision__
155ndg.security.test.attCert.__revision__
156ndg.security.test.authenservice.__revision__
157ndg.security.test.authenservice.test_authen_service.__revision__
158ndg.security.test.authz.pdp.testProftPDP.__revision__
159ndg.security.test.ca.__revision__
160ndg.security.test.ca.caClientTest.__revision__
161ndg.security.test.myProxy.MyProxyClientTest.__revision__
162ndg.security.test.myProxy.__revision__
163ndg.security.test.saml.__revision__
164ndg.security.test.sessionCookie.SessionCookieTest.__revision__
165ndg.security.test.sessionCookie.__revision__
166ndg.security.test.sessionMgr.__revision__
167ndg.security.test.sessionMgr.ca.__revision__
168ndg.security.test.sessionMgr.test.__revision__
169ndg.security.test.sessionMgrClient.SessionMgrClientTest.__revision__
170ndg.security.test.sessionMgrClient.__revision__
171ndg.security.test.sessionMgrClient.ca.__revision__
172ndg.security.test.sessionMgrClient.server.__revision__
173ndg.security.test.wsSecurity.__revision__
174ndg.security.test.wsSecurity.client.__revision__
175ndg.security.test.wsSecurity.server.__revision__
176ndg.security.test.xmlsec.__revision__
177ndg.security.test.xmlsec.dom.__revision__
178ndg.security.test.xmlsec.etree.test_etree.__revision__" class="py-name" href="#" onclick="return doclink('link-0', '__revision__', 'link-0');">__revision__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Id: LogClient.py 3104 2007-12-05 15:12:51Z pjkersha $"</tt> </tt>
179<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"> </tt>
180<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">ZSI</tt> <tt class="py-keyword">import</tt> <tt class="py-name">ServiceProxy</tt> </tt>
181<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">ZSI</tt><tt class="py-op">.</tt><tt class="py-name">wstools</tt><tt class="py-op">.</tt><tt class="py-name">Utility</tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Class httplib.HTTPResponse=httplib.HTTPResponse-class.html"><a title="httplib.HTTPResponse" class="py-name" href="#" onclick="return doclink('link-1', 'HTTPResponse', 'link-1');">HTTPResponse</a></tt> </tt>
182<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">sys</tt> </tt>
183<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
184<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
185<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"> </tt>
186<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">LogIO</tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
187<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"> </tt>
188<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"> </tt>
189<a name="SOAPHandler"></a><div id="SOAPHandler-def"><a name="L28"></a><tt class="py-lineno"> 28</tt> <a class="py-toggle" href="#" id="SOAPHandler-toggle" onclick="return toggle('SOAPHandler');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="ndg.security.client.LogClient.SOAPHandler-class.html">SOAPHandler</a><tt class="py-op">(</tt><tt class="py-base-class">Handler</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
190</div><div id="SOAPHandler-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SOAPHandler-expanded"><a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">    <tt class="py-docstring">"""</tt> </tt>
191<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-docstring">    A handler class which writes logging records, appropriately formatted,</tt> </tt>
192<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-docstring">    over a SOAP interface to logging web service</tt> </tt>
193<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
194<a name="SOAPHandler.__init__"></a><div id="SOAPHandler.__init__-def"><a name="L33"></a><tt class="py-lineno"> 33</tt> <a class="py-toggle" href="#" id="SOAPHandler.__init__-toggle" onclick="return toggle('SOAPHandler.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.SOAPHandler-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">kw</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
195</div><div id="SOAPHandler.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SOAPHandler.__init__-expanded"><a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">        <tt class="py-docstring">"""Initialize the handler.</tt> </tt>
196<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
197<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
198<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">        <tt class="py-name">Handler</tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.__init__()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#__init__,Method ndg.security.client.GatekeeperClient.GatekeeperClientError.__init__()=ndg.security.client.GatekeeperClient.GatekeeperClientError-class.html#__init__,Method ndg.security.client.LogClient.LogClient.__init__()=ndg.security.client.LogClient.LogClient-class.html#__init__,Method ndg.security.client.LogClient.LogClientError.__init__()=ndg.security.client.LogClient.LogClientError-class.html#__init__,Method ndg.security.client.LogClient.SOAPHandler.__init__()=ndg.security.client.LogClient.SOAPHandler-class.html#__init__,Method ndg.security.client.SimpleCAClient.SimpleCAClient.__init__()=ndg.security.client.SimpleCAClient.SimpleCAClient-class.html#__init__,Method ndg.security.client.SimpleCAClient.SimpleCAClientError.__init__()=ndg.security.client.SimpleCAClient.SimpleCAClientError-class.html#__init__,Method ndg.security.client.ssoclient.ssoclient.config.ssoClientMiddleware.SSOClientConfig.__init__()=ndg.security.client.ssoclient.ssoclient.config.ssoClientMiddleware.SSOClientConfig-class.html#__init__,Method ndg.security.client.ssoclient.ssoclient.config.ssoClientMiddleware.SSOMiddleware.__init__()=ndg.security.client.ssoclient.ssoclient.config.ssoClientMiddleware.SSOMiddleware-class.html#__init__,Method ndg.security.client.ssoclient.ssoclient.lib.app_globals.Globals.__init__()=ndg.security.client.ssoclient.ssoclient.lib.app_globals.Globals-class.html#__init__,Method ndg.security.client.ssoclient.ssoclient.tests.TestController.__init__()=ndg.security.client.ssoclient.ssoclient.tests.TestController-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthorityClient.__init__()=ndg.security.common.AttAuthority.AttAuthorityClient-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services.AttAuthorityBindingSOAP.__init__()=ndg.security.common.AttAuthority.AttAuthority_services.AttAuthorityBindingSOAP-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAllHostsInfoResponse_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAllHostsInfoResponse_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAllHostsInfo_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAllHostsInfo_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAttCertResponse_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAttCertResponse_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAttCert_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAttCert_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getHostInfoResponse_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getHostInfoResponse_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getHostInfo_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getHostInfo_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfoResponse_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfoResponse_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getX509CertResponse_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getX509CertResponse_Dec-class.html#__init__,Method ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getX509Cert_Dec.__init__()=ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getX509Cert_Dec-class.html#__init__,Method ndg.security.common.AttCert.AttCert.__init__()=ndg.security.common.AttCert.AttCert-class.html#__init__,Method ndg.security.common.AttCert.AttCertReadOnlyDict.__init__()=ndg.security.common.AttCert.AttCertReadOnlyDict-class.html#__init__,Method ndg.security.common.CredWallet.CredRepos.__init__()=ndg.security.common.CredWallet.CredRepos-class.html#__init__,Method ndg.security.common.CredWallet.CredWallet.__init__()=ndg.security.common.CredWallet.CredWallet-class.html#__init__,Method ndg.security.common.CredWallet.CredWalletAttributeRequestDenied.__init__()=ndg.security.common.CredWallet.CredWalletAttributeRequestDenied-class.html#__init__,Method ndg.security.common.CredWallet.NullCredRepos.__init__()=ndg.security.common.CredWallet.NullCredRepos-class.html#__init__,Method ndg.security.common.CredWallet._CredWalletException.__init__()=ndg.security.common.CredWallet._CredWalletException-class.html#__init__,Method ndg.security.common.SQLObject.CredRepos.__init__()=ndg.security.common.SQLObject.CredRepos-class.html#__init__,Method ndg.security.common.SecurityCGI.IdentityProviderSecurityCGI.__init__()=ndg.security.common.SecurityCGI.IdentityProviderSecurityCGI-class.html#__init__,Method ndg.security.common.SecurityCGI.ServiceProviderSecurityCGI.__init__()=ndg.security.common.SecurityCGI.ServiceProviderSecurityCGI-class.html#__init__,Method ndg.security.common.SecurityCGI._SecurityCGI.__init__()=ndg.security.common.SecurityCGI._SecurityCGI-class.html#__init__,Method ndg.security.common.SessionMgr.AttributeRequestDenied.__init__()=ndg.security.common.SessionMgr.AttributeRequestDenied-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgrClient.__init__()=ndg.security.common.SessionMgr.SessionMgrClient-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services.SessionMgrBindingSOAP.__init__()=ndg.security.common.SessionMgr.SessionMgr_services.SessionMgrBindingSOAP-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.connectResponse_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.connectResponse_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.connect_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.connect_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.disconnectResponse_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.disconnectResponse_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.disconnect_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.disconnect_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getAttCertResponse_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getAttCertResponse_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getAttCert_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getAttCert_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getSessionStatusResponse_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getSessionStatusResponse_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getSessionStatus_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getSessionStatus_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getX509CertResponse_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getX509CertResponse_Dec-class.html#__init__,Method ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getX509Cert_Dec.__init__()=ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getX509Cert_Dec-class.html#__init__,Method ndg.security.common.X509.X500DN.__init__()=ndg.security.common.X509.X500DN-class.html#__init__,Method ndg.security.common.X509.X509Cert.__init__()=ndg.security.common.X509.X509Cert-class.html#__init__,Method ndg.security.common.X509.X509Stack.__init__()=ndg.security.common.X509.X509Stack-class.html#__init__,Method ndg.security.common.XMLSec.XMLSecDoc.__init__()=ndg.security.common.XMLSec.XMLSecDoc-class.html#__init__,Method ndg.security.common.authz.pdp.PDPInterface.__init__()=ndg.security.common.authz.pdp.PDPInterface-class.html#__init__,Method ndg.security.common.authz.pdp.PDPMissingResourceConstraints.__init__()=ndg.security.common.authz.pdp.PDPMissingResourceConstraints-class.html#__init__,Method ndg.security.common.authz.pdp.PDPMissingUserHandleAttr.__init__()=ndg.security.common.authz.pdp.PDPMissingUserHandleAttr-class.html#__init__,Method ndg.security.common.authz.pdp.PDPUnknownResourceType.__init__()=ndg.security.common.authz.pdp.PDPUnknownResourceType-class.html#__init__,Method ndg.security.common.authz.pdp.PDPUserAccessDenied.__init__()=ndg.security.common.authz.pdp.PDPUserAccessDenied-class.html#__init__,Method ndg.security.common.authz.pdp.PDPUserInsufficientPrivileges.__init__()=ndg.security.common.authz.pdp.PDPUserInsufficientPrivileges-class.html#__init__,Method ndg.security.common.authz.pdp.PDPUserNotLoggedIn.__init__()=ndg.security.common.authz.pdp.PDPUserNotLoggedIn-class.html#__init__,Method ndg.security.common.authz.pdp.browse.AttributeCertificateRequestError.__init__()=ndg.security.common.authz.pdp.browse.AttributeCertificateRequestError-class.html#__init__,Method ndg.security.common.authz.pdp.browse.BrowsePDP.__init__()=ndg.security.common.authz.pdp.browse.BrowsePDP-class.html#__init__,Method ndg.security.common.authz.pdp.browse.InitSessionCtxError.__init__()=ndg.security.common.authz.pdp.browse.InitSessionCtxError-class.html#__init__,Method ndg.security.common.authz.pdp.browse.InvalidAttributeCertificate.__init__()=ndg.security.common.authz.pdp.browse.InvalidAttributeCertificate-class.html#__init__,Method ndg.security.common.authz.pdp.browse.InvalidSessionMsg.__init__()=ndg.security.common.authz.pdp.browse.InvalidSessionMsg-class.html#__init__,Method ndg.security.common.authz.pdp.browse.SessionExpiredMsg.__init__()=ndg.security.common.authz.pdp.browse.SessionExpiredMsg-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.AttributeCertificateRequestError.__init__()=ndg.security.common.authz.pdp.proftp.AttributeCertificateRequestError-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.FTPAccess.__init__()=ndg.security.common.authz.pdp.proftp.FTPAccess-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.InitSessionCtxError.__init__()=ndg.security.common.authz.pdp.proftp.InitSessionCtxError-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.InvalidAttributeCertificate.__init__()=ndg.security.common.authz.pdp.proftp.InvalidAttributeCertificate-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.InvalidSessionMsg.__init__()=ndg.security.common.authz.pdp.proftp.InvalidSessionMsg-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.ProftpPDP.__init__()=ndg.security.common.authz.pdp.proftp.ProftpPDP-class.html#__init__,Method ndg.security.common.authz.pdp.proftp.SessionExpiredMsg.__init__()=ndg.security.common.authz.pdp.proftp.SessionExpiredMsg-class.html#__init__,Method ndg.security.common.authz.pep.PEP.__init__()=ndg.security.common.authz.pep.PEP-class.html#__init__,Method ndg.security.common.ca.CertificateAuthorityClient.__init__()=ndg.security.common.ca.CertificateAuthorityClient-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services.CertificateAuthorityBindingSOAP.__init__()=ndg.security.common.ca.CertificateAuthority_services.CertificateAuthorityBindingSOAP-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services_types.ns0.getCRLResponse_Dec.__init__()=ndg.security.common.ca.CertificateAuthority_services_types.ns0.getCRLResponse_Dec-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services_types.ns0.getCRL_Dec.__init__()=ndg.security.common.ca.CertificateAuthority_services_types.ns0.getCRL_Dec-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services_types.ns0.issueCertResponse_Dec.__init__()=ndg.security.common.ca.CertificateAuthority_services_types.ns0.issueCertResponse_Dec-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services_types.ns0.issueCert_Dec.__init__()=ndg.security.common.ca.CertificateAuthority_services_types.ns0.issueCert_Dec-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services_types.ns0.revokeCertResponse_Dec.__init__()=ndg.security.common.ca.CertificateAuthority_services_types.ns0.revokeCertResponse_Dec-class.html#__init__,Method ndg.security.common.ca.CertificateAuthority_services_types.ns0.revokeCert_Dec.__init__()=ndg.security.common.ca.CertificateAuthority_services_types.ns0.revokeCert_Dec-class.html#__init__,Method ndg.security.common.gatekeeper.Gatekeeper.__init__()=ndg.security.common.gatekeeper.Gatekeeper-class.html#__init__,Method ndg.security.common.gatekeeper.GatekeeperError.__init__()=ndg.security.common.gatekeeper.GatekeeperError-class.html#__init__,Method ndg.security.common.gatekeeper.GatekeeperResrc.__init__()=ndg.security.common.gatekeeper.GatekeeperResrc-class.html#__init__,Method ndg.security.common.gatekeeper.PullModelHandler.__init__()=ndg.security.common.gatekeeper.PullModelHandler-class.html#__init__,Method ndg.security.common.logService.log_services.debugRequest.__init__()=ndg.security.common.logService.log_services.debugRequest-class.html#__init__,Method ndg.security.common.logService.log_services.debugRequestWrapper.__init__()=ndg.security.common.logService.log_services.debugRequestWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.debugResponse.__init__()=ndg.security.common.logService.log_services.debugResponse-class.html#__init__,Method ndg.security.common.logService.log_services.debugResponseWrapper.__init__()=ndg.security.common.logService.log_services.debugResponseWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.errorRequest.__init__()=ndg.security.common.logService.log_services.errorRequest-class.html#__init__,Method ndg.security.common.logService.log_services.errorRequestWrapper.__init__()=ndg.security.common.logService.log_services.errorRequestWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.errorResponse.__init__()=ndg.security.common.logService.log_services.errorResponse-class.html#__init__,Method ndg.security.common.logService.log_services.errorResponseWrapper.__init__()=ndg.security.common.logService.log_services.errorResponseWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.infoRequest.__init__()=ndg.security.common.logService.log_services.infoRequest-class.html#__init__,Method ndg.security.common.logService.log_services.infoRequestWrapper.__init__()=ndg.security.common.logService.log_services.infoRequestWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.infoResponse.__init__()=ndg.security.common.logService.log_services.infoResponse-class.html#__init__,Method ndg.security.common.logService.log_services.infoResponseWrapper.__init__()=ndg.security.common.logService.log_services.infoResponseWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.logBindingSOAP.__init__()=ndg.security.common.logService.log_services.logBindingSOAP-class.html#__init__,Method ndg.security.common.logService.log_services.warningRequest.__init__()=ndg.security.common.logService.log_services.warningRequest-class.html#__init__,Method ndg.security.common.logService.log_services.warningRequestWrapper.__init__()=ndg.security.common.logService.log_services.warningRequestWrapper-class.html#__init__,Method ndg.security.common.logService.log_services.warningResponse.__init__()=ndg.security.common.logService.log_services.warningResponse-class.html#__init__,Method ndg.security.common.logService.log_services.warningResponseWrapper.__init__()=ndg.security.common.logService.log_services.warningResponseWrapper-class.html#__init__,Method ndg.security.common.logService.log_services_server.log.__init__()=ndg.security.common.logService.log_services_server.log-class.html#__init__,Method ndg.security.common.m2CryptoSSLUtility.HTTPSConnection.__init__()=ndg.security.common.m2CryptoSSLUtility.HTTPSConnection-class.html#__init__,Method ndg.security.common.m2CryptoSSLUtility.HostCheck.__init__()=ndg.security.common.m2CryptoSSLUtility.HostCheck-class.html#__init__,Method ndg.security.common.openssl.OpenSSLConfig.__init__()=ndg.security.common.openssl.OpenSSLConfig-class.html#__init__,Method ndg.security.common.pylons.security_util.SecuritySession.__init__()=ndg.security.common.pylons.security_util.SecuritySession-class.html#__init__,Method ndg.security.common.saml.AttributeAssertion.__init__()=ndg.security.common.saml.AttributeAssertion-class.html#__init__,Method ndg.security.common.saml.AttributeAssertionReadOnlyDict.__init__()=ndg.security.common.saml.AttributeAssertionReadOnlyDict-class.html#__init__,Method ndg.security.common.sessionCookie.SessionCookie.__init__()=ndg.security.common.sessionCookie.SessionCookie-class.html#__init__,Method ndg.security.common.utils.ClassFactory.ClassFactoryError.__init__()=ndg.security.common.utils.ClassFactory.ClassFactoryError-class.html#__init__,Method ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.__init__()=ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler-class.html#__init__,Method ndg.security.common.wssecurity.BaseSignatureHandler.WSSecurityError.__init__()=ndg.security.common.wssecurity.BaseSignatureHandler.WSSecurityError-class.html#__init__,Method ndg.security.common.wssecurity.WSSecurityConfig.__init__()=ndg.security.common.wssecurity.WSSecurityConfig-class.html#__init__,Method ndg.security.common.wssecurity.dom.EncryptionHandler.__init__()=ndg.security.common.wssecurity.dom.EncryptionHandler-class.html#__init__,Method ndg.security.common.xmlsec.etree.XMLSecDoc.__init__()=ndg.security.common.xmlsec.etree.XMLSecDoc-class.html#__init__,Method ndg.security.common.zsi_utils.elementtreeproxy.ElementTreeProxy.__init__()=ndg.security.common.zsi_utils.elementtreeproxy.ElementTreeProxy-class.html#__init__,Method ndg.security.common.zsi_utils.httpproxy.ProxyHTTPConnection.__init__()=ndg.security.common.zsi_utils.httpproxy.ProxyHTTPConnection-class.html#__init__,Method ndg.security.server.AttAuthority.AAUserRoles.__init__()=ndg.security.server.AttAuthority.AAUserRoles-class.html#__init__,Method ndg.security.server.AttAuthority.AttAuthority.__init__()=ndg.security.server.AttAuthority.AttAuthority-class.html#__init__,Method ndg.security.server.AttAuthority.AttAuthorityError.__init__()=ndg.security.server.AttAuthority.AttAuthorityError-class.html#__init__,Method ndg.security.server.AttAuthority.AttAuthority_services_server.AttAuthorityService.__init__()=ndg.security.server.AttAuthority.AttAuthority_services_server.AttAuthorityService-class.html#__init__,Method ndg.security.server.AttAuthority.AttCertLog.__init__()=ndg.security.server.AttAuthority.AttCertLog-class.html#__init__,Method ndg.security.server.Log.Log.__init__()=ndg.security.server.Log.Log-class.html#__init__,Method ndg.security.server.SessionMgr.AbstractAutheNService.__init__()=ndg.security.server.SessionMgr.AbstractAutheNService-class.html#__init__,Method ndg.security.server.SessionMgr.SessionMgr.__init__()=ndg.security.server.SessionMgr.SessionMgr-class.html#__init__,Method ndg.security.server.SessionMgr.SessionMgr_services_server.SessionMgrService.__init__()=ndg.security.server.SessionMgr.SessionMgr_services_server.SessionMgrService-class.html#__init__,Method ndg.security.server.SessionMgr.UserSession.__init__()=ndg.security.server.SessionMgr.UserSession-class.html#__init__,Method ndg.security.server.SessionMgr._SessionMgrException.__init__()=ndg.security.server.SessionMgr._SessionMgrException-class.html#__init__,Method ndg.security.server.authenservice.MyProxy.CmdLineClient.__init__()=ndg.security.server.authenservice.MyProxy.CmdLineClient-class.html#__init__,Method ndg.security.server.authenservice.MyProxy.MyProxyClient.__init__()=ndg.security.server.authenservice.MyProxy.MyProxyClient-class.html#__init__,Method ndg.security.server.authenservice.MyProxy._HostCheck.__init__()=ndg.security.server.authenservice.MyProxy._HostCheck-class.html#__init__,Method ndg.security.server.ca.CertificateAuthority_services_server.CertificateAuthorityService.__init__()=ndg.security.server.ca.CertificateAuthority_services_server.CertificateAuthorityService-class.html#__init__,Method ndg.security.server.ca.SimpleCA.__init__()=ndg.security.server.ca.SimpleCA-class.html#__init__,Method ndg.security.server.conf.userRoles.UserRoles.__init__()=ndg.security.server.conf.userRoles.UserRoles-class.html#__init__,Method ndg.security.server.pylons.container.lib.app_globals.Globals.__init__()=ndg.security.server.pylons.container.lib.app_globals.Globals-class.html#__init__,Method ndg.security.server.pylons.container.lib.openid_provider_util.State.__init__()=ndg.security.server.pylons.container.lib.openid_provider_util.State-class.html#__init__,Method ndg.security.server.pylons.container.tests.TestController.__init__()=ndg.security.server.pylons.container.tests.TestController-class.html#__init__,Method ndg.security.server.sso.sso.config.ssoServiceMiddleware.SSOMiddleware.__init__()=ndg.security.server.sso.sso.config.ssoServiceMiddleware.SSOMiddleware-class.html#__init__,Method ndg.security.server.sso.sso.config.ssoServiceMiddleware.SSOServiceConfig.__init__()=ndg.security.server.sso.sso.config.ssoServiceMiddleware.SSOServiceConfig-class.html#__init__,Method ndg.security.server.sso.sso.lib.app_globals.Globals.__init__()=ndg.security.server.sso.sso.lib.app_globals.Globals-class.html#__init__,Method ndg.security.server.sso.sso.tests.TestController.__init__()=ndg.security.server.sso.sso.tests.TestController-class.html#__init__,Method ndg.security.server.wsgi.openid_provider.OpenIDProviderMiddleware.__init__()=ndg.security.server.wsgi.openid_provider.OpenIDProviderMiddleware-class.html#__init__,Method ndg.security.server.wsgi.openid_provider.RenderingInterface.__init__()=ndg.security.server.wsgi.openid_provider.RenderingInterface-class.html#__init__,Method ndg.security.server.wsgi.soap.SOAPBindingMiddleware.__init__()=ndg.security.server.wsgi.soap.SOAPBindingMiddleware-class.html#__init__,Method ndg.security.server.wsgi.soap.SOAPMiddleware.__init__()=ndg.security.server.wsgi.soap.SOAPMiddleware-class.html#__init__,Method ndg.security.server.wsgi.wssecurity.WSSecurityFilter.__init__()=ndg.security.server.wsgi.wssecurity.WSSecurityFilter-class.html#__init__,Method ndg.security.server.wsgi.wssecurity.WSSecuritySignatureFilter.__init__()=ndg.security.server.wsgi.wssecurity.WSSecuritySignatureFilter-class.html#__init__,Method ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS.__init__()=ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS-class.html#__init__,Method ndg.security.test.Log.LogTest.LogTestSuite.__init__()=ndg.security.test.Log.LogTest.LogTestSuite-class.html#__init__,Method ndg.security.test.X509.X509Test.X509TestSuite.__init__()=ndg.security.test.X509.X509Test.X509TestSuite-class.html#__init__,Method ndg.security.test.XMLSecDoc.xmlSecDocTest.XMLSecDocTestSuite.__init__()=ndg.security.test.XMLSecDoc.xmlSecDocTest.XMLSecDocTestSuite-class.html#__init__,Method ndg.security.test.attAuthority.AttAuthorityClientTest.AttAuthorityClientTestSuite.__init__()=ndg.security.test.attAuthority.AttAuthorityClientTest.AttAuthorityClientTestSuite-class.html#__init__,Method ndg.security.test.attAuthority.siteAUserRoles.TestUserRoles.__init__()=ndg.security.test.attAuthority.siteAUserRoles.TestUserRoles-class.html#__init__,Method ndg.security.test.attAuthority.siteBUserRoles.TestUserRoles.__init__()=ndg.security.test.attAuthority.siteBUserRoles.TestUserRoles-class.html#__init__,Method ndg.security.test.attCert.AttCertTest.AttCertTestSuite.__init__()=ndg.security.test.attCert.AttCertTest.AttCertTestSuite-class.html#__init__,Method ndg.security.test.authenservice.test_authen_service.TestAutheNService.__init__()=ndg.security.test.authenservice.test_authen_service.TestAutheNService-class.html#__init__,Method ndg.security.test.authz.pdp.testProftPDP.ProftpPDPTestSuite.__init__()=ndg.security.test.authz.pdp.testProftPDP.ProftpPDPTestSuite-class.html#__init__,Method ndg.security.test.ca.caClientTest.CAClientTestSuite.__init__()=ndg.security.test.ca.caClientTest.CAClientTestSuite-class.html#__init__,Method ndg.security.test.myProxy.MyProxyClientTest.MyProxyClientTestSuite.__init__()=ndg.security.test.myProxy.MyProxyClientTest.MyProxyClientTestSuite-class.html#__init__,Method ndg.security.test.sessionCookie.SessionCookieTest.SessionCookieTestSuite.__init__()=ndg.security.test.sessionCookie.SessionCookieTest.SessionCookieTestSuite-class.html#__init__,Method ndg.security.test.sessionMgr.test.SessionMgrTestSuite.__init__()=ndg.security.test.sessionMgr.test.SessionMgrTestSuite-class.html#__init__,Method ndg.security.test.sessionMgrClient.SessionMgrClientTest.SessionMgrClientTestSuite.__init__()=ndg.security.test.sessionMgrClient.SessionMgrClientTest.SessionMgrClientTestSuite-class.html#__init__,Method ndg.security.test.wsSecurity.client.EchoService_services.EchoBindingSOAP.__init__()=ndg.security.test.wsSecurity.client.EchoService_services.EchoBindingSOAP-class.html#__init__,Method ndg.security.test.wsSecurity.client.EchoService_services_types.ns0.EchoResponse_Dec.__init__()=ndg.security.test.wsSecurity.client.EchoService_services_types.ns0.EchoResponse_Dec-class.html#__init__,Method ndg.security.test.wsSecurity.client.EchoService_services_types.ns0.Echo_Dec.__init__()=ndg.security.test.wsSecurity.client.EchoService_services_types.ns0.Echo_Dec-class.html#__init__,Method ndg.security.test.wsSecurity.client.echoClientTest.EchoClientTestSuite.__init__()=ndg.security.test.wsSecurity.client.echoClientTest.EchoClientTestSuite-class.html#__init__,Method ndg.security.test.wsSecurity.server.EchoService_services.EchoBindingSOAP.__init__()=ndg.security.test.wsSecurity.server.EchoService_services.EchoBindingSOAP-class.html#__init__,Method ndg.security.test.wsSecurity.server.EchoService_services_server.EchoService.__init__()=ndg.security.test.wsSecurity.server.EchoService_services_server.EchoService-class.html#__init__,Method ndg.security.test.wsSecurity.server.echoServer.EchoService.__init__()=ndg.security.test.wsSecurity.server.echoServer.EchoService-class.html#__init__,Method ndg.security.test.xmlsec.etree.test_etree.XMLSecDocTestSuite.__init__()=ndg.security.test.xmlsec.etree.test_etree.XMLSecDocTestSuite-class.html#__init__"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.__init__
199ndg.security.client.GatekeeperClient.GatekeeperClientError.__init__
200ndg.security.client.LogClient.LogClient.__init__
201ndg.security.client.LogClient.LogClientError.__init__
202ndg.security.client.LogClient.SOAPHandler.__init__
203ndg.security.client.SimpleCAClient.SimpleCAClient.__init__
204ndg.security.client.SimpleCAClient.SimpleCAClientError.__init__
205ndg.security.client.ssoclient.ssoclient.config.ssoClientMiddleware.SSOClientConfig.__init__
206ndg.security.client.ssoclient.ssoclient.config.ssoClientMiddleware.SSOMiddleware.__init__
207ndg.security.client.ssoclient.ssoclient.lib.app_globals.Globals.__init__
208ndg.security.client.ssoclient.ssoclient.tests.TestController.__init__
209ndg.security.common.AttAuthority.AttAuthorityClient.__init__
210ndg.security.common.AttAuthority.AttAuthority_services.AttAuthorityBindingSOAP.__init__
211ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.HostInfo_Def.__init__
212ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAllHostsInfoResponse_Dec.__init__
213ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAllHostsInfo_Dec.__init__
214ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAttCertResponse_Dec.__init__
215ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getAttCert_Dec.__init__
216ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getHostInfoResponse_Dec.__init__
217ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getHostInfo_Dec.__init__
218ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfoResponse_Dec.__init__
219ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getTrustedHostInfo_Dec.__init__
220ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getX509CertResponse_Dec.__init__
221ndg.security.common.AttAuthority.AttAuthority_services_types.ns0.getX509Cert_Dec.__init__
222ndg.security.common.AttCert.AttCert.__init__
223ndg.security.common.AttCert.AttCertReadOnlyDict.__init__
224ndg.security.common.CredWallet.CredRepos.__init__
225ndg.security.common.CredWallet.CredWallet.__init__
226ndg.security.common.CredWallet.CredWalletAttributeRequestDenied.__init__
227ndg.security.common.CredWallet.NullCredRepos.__init__
228ndg.security.common.CredWallet._CredWalletException.__init__
229ndg.security.common.SQLObject.CredRepos.__init__
230ndg.security.common.SecurityCGI.IdentityProviderSecurityCGI.__init__
231ndg.security.common.SecurityCGI.ServiceProviderSecurityCGI.__init__
232ndg.security.common.SecurityCGI._SecurityCGI.__init__
233ndg.security.common.SessionMgr.AttributeRequestDenied.__init__
234ndg.security.common.SessionMgr.SessionMgrClient.__init__
235ndg.security.common.SessionMgr.SessionMgr_services.SessionMgrBindingSOAP.__init__
236ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.connectResponse_Dec.__init__
237ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.connect_Dec.__init__
238ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.disconnectResponse_Dec.__init__
239ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.disconnect_Dec.__init__
240ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getAttCertResponse_Dec.__init__
241ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getAttCert_Dec.__init__
242ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getSessionStatusResponse_Dec.__init__
243ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getSessionStatus_Dec.__init__
244ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getX509CertResponse_Dec.__init__
245ndg.security.common.SessionMgr.SessionMgr_services_types.ns0.getX509Cert_Dec.__init__
246ndg.security.common.X509.X500DN.__init__
247ndg.security.common.X509.X509Cert.__init__
248ndg.security.common.X509.X509Stack.__init__
249ndg.security.common.XMLSec.XMLSecDoc.__init__
250ndg.security.common.authz.pdp.PDPInterface.__init__
251ndg.security.common.authz.pdp.PDPMissingResourceConstraints.__init__
252ndg.security.common.authz.pdp.PDPMissingUserHandleAttr.__init__
253ndg.security.common.authz.pdp.PDPUnknownResourceType.__init__
254ndg.security.common.authz.pdp.PDPUserAccessDenied.__init__
255ndg.security.common.authz.pdp.PDPUserInsufficientPrivileges.__init__
256ndg.security.common.authz.pdp.PDPUserNotLoggedIn.__init__
257ndg.security.common.authz.pdp.browse.AttributeCertificateRequestError.__init__
258ndg.security.common.authz.pdp.browse.BrowsePDP.__init__
259ndg.security.common.authz.pdp.browse.InitSessionCtxError.__init__
260ndg.security.common.authz.pdp.browse.InvalidAttributeCertificate.__init__
261ndg.security.common.authz.pdp.browse.InvalidSessionMsg.__init__
262ndg.security.common.authz.pdp.browse.SessionExpiredMsg.__init__
263ndg.security.common.authz.pdp.proftp.AttributeCertificateRequestError.__init__
264ndg.security.common.authz.pdp.proftp.FTPAccess.__init__
265ndg.security.common.authz.pdp.proftp.InitSessionCtxError.__init__
266ndg.security.common.authz.pdp.proftp.InvalidAttributeCertificate.__init__
267ndg.security.common.authz.pdp.proftp.InvalidSessionMsg.__init__
268ndg.security.common.authz.pdp.proftp.ProftpPDP.__init__
269ndg.security.common.authz.pdp.proftp.SessionExpiredMsg.__init__
270ndg.security.common.authz.pep.PEP.__init__
271ndg.security.common.ca.CertificateAuthorityClient.__init__
272ndg.security.common.ca.CertificateAuthority_services.CertificateAuthorityBindingSOAP.__init__
273ndg.security.common.ca.CertificateAuthority_services_types.ns0.getCRLResponse_Dec.__init__
274ndg.security.common.ca.CertificateAuthority_services_types.ns0.getCRL_Dec.__init__
275ndg.security.common.ca.CertificateAuthority_services_types.ns0.issueCertResponse_Dec.__init__
276ndg.security.common.ca.CertificateAuthority_services_types.ns0.issueCert_Dec.__init__
277ndg.security.common.ca.CertificateAuthority_services_types.ns0.revokeCertResponse_Dec.__init__
278ndg.security.common.ca.CertificateAuthority_services_types.ns0.revokeCert_Dec.__init__
279ndg.security.common.gatekeeper.Gatekeeper.__init__
280ndg.security.common.gatekeeper.GatekeeperError.__init__
281ndg.security.common.gatekeeper.GatekeeperResrc.__init__
282ndg.security.common.gatekeeper.PullModelHandler.__init__
283ndg.security.common.logService.log_services.debugRequest.__init__
284ndg.security.common.logService.log_services.debugRequestWrapper.__init__
285ndg.security.common.logService.log_services.debugResponse.__init__
286ndg.security.common.logService.log_services.debugResponseWrapper.__init__
287ndg.security.common.logService.log_services.errorRequest.__init__
288ndg.security.common.logService.log_services.errorRequestWrapper.__init__
289ndg.security.common.logService.log_services.errorResponse.__init__
290ndg.security.common.logService.log_services.errorResponseWrapper.__init__
291ndg.security.common.logService.log_services.infoRequest.__init__
292ndg.security.common.logService.log_services.infoRequestWrapper.__init__
293ndg.security.common.logService.log_services.infoResponse.__init__
294ndg.security.common.logService.log_services.infoResponseWrapper.__init__
295ndg.security.common.logService.log_services.logBindingSOAP.__init__
296ndg.security.common.logService.log_services.warningRequest.__init__
297ndg.security.common.logService.log_services.warningRequestWrapper.__init__
298ndg.security.common.logService.log_services.warningResponse.__init__
299ndg.security.common.logService.log_services.warningResponseWrapper.__init__
300ndg.security.common.logService.log_services_server.log.__init__
301ndg.security.common.m2CryptoSSLUtility.HTTPSConnection.__init__
302ndg.security.common.m2CryptoSSLUtility.HostCheck.__init__
303ndg.security.common.openssl.OpenSSLConfig.__init__
304ndg.security.common.pylons.security_util.SecuritySession.__init__
305ndg.security.common.saml.AttributeAssertion.__init__
306ndg.security.common.saml.AttributeAssertionReadOnlyDict.__init__
307ndg.security.common.sessionCookie.SessionCookie.__init__
308ndg.security.common.utils.ClassFactory.ClassFactoryError.__init__
309ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.__init__
310ndg.security.common.wssecurity.BaseSignatureHandler.WSSecurityError.__init__
311ndg.security.common.wssecurity.WSSecurityConfig.__init__
312ndg.security.common.wssecurity.dom.EncryptionHandler.__init__
313ndg.security.common.xmlsec.etree.XMLSecDoc.__init__
314ndg.security.common.zsi_utils.elementtreeproxy.ElementTreeProxy.__init__
315ndg.security.common.zsi_utils.httpproxy.ProxyHTTPConnection.__init__
316ndg.security.server.AttAuthority.AAUserRoles.__init__
317ndg.security.server.AttAuthority.AttAuthority.__init__
318ndg.security.server.AttAuthority.AttAuthorityError.__init__
319ndg.security.server.AttAuthority.AttAuthority_services_server.AttAuthorityService.__init__
320ndg.security.server.AttAuthority.AttCertLog.__init__
321ndg.security.server.Log.Log.__init__
322ndg.security.server.SessionMgr.AbstractAutheNService.__init__
323ndg.security.server.SessionMgr.SessionMgr.__init__
324ndg.security.server.SessionMgr.SessionMgr_services_server.SessionMgrService.__init__
325ndg.security.server.SessionMgr.UserSession.__init__
326ndg.security.server.SessionMgr._SessionMgrException.__init__
327ndg.security.server.authenservice.MyProxy.CmdLineClient.__init__
328ndg.security.server.authenservice.MyProxy.MyProxyClient.__init__
329ndg.security.server.authenservice.MyProxy._HostCheck.__init__
330ndg.security.server.ca.CertificateAuthority_services_server.CertificateAuthorityService.__init__
331ndg.security.server.ca.SimpleCA.__init__
332ndg.security.server.conf.userRoles.UserRoles.__init__
333ndg.security.server.pylons.container.lib.app_globals.Globals.__init__
334ndg.security.server.pylons.container.lib.openid_provider_util.State.__init__
335ndg.security.server.pylons.container.tests.TestController.__init__
336ndg.security.server.sso.sso.config.ssoServiceMiddleware.SSOMiddleware.__init__
337ndg.security.server.sso.sso.config.ssoServiceMiddleware.SSOServiceConfig.__init__
338ndg.security.server.sso.sso.lib.app_globals.Globals.__init__
339ndg.security.server.sso.sso.tests.TestController.__init__
340ndg.security.server.wsgi.openid_provider.OpenIDProviderMiddleware.__init__
341ndg.security.server.wsgi.openid_provider.RenderingInterface.__init__
342ndg.security.server.wsgi.soap.SOAPBindingMiddleware.__init__
343ndg.security.server.wsgi.soap.SOAPMiddleware.__init__
344ndg.security.server.wsgi.wssecurity.WSSecurityFilter.__init__
345ndg.security.server.wsgi.wssecurity.WSSecuritySignatureFilter.__init__
346ndg.security.server.zsi.attributeauthority.AttributeAuthorityWS.__init__
347ndg.security.test.Log.LogTest.LogTestSuite.__init__
348ndg.security.test.X509.X509Test.X509TestSuite.__init__
349ndg.security.test.XMLSecDoc.xmlSecDocTest.XMLSecDocTestSuite.__init__
350ndg.security.test.attAuthority.AttAuthorityClientTest.AttAuthorityClientTestSuite.__init__
351ndg.security.test.attAuthority.siteAUserRoles.TestUserRoles.__init__
352ndg.security.test.attAuthority.siteBUserRoles.TestUserRoles.__init__
353ndg.security.test.attCert.AttCertTest.AttCertTestSuite.__init__
354ndg.security.test.authenservice.test_authen_service.TestAutheNService.__init__
355ndg.security.test.authz.pdp.testProftPDP.ProftpPDPTestSuite.__init__
356ndg.security.test.ca.caClientTest.CAClientTestSuite.__init__
357ndg.security.test.myProxy.MyProxyClientTest.MyProxyClientTestSuite.__init__
358ndg.security.test.sessionCookie.SessionCookieTest.SessionCookieTestSuite.__init__
359ndg.security.test.sessionMgr.test.SessionMgrTestSuite.__init__
360ndg.security.test.sessionMgrClient.SessionMgrClientTest.SessionMgrClientTestSuite.__init__
361ndg.security.test.wsSecurity.client.EchoService_services.EchoBindingSOAP.__init__
362ndg.security.test.wsSecurity.client.EchoService_services_types.ns0.EchoResponse_Dec.__init__
363ndg.security.test.wsSecurity.client.EchoService_services_types.ns0.Echo_Dec.__init__
364ndg.security.test.wsSecurity.client.echoClientTest.EchoClientTestSuite.__init__
365ndg.security.test.wsSecurity.server.EchoService_services.EchoBindingSOAP.__init__
366ndg.security.test.wsSecurity.server.EchoService_services_server.EchoService.__init__
367ndg.security.test.wsSecurity.server.echoServer.EchoService.__init__
368ndg.security.test.xmlsec.etree.test_etree.XMLSecDocTestSuite.__init__" class="py-name" href="#" onclick="return doclink('link-2', '__init__', 'link-2');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
369<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_logClnt</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name" targets="Module ndg.security.client.LogClient=ndg.security.client.LogClient-module.html,Class ndg.security.client.LogClient.LogClient=ndg.security.client.LogClient.LogClient-class.html"><a title="ndg.security.client.LogClient
370ndg.security.client.LogClient.LogClient" class="py-name" href="#" onclick="return doclink('link-3', 'LogClient', 'link-3');">LogClient</a></tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-name">kw</tt><tt class="py-op">)</tt> </tt>
371</div><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"> </tt>
372<a name="SOAPHandler.emit"></a><div id="SOAPHandler.emit-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="SOAPHandler.emit-toggle" onclick="return toggle('SOAPHandler.emit');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.SOAPHandler-class.html#emit">emit</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">record</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
373</div><div id="SOAPHandler.emit-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SOAPHandler.emit-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
374<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line"><tt class="py-docstring">        Emit a record.</tt> </tt>
375<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
376<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-docstring">        If a formatter is specified, it is used to format the record.</tt> </tt>
377<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt class="py-docstring">        The record is then written to the stream with a trailing newline</tt> </tt>
378<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"><tt class="py-docstring">        [N.B. this may be removed depending on feedback]. If exception</tt> </tt>
379<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line"><tt class="py-docstring">        information is present, it is formatted using</tt> </tt>
380<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"><tt class="py-docstring">        traceback.print_exception and appended to the stream.</tt> </tt>
381<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
382<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
383<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">            <tt class="py-name">msg</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">format</tt><tt class="py-op">(</tt><tt class="py-name">record</tt><tt class="py-op">)</tt> </tt>
384<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">            <tt class="py-name">fs</tt> <tt class="py-op">=</tt> <tt class="py-string">"%s\n"</tt> </tt>
385<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt id="link-4" class="py-name" targets="Variable ZSI.schema.SchemaInstanceType.types=ZSI.schema.SchemaInstanceType-class.html#types"><a title="ZSI.schema.SchemaInstanceType.types" class="py-name" href="#" onclick="return doclink('link-4', 'types', 'link-4');">types</a></tt><tt class="py-op">,</tt> <tt class="py-string">"UnicodeType"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-comment">#if no unicode support...</tt> </tt>
386<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">stream</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Method ndg.security.common.XMLSec.XMLSecDoc.write()=ndg.security.common.XMLSec.XMLSecDoc-class.html#write,Method ndg.security.common.xmlsec.etree.XMLSecDoc.write()=ndg.security.common.xmlsec.etree.XMLSecDoc-class.html#write"><a title="ndg.security.common.XMLSec.XMLSecDoc.write
387ndg.security.common.xmlsec.etree.XMLSecDoc.write" class="py-name" href="#" onclick="return doclink('link-5', 'write', 'link-5');">write</a></tt><tt class="py-op">(</tt><tt class="py-name">fs</tt> <tt class="py-op">%</tt> <tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
388<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
389<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
390<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">                    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">stream</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name"><a title="ndg.security.common.XMLSec.XMLSecDoc.write
391ndg.security.common.xmlsec.etree.XMLSecDoc.write" class="py-name" href="#" onclick="return doclink('link-6', 'write', 'link-5');">write</a></tt><tt class="py-op">(</tt><tt class="py-name">fs</tt> <tt class="py-op">%</tt> <tt class="py-name">msg</tt><tt class="py-op">)</tt> </tt>
392<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt> <tt class="py-name">UnicodeError</tt><tt class="py-op">:</tt> </tt>
393<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">                    <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">stream</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name"><a title="ndg.security.common.XMLSec.XMLSecDoc.write
394ndg.security.common.xmlsec.etree.XMLSecDoc.write" class="py-name" href="#" onclick="return doclink('link-7', 'write', 'link-5');">write</a></tt><tt class="py-op">(</tt><tt class="py-name">fs</tt> <tt class="py-op">%</tt> <tt class="py-name">msg</tt><tt class="py-op">.</tt><tt class="py-name">encode</tt><tt class="py-op">(</tt><tt class="py-string">"UTF-8"</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
395<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">flush</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
396<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-op">(</tt><tt class="py-name">KeyboardInterrupt</tt><tt class="py-op">,</tt> <tt class="py-name">SystemExit</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
397<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> </tt>
398<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt><tt class="py-op">:</tt> </tt>
399<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">handleError</tt><tt class="py-op">(</tt><tt class="py-name">record</tt><tt class="py-op">)</tt> </tt>
400</div></div><a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"> </tt>
401<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line"><tt class="py-comment">#_____________________________________________________________________________</tt> </tt>
402<a name="LogClientError"></a><div id="LogClientError-def"><a name="L67"></a><tt class="py-lineno"> 67</tt> <a class="py-toggle" href="#" id="LogClientError-toggle" onclick="return toggle('LogClientError');">-</a><tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">class</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClientError-class.html">LogClientError</a><tt class="py-op">(</tt><tt class="py-base-class">Exception</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
403</div><div id="LogClientError-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="LogClientError-expanded"><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">    <tt class="py-docstring">"""Exception handling for Logging class"""</tt> </tt>
404<a name="LogClientError.__init__"></a><div id="LogClientError.__init__-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="LogClientError.__init__-toggle" onclick="return toggle('LogClientError.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClientError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
405</div><div id="LogClientError.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClientError.__init__-expanded"><a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__msg</tt> <tt class="py-op">=</tt> <tt class="py-name">msg</tt> </tt>
406</div><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">          </tt>
407<a name="LogClientError.__str__"></a><div id="LogClientError.__str__-def"><a name="L72"></a><tt class="py-lineno"> 72</tt> <a class="py-toggle" href="#" id="LogClientError.__str__-toggle" onclick="return toggle('LogClientError.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClientError-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
408</div><div id="LogClientError.__str__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClientError.__str__-expanded"><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__msg</tt> </tt>
409</div></div><a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
410<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"> </tt>
411<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"><tt class="py-comment">#_____________________________________________________________________________</tt> </tt>
412<a name="LogClient"></a><div id="LogClient-def"><a name="L77"></a><tt class="py-lineno"> 77</tt> <a class="py-toggle" href="#" id="LogClient-toggle" onclick="return toggle('LogClient');">-</a><tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">class</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html">LogClient</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
413</div><div id="LogClient-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="LogClient-expanded"><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">     </tt>
414<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
415<a name="LogClient.__init__"></a><div id="LogClient.__init__-def"><a name="L80"></a><tt class="py-lineno"> 80</tt> <a class="py-toggle" href="#" id="LogClient.__init__-toggle" onclick="return toggle('LogClient.__init__');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt>  </tt>
416<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">                 <tt class="py-param">uri</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
417<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">                 <tt class="py-param">signingCertFilePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
418<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">                 <tt class="py-param">signingPriKeyFilePath</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
419<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">                 <tt class="py-param">signingPriKeyPwd</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt>  </tt>
420<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">                 <tt class="py-param">traceFile</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
421</div><div id="LogClient.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.__init__-expanded"><a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
422<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"><tt class="py-docstring">        uri:                   URI for Logging WS.  Setting </tt> </tt>
423<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line"><tt class="py-docstring">                               it will set the Service Proxy</tt> </tt>
424<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"><tt class="py-docstring">        traceFile:             set to file object such as sys.stderr to </tt> </tt>
425<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt class="py-docstring">                               give extra WS debug information"""</tt> </tt>
426<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"> </tt>
427<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
428<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__uri</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
429<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">         </tt>
430<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">         </tt>
431<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-8" class="py-name" targets="Variable ndg.security.client.LogClient.LogClient.uri=ndg.security.client.LogClient.LogClient-class.html#uri,Variable ndg.security.common.AttAuthority.AttAuthorityClient.uri=ndg.security.common.AttAuthority.AttAuthorityClient-class.html#uri,Variable ndg.security.common.SessionMgr.SessionMgrClient.uri=ndg.security.common.SessionMgr.SessionMgrClient-class.html#uri,Variable ndg.security.common.ca.CertificateAuthorityClient.uri=ndg.security.common.ca.CertificateAuthorityClient-class.html#uri"><a title="ndg.security.client.LogClient.LogClient.uri
432ndg.security.common.AttAuthority.AttAuthorityClient.uri
433ndg.security.common.SessionMgr.SessionMgrClient.uri
434ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-8', 'uri', 'link-8');">uri</a></tt><tt class="py-op">:</tt> </tt>
435<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.__setWSDL()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#__setWSDL,Method ndg.security.client.LogClient.LogClient.__setWSDL()=ndg.security.client.LogClient.LogClient-class.html#__setWSDL"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.__setWSDL
436ndg.security.client.LogClient.LogClient.__setWSDL" class="py-name" href="#" onclick="return doclink('link-9', '__setWSDL', 'link-9');">__setWSDL</a></tt><tt class="py-op">(</tt><tt id="link-10" class="py-name"><a title="ndg.security.client.LogClient.LogClient.uri
437ndg.security.common.AttAuthority.AttAuthorityClient.uri
438ndg.security.common.SessionMgr.SessionMgrClient.uri
439ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-10', 'uri', 'link-8');">uri</a></tt><tt class="py-op">)</tt> </tt>
440<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">            </tt>
441<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__traceFile</tt> <tt class="py-op">=</tt> <tt class="py-name">traceFile</tt> </tt>
442<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">         </tt>
443<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingCertFilePath</tt> <tt class="py-op">=</tt> <tt id="link-11" class="py-name" targets="Variable ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.signingCertFilePath=ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler-class.html#signingCertFilePath"><a title="ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.signingCertFilePath" class="py-name" href="#" onclick="return doclink('link-11', 'signingCertFilePath', 'link-11');">signingCertFilePath</a></tt> </tt>
444<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyFilePath</tt> <tt class="py-op">=</tt> <tt id="link-12" class="py-name" targets="Variable ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.signingPriKeyFilePath=ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler-class.html#signingPriKeyFilePath"><a title="ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.signingPriKeyFilePath" class="py-name" href="#" onclick="return doclink('link-12', 'signingPriKeyFilePath', 'link-12');">signingPriKeyFilePath</a></tt> </tt>
445<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyPwd</tt> <tt class="py-op">=</tt> <tt id="link-13" class="py-name" targets="Variable ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.signingPriKeyPwd=ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler-class.html#signingPriKeyPwd"><a title="ndg.security.common.wssecurity.BaseSignatureHandler.BaseSignatureHandler.signingPriKeyPwd" class="py-name" href="#" onclick="return doclink('link-13', 'signingPriKeyPwd', 'link-13');">signingPriKeyPwd</a></tt> </tt>
446<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"> </tt>
447<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">          </tt>
448<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">        <tt class="py-comment"># Instantiate Logging WS proxy</tt> </tt>
449<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__uri</tt><tt class="py-op">:</tt> </tt>
450<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method ndg.security.client.GatekeeperClient.GatekeeperClient.serviceProxy()=ndg.security.client.GatekeeperClient.GatekeeperClient-class.html#serviceProxy,Method ndg.security.client.LogClient.LogClient.serviceProxy()=ndg.security.client.LogClient.LogClient-class.html#serviceProxy"><a title="ndg.security.client.GatekeeperClient.GatekeeperClient.serviceProxy
451ndg.security.client.LogClient.LogClient.serviceProxy" class="py-name" href="#" onclick="return doclink('link-14', 'serviceProxy', 'link-14');">serviceProxy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
452</div><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">         </tt>
453<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"> </tt>
454<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
455<a name="LogClient.__setWSDL"></a><div id="LogClient.__setWSDL-def"><a name="L112"></a><tt class="py-lineno">112</tt> <a class="py-toggle" href="#" id="LogClient.__setWSDL-toggle" onclick="return toggle('LogClient.__setWSDL');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#__setWSDL">__setWSDL</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
456</div><div id="LogClient.__setWSDL-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.__setWSDL-expanded"><a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">         </tt>
457<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">isinstance</tt><tt class="py-op">(</tt><tt id="link-15" class="py-name"><a title="ndg.security.client.LogClient.LogClient.uri
458ndg.security.common.AttAuthority.AttAuthorityClient.uri
459ndg.security.common.SessionMgr.SessionMgrClient.uri
460ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-15', 'uri', 'link-8');">uri</a></tt><tt class="py-op">,</tt> <tt class="py-name">basestring</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
461<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-16" class="py-name" targets="Class ndg.security.client.LogClient.LogClientError=ndg.security.client.LogClient.LogClientError-class.html"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-16', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">,</tt> <tt class="py-string">"Logging WSDL URI must be a valid string"</tt> </tt>
462<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">         </tt>
463<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__uri</tt> <tt class="py-op">=</tt> <tt id="link-17" class="py-name"><a title="ndg.security.client.LogClient.LogClient.uri
464ndg.security.common.AttAuthority.AttAuthorityClient.uri
465ndg.security.common.SessionMgr.SessionMgrClient.uri
466ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-17', 'uri', 'link-8');">uri</a></tt> </tt>
467</div><a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">         </tt>
468<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">    <tt id="link-18" class="py-name"><a title="ndg.security.client.LogClient.LogClient.uri
469ndg.security.common.AttAuthority.AttAuthorityClient.uri
470ndg.security.common.SessionMgr.SessionMgrClient.uri
471ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-18', 'uri', 'link-8');">uri</a></tt> <tt class="py-op">=</tt> <tt class="py-name">property</tt><tt class="py-op">(</tt><tt class="py-name">fset</tt><tt class="py-op">=</tt><tt id="link-19" class="py-name" targets="Method ndg.security.common.AttAuthority.AttAuthorityClient.__setURI()=ndg.security.common.AttAuthority.AttAuthorityClient-class.html#__setURI,Method ndg.security.common.SessionMgr.SessionMgrClient.__setURI()=ndg.security.common.SessionMgr.SessionMgrClient-class.html#__setURI,Method ndg.security.common.ca.CertificateAuthorityClient.__setURI()=ndg.security.common.ca.CertificateAuthorityClient-class.html#__setURI"><a title="ndg.security.common.AttAuthority.AttAuthorityClient.__setURI
472ndg.security.common.SessionMgr.SessionMgrClient.__setURI
473ndg.security.common.ca.CertificateAuthorityClient.__setURI" class="py-name" href="#" onclick="return doclink('link-19', '__setURI', 'link-19');">__setURI</a></tt><tt class="py-op">,</tt><tt class="py-name">doc</tt><tt class="py-op">=</tt><tt class="py-string">"Set Logging WSDL URI"</tt><tt class="py-op">)</tt> </tt>
474<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">     </tt>
475<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">         </tt>
476<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
477<a name="LogClient.serviceProxy"></a><div id="LogClient.serviceProxy-def"><a name="L123"></a><tt class="py-lineno">123</tt> <a class="py-toggle" href="#" id="LogClient.serviceProxy-toggle" onclick="return toggle('LogClient.serviceProxy');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#serviceProxy">serviceProxy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">uri</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
478</div><div id="LogClient.serviceProxy-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.serviceProxy-expanded"><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-docstring">"""Set the WS proxy for the Logging"""</tt> </tt>
479<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-20" class="py-name"><a title="ndg.security.client.LogClient.LogClient.uri
480ndg.security.common.AttAuthority.AttAuthorityClient.uri
481ndg.security.common.SessionMgr.SessionMgrClient.uri
482ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-20', 'uri', 'link-8');">uri</a></tt><tt class="py-op">:</tt> </tt>
483<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="ndg.security.common.AttAuthority.AttAuthorityClient.__setURI
484ndg.security.common.SessionMgr.SessionMgrClient.__setURI
485ndg.security.common.ca.CertificateAuthorityClient.__setURI" class="py-name" href="#" onclick="return doclink('link-21', '__setURI', 'link-19');">__setURI</a></tt><tt class="py-op">(</tt><tt id="link-22" class="py-name"><a title="ndg.security.client.LogClient.LogClient.uri
486ndg.security.common.AttAuthority.AttAuthorityClient.uri
487ndg.security.common.SessionMgr.SessionMgrClient.uri
488ndg.security.common.ca.CertificateAuthorityClient.uri" class="py-name" href="#" onclick="return doclink('link-22', 'uri', 'link-8');">uri</a></tt><tt class="py-op">)</tt> </tt>
489<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line"> </tt>
490<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
491<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt> <tt class="py-op">=</tt> <tt class="py-name">ServiceProxy</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__uri</tt><tt class="py-op">,</tt>  </tt>
492<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">                                        <tt class="py-name">use_uri</tt><tt class="py-op">=</tt><tt class="py-name">True</tt><tt class="py-op">,</tt>  </tt>
493<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">                                        <tt class="py-name">tracefile</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__traceFile</tt><tt class="py-op">)</tt> </tt>
494<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt id="link-23" class="py-name"><a title="httplib.HTTPResponse" class="py-name" href="#" onclick="return doclink('link-23', 'HTTPResponse', 'link-1');">HTTPResponse</a></tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
495<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-24" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-24', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">,</tt> \ </tt>
496<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">                <tt class="py-string">"Error initialising URI Service Proxy for \"%s\": %s %s"</tt> <tt class="py-op">%</tt> \ </tt>
497<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">                <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__uri</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">status</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">.</tt><tt class="py-name">reason</tt><tt class="py-op">)</tt> </tt>
498<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"> </tt>
499<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
500<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-25" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-25', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">,</tt> \ </tt>
501<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">                    <tt class="py-string">"Initialising URI Service Proxy: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt> </tt>
502</div><a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"> </tt>
503<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">                                     </tt>
504<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
505<a name="LogClient.debug"></a><div id="LogClient.debug-def"><a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="LogClient.debug-toggle" onclick="return toggle('LogClient.debug');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#debug">debug</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
506</div><div id="LogClient.debug-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.debug-expanded"><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-docstring">"""Send a debug message to the log"""</tt> </tt>
507<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"> </tt>
508<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
509<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">            <tt class="py-name">debugReq</tt> <tt class="py-op">=</tt> <tt class="py-name">DebugReq</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">=</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt>                    </tt>
510<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">            <tt class="py-name">debugReq</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name" targets="Method ndg.security.common.wssecurity.dom.SignatureHandler.sign()=ndg.security.common.wssecurity.dom.SignatureHandler-class.html#sign,Method ndg.security.common.wssecurity.etree.SignatureHandler.sign()=ndg.security.common.wssecurity.etree.SignatureHandler-class.html#sign,Method ndg.security.server.ca.SimpleCA.sign()=ndg.security.server.ca.SimpleCA-class.html#sign,Method ndg.security.test.wsSecurity.server.echoServer.EchoService.sign()=ndg.security.test.wsSecurity.server.echoServer.EchoService-class.html#sign"><a title="ndg.security.common.wssecurity.dom.SignatureHandler.sign
511ndg.security.common.wssecurity.etree.SignatureHandler.sign
512ndg.security.server.ca.SimpleCA.sign
513ndg.security.test.wsSecurity.server.echoServer.EchoService.sign" class="py-name" href="#" onclick="return doclink('link-26', 'sign', 'link-26');">sign</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyFilePath</tt><tt class="py-op">,</tt> </tt>
514<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">                          <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyPwd</tt><tt class="py-op">,</tt> </tt>
515<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">                          <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingCertFilePath</tt><tt class="py-op">)</tt> </tt>
516<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line">         </tt>
517<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-27" class="py-name" targets="Method ndg.security.client.LogClient.LogClient.debug()=ndg.security.client.LogClient.LogClient-class.html#debug,Method ndg.security.common.logService.log_services.logBindingSOAP.debug()=ndg.security.common.logService.log_services.logBindingSOAP-class.html#debug"><a title="ndg.security.client.LogClient.LogClient.debug
518ndg.security.common.logService.log_services.logBindingSOAP.debug" class="py-name" href="#" onclick="return doclink('link-27', 'debug', 'link-27');">debug</a></tt><tt class="py-op">(</tt><tt class="py-name">debugReq</tt><tt class="py-op">=</tt><tt class="py-name">debugReq</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
519<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">             </tt>
520<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
521<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-28" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-28', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Error sending debug message: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
522<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">                               </tt>
523<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'debugResp'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
524<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-29" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-29', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'debugResp'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
525</div><a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"> </tt>
526<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">                                     </tt>
527<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
528<a name="LogClient.info"></a><div id="LogClient.info-def"><a name="L162"></a><tt class="py-lineno">162</tt> <a class="py-toggle" href="#" id="LogClient.info-toggle" onclick="return toggle('LogClient.info');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#info">info</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
529</div><div id="LogClient.info-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.info-expanded"><a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">        <tt class="py-docstring">"""Send a information message to the log"""</tt> </tt>
530<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line"> </tt>
531<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt>    </tt>
532<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">            <tt class="py-name">infoReq</tt> <tt class="py-op">=</tt> <tt class="py-name">InfoReq</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">=</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt>                     </tt>
533<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">            <tt class="py-name">infoReq</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="ndg.security.common.wssecurity.dom.SignatureHandler.sign
534ndg.security.common.wssecurity.etree.SignatureHandler.sign
535ndg.security.server.ca.SimpleCA.sign
536ndg.security.test.wsSecurity.server.echoServer.EchoService.sign" class="py-name" href="#" onclick="return doclink('link-30', 'sign', 'link-26');">sign</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyFilePath</tt><tt class="py-op">,</tt> </tt>
537<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">                         <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyPwd</tt><tt class="py-op">,</tt> </tt>
538<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">                         <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingCertFilePath</tt><tt class="py-op">)</tt> </tt>
539<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">         </tt>
540<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-31" class="py-name" targets="Method ndg.security.client.LogClient.LogClient.info()=ndg.security.client.LogClient.LogClient-class.html#info,Method ndg.security.common.logService.log_services.logBindingSOAP.info()=ndg.security.common.logService.log_services.logBindingSOAP-class.html#info,Method ndg.security.server.authenservice.MyProxy.MyProxyClient.info()=ndg.security.server.authenservice.MyProxy.MyProxyClient-class.html#info,Method ndg.security.test.authenservice.test_authen_service.TestAutheNService.info()=ndg.security.test.authenservice.test_authen_service.TestAutheNService-class.html#info"><a title="ndg.security.client.LogClient.LogClient.info
541ndg.security.common.logService.log_services.logBindingSOAP.info
542ndg.security.server.authenservice.MyProxy.MyProxyClient.info
543ndg.security.test.authenservice.test_authen_service.TestAutheNService.info" class="py-name" href="#" onclick="return doclink('link-31', 'info', 'link-31');">info</a></tt><tt class="py-op">(</tt><tt class="py-name">infoReq</tt><tt class="py-op">=</tt><tt class="py-name">infoReq</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
544<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">             </tt>
545<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
546<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-32" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-32', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Error sending info message: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
547<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">                               </tt>
548<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'infoResp'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
549<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-33" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-33', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'infoResp'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
550</div><a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line"> </tt>
551<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">                                     </tt>
552<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
553<a name="LogClient.warning"></a><div id="LogClient.warning-def"><a name="L181"></a><tt class="py-lineno">181</tt> <a class="py-toggle" href="#" id="LogClient.warning-toggle" onclick="return toggle('LogClient.warning');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#warning">warning</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
554</div><div id="LogClient.warning-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.warning-expanded"><a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">        <tt class="py-docstring">"""Send a warning message to the log"""</tt> </tt>
555<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line"> </tt>
556<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt>    </tt>
557<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">            <tt class="py-name">warningReq</tt> <tt class="py-op">=</tt> <tt class="py-name">WarningReq</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">=</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt>                      </tt>
558<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">            <tt class="py-name">warningReq</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="ndg.security.common.wssecurity.dom.SignatureHandler.sign
559ndg.security.common.wssecurity.etree.SignatureHandler.sign
560ndg.security.server.ca.SimpleCA.sign
561ndg.security.test.wsSecurity.server.echoServer.EchoService.sign" class="py-name" href="#" onclick="return doclink('link-34', 'sign', 'link-26');">sign</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyFilePath</tt><tt class="py-op">,</tt> </tt>
562<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">                            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyPwd</tt><tt class="py-op">,</tt> </tt>
563<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">                            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingCertFilePath</tt><tt class="py-op">)</tt> </tt>
564<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">         </tt>
565<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Method ndg.security.client.LogClient.LogClient.warning()=ndg.security.client.LogClient.LogClient-class.html#warning,Method ndg.security.common.logService.log_services.logBindingSOAP.warning()=ndg.security.common.logService.log_services.logBindingSOAP-class.html#warning"><a title="ndg.security.client.LogClient.LogClient.warning
566ndg.security.common.logService.log_services.logBindingSOAP.warning" class="py-name" href="#" onclick="return doclink('link-35', 'warning', 'link-35');">warning</a></tt><tt class="py-op">(</tt><tt class="py-name">warningReq</tt><tt class="py-op">=</tt><tt class="py-name">warningReq</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
567<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">             </tt>
568<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
569<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-36" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-36', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Error sending warning message: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
570<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">                               </tt>
571<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'warningResp'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
572<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-37" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-37', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'warningResp'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
573</div><a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"> </tt>
574<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">                                     </tt>
575<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">    <tt class="py-comment">#_________________________________________________________________________</tt> </tt>
576<a name="LogClient.error"></a><div id="LogClient.error-def"><a name="L200"></a><tt class="py-lineno">200</tt> <a class="py-toggle" href="#" id="LogClient.error-toggle" onclick="return toggle('LogClient.error');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="ndg.security.client.LogClient.LogClient-class.html#error">error</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">msg</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
577</div><div id="LogClient.error-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="LogClient.error-expanded"><a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">        <tt class="py-docstring">"""Send a error message to the log"""</tt> </tt>
578<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line"> </tt>
579<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt>    </tt>
580<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">            <tt class="py-name">errorReq</tt> <tt class="py-op">=</tt> <tt class="py-name">ErrorReq</tt><tt class="py-op">(</tt><tt class="py-name">msg</tt><tt class="py-op">=</tt><tt class="py-name">msg</tt><tt class="py-op">)</tt>                      </tt>
581<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line">            <tt class="py-name">errorReq</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="ndg.security.common.wssecurity.dom.SignatureHandler.sign
582ndg.security.common.wssecurity.etree.SignatureHandler.sign
583ndg.security.server.ca.SimpleCA.sign
584ndg.security.test.wsSecurity.server.echoServer.EchoService.sign" class="py-name" href="#" onclick="return doclink('link-38', 'sign', 'link-26');">sign</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyFilePath</tt><tt class="py-op">,</tt> </tt>
585<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">                          <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingPriKeyPwd</tt><tt class="py-op">,</tt> </tt>
586<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">                          <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__signingCertFilePath</tt><tt class="py-op">)</tt> </tt>
587<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">         </tt>
588<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line">            <tt class="py-name">resp</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__srvPx</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method ndg.security.client.LogClient.LogClient.error()=ndg.security.client.LogClient.LogClient-class.html#error,Module ndg.security.client.ssoclient.ssoclient.controllers.error=ndg.security.client.ssoclient.ssoclient.controllers.error-module.html,Method ndg.security.common.logService.log_services.logBindingSOAP.error()=ndg.security.common.logService.log_services.logBindingSOAP-class.html#error,Module ndg.security.server.pylons.container.controllers.error=ndg.security.server.pylons.container.controllers.error-module.html,Module ndg.security.server.sso.sso.controllers.error=ndg.security.server.sso.sso.controllers.error-module.html"><a title="ndg.security.client.LogClient.LogClient.error
589ndg.security.client.ssoclient.ssoclient.controllers.error
590ndg.security.common.logService.log_services.logBindingSOAP.error
591ndg.security.server.pylons.container.controllers.error
592ndg.security.server.sso.sso.controllers.error" class="py-name" href="#" onclick="return doclink('link-39', 'error', 'link-39');">error</a></tt><tt class="py-op">(</tt><tt class="py-name">errorReq</tt><tt class="py-op">=</tt><tt class="py-name">errorReq</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
593<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">             </tt>
594<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
595<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-40" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-40', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-string">"Error sending error message: "</tt> <tt class="py-op">+</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">e</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
596<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line">                               </tt>
597<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'errorResp'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
598<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">            <tt class="py-keyword">raise</tt> <tt id="link-41" class="py-name"><a title="ndg.security.client.LogClient.LogClientError" class="py-name" href="#" onclick="return doclink('link-41', 'LogClientError', 'link-16');">LogClientError</a></tt><tt class="py-op">(</tt><tt class="py-name">resp</tt><tt class="py-op">[</tt><tt class="py-string">'errorResp'</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
599</div></div><a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line"> </tt><script type="text/javascript">
600<!--
601expandto(location.href);
602// -->
603</script>
604</pre>
605<br />
606<!-- ==================== NAVIGATION BAR ==================== -->
607<table class="navbar" border="0" width="100%" cellpadding="0"
608       bgcolor="#a0c0ff" cellspacing="0">
609  <tr valign="middle">
610  <!-- Home link -->
611      <th>&nbsp;&nbsp;&nbsp;<a
612        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
613
614  <!-- Tree link -->
615      <th>&nbsp;&nbsp;&nbsp;<a
616        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
617
618  <!-- Index link -->
619      <th>&nbsp;&nbsp;&nbsp;<a
620        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
621
622  <!-- Help link -->
623      <th>&nbsp;&nbsp;&nbsp;<a
624        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
625
626  <!-- Project homepage -->
627      <th class="navbar" align="right" width="100%">
628        <table border="0" cellpadding="0" cellspacing="0">
629          <tr><th class="navbar" align="center"
630            >NDG Security</th>
631          </tr></table></th>
632  </tr>
633</table>
634<table border="0" cellpadding="0" cellspacing="0" width="100%%">
635  <tr>
636    <td align="left" class="footer">
637    <a href="epydoc-log.html">Generated by Epydoc
638    3.0.1 on Thu Sep  4 09:37:56 2008</a>
639    </td>
640    <td align="right" class="footer">
641      <a target="mainFrame" href="http://epydoc.sourceforge.net"
642        >http://epydoc.sourceforge.net</a>
643    </td>
644  </tr>
645</table>
646
647<script type="text/javascript">
648  <!--
649  // Private objects are initially displayed (because if
650  // javascript is turned off then we want them to be
651  // visible); but by default, we want to hide them.  So hide
652  // them unless we have a cookie that says to show them.
653  checkCookie();
654  // -->
655</script>
656</body>
657</html>
Note: See TracBrowser for help on using the repository browser.