source: TI12-security/trunk/documentation/epydoc/ndg.security.server.AttAuthority.AttCertLog-class.html @ 3047

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.server.AttAuthority.AttCertLog-class.html@3047
Revision 3047, 12.3 KB checked in by pjkersha, 13 years ago (diff)

ndg.security.server/setup.py,
ndg.security.server/ndg/security/server/MyProxy.py,
setup.py,
ndg.security.client/setup.py,
ndg.security.test/setup.py,
ndg.security.common/setup.py: revised overall version to reflect important fixes to AA and getSessionStatus method add to SM

ndg-security-install.py: conf dir is now automatically copied to /etc/ndg/security default location. conf.x created where x is current egg version. A symlink to this from conf/ is created.

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.server.AttAuthority.AttCertLog</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.server-module.html">Package&nbsp;server</a> ::
48        <a href="ndg.security.server.AttAuthority-module.html">Package&nbsp;AttAuthority</a> ::
49        Class&nbsp;AttCertLog
50      </span>
51    </td>
52    <td>
53      <table cellpadding="0" cellspacing="0">
54        <!-- hide/show private -->
55        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
56    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
57      </table>
58    </td>
59  </tr>
60</table>
61<!-- ==================== CLASS DESCRIPTION ==================== -->
62<h1 class="epydoc">Class AttCertLog</h1><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog">source&nbsp;code</a></span><br /><br />
63<center>
64<center>  <map id="uml_class_diagram_for_ndg_secu_129" name="uml_class_diagram_for_ndg_secu_129">
65<area shape="rect" href="javascript: void(0);" title="Instances of the Logger class represent a single logging channel." alt="" coords="15,56,67,72"/>
66<area shape="rect" href="ndg.security.server.Log.Log&#45;class.html" title="NDG Security Logging class" alt="" coords="15,101,67,117"/>
67<area shape="rect" href="ndg.security.server.AttAuthority.AttCertLog&#45;class.html" title="Log each Attribute Certificate issued using a rotating file handler so that the number of files held can be managed" alt="" coords="15,147,67,163"/>
68<area shape="rect" href="javascript: void(0);" title="A base class for loggers and handlers which allows them to share common code." alt="" coords="15,11,67,27"/>
69</map>
70  <img src="uml_class_diagram_for_ndg_secu_129.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_129" ismap="ismap" class="graph-without-title" />
71</center></center>
72<hr />
73Log each Attribute Certificate issued using a rotating file handler so
74  that the number of files held can be managed<br /><br />
75
76<!-- ==================== INSTANCE METHODS ==================== -->
77<a name="section-InstanceMethods"></a>
78<table class="summary" border="1" cellpadding="3"
79       cellspacing="0" width="100%" bgcolor="white">
80<tr bgcolor="#70b0f0" class="table-header">
81  <td colspan="2" class="table-header">
82    <table border="0" cellpadding="0" cellspacing="0" width="100%">
83      <tr valign="top">
84        <td align="left"><span class="table-header">Instance Methods</span></td>
85        <td align="right" valign="top"
86         ><span class="options">[<a href="#section-InstanceMethods"
87         class="privatelink" onclick="toggle_private();"
88         >hide private</a>]</span></td>
89      </tr>
90    </table>
91  </td>
92</tr>
93<tr>
94    <td width="15%" align="right" valign="top" class="summary">
95      <span class="summary-type">&nbsp;</span>
96    </td><td class="summary">
97      <table width="100%" cellpadding="0" cellspacing="0" border="0">
98        <tr>
99          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttCertLog-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
100        <span class="summary-sig-arg">attCertFilePath</span>,
101        <span class="summary-sig-arg">backUpCnt</span>=<span class="summary-sig-default">1024</span>)</span><br />
102      Set up a rotating file handler to log ACs issued.</td>
103          <td align="right" valign="top">
104            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog.__init__">source&nbsp;code</a></span>
105           
106          </td>
107        </tr>
108      </table>
109     
110    </td>
111  </tr>
112  <tr>
113    <td colspan="2" class="summary">
114    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>:
115      <code>addHandler</code>,
116      <code>callHandlers</code>,
117      <code>critical</code>,
118      <code>debug</code>,
119      <code>error</code>,
120      <code>exception</code>,
121      <code>fatal</code>,
122      <code>findCaller</code>,
123      <code>getEffectiveLevel</code>,
124      <code>handle</code>,
125      <code>info</code>,
126      <code>isEnabledFor</code>,
127      <code>log</code>,
128      <code>makeRecord</code>,
129      <code>removeHandler</code>,
130      <code>setLevel</code>,
131      <code>warn</code>,
132      <code>warning</code>
133      </p>
134    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b> (private):
135      <code>_log</code>
136      </p></div>
137    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Filterer</code></b>:
138      <code>addFilter</code>,
139      <code>filter</code>,
140      <code>removeFilter</code>
141      </p>
142    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
143      <code>__delattr__</code>,
144      <code>__getattribute__</code>,
145      <code>__hash__</code>,
146      <code>__new__</code>,
147      <code>__reduce__</code>,
148      <code>__reduce_ex__</code>,
149      <code>__repr__</code>,
150      <code>__setattr__</code>,
151      <code>__str__</code>
152      </p>
153    </td>
154  </tr>
155</table>
156<!-- ==================== CLASS VARIABLES ==================== -->
157<a name="section-ClassVariables"></a>
158<table class="summary" border="1" cellpadding="3"
159       cellspacing="0" width="100%" bgcolor="white">
160<tr bgcolor="#70b0f0" class="table-header">
161  <td colspan="2" class="table-header">
162    <table border="0" cellpadding="0" cellspacing="0" width="100%">
163      <tr valign="top">
164        <td align="left"><span class="table-header">Class Variables</span></td>
165        <td align="right" valign="top"
166         ><span class="options">[<a href="#section-ClassVariables"
167         class="privatelink" onclick="toggle_private();"
168         >hide private</a>]</span></td>
169      </tr>
170    </table>
171  </td>
172</tr>
173  <tr>
174    <td colspan="2" class="summary">
175    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ndg.security.server.Log.Log-class.html">Log.Log</a></code></b>:
176      <code><a href="ndg.security.server.Log.Log-class.html#backUpCnt">backUpCnt</a></code>,
177      <code><a href="ndg.security.server.Log.Log-class.html#dateFmt">dateFmt</a></code>,
178      <code><a href="ndg.security.server.Log.Log-class.html#maxBytes">maxBytes</a></code>,
179      <code><a href="ndg.security.server.Log.Log-class.html#msgFmt">msgFmt</a></code>
180      </p>
181    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>:
182      <code>manager</code>,
183      <code>root</code>
184      </p>
185    </td>
186  </tr>
187</table>
188<!-- ==================== PROPERTIES ==================== -->
189<a name="section-Properties"></a>
190<table class="summary" border="1" cellpadding="3"
191       cellspacing="0" width="100%" bgcolor="white">
192<tr bgcolor="#70b0f0" class="table-header">
193  <td colspan="2" class="table-header">
194    <table border="0" cellpadding="0" cellspacing="0" width="100%">
195      <tr valign="top">
196        <td align="left"><span class="table-header">Properties</span></td>
197        <td align="right" valign="top"
198         ><span class="options">[<a href="#section-Properties"
199         class="privatelink" onclick="toggle_private();"
200         >hide private</a>]</span></td>
201      </tr>
202    </table>
203  </td>
204</tr>
205  <tr>
206    <td colspan="2" class="summary">
207    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
208      <code>__class__</code>
209      </p>
210    </td>
211  </tr>
212</table>
213<!-- ==================== METHOD DETAILS ==================== -->
214<a name="section-MethodDetails"></a>
215<table class="details" border="1" cellpadding="3"
216       cellspacing="0" width="100%" bgcolor="white">
217<tr bgcolor="#70b0f0" class="table-header">
218  <td colspan="2" class="table-header">
219    <table border="0" cellpadding="0" cellspacing="0" width="100%">
220      <tr valign="top">
221        <td align="left"><span class="table-header">Method Details</span></td>
222        <td align="right" valign="top"
223         ><span class="options">[<a href="#section-MethodDetails"
224         class="privatelink" onclick="toggle_private();"
225         >hide private</a>]</span></td>
226      </tr>
227    </table>
228  </td>
229</tr>
230</table>
231<a name="__init__"></a>
232<div>
233<table class="details" border="1" cellpadding="3"
234       cellspacing="0" width="100%" bgcolor="white">
235<tr><td>
236  <table width="100%" cellpadding="0" cellspacing="0" border="0">
237  <tr valign="top"><td>
238  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
239        <span class="sig-arg">attCertFilePath</span>,
240        <span class="sig-arg">backUpCnt</span>=<span class="sig-default">1024</span>)</span>
241    <br /><em class="fname">(Constructor)</em>
242  </h3>
243  </td><td align="right" valign="top"
244    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog.__init__">source&nbsp;code</a></span>&nbsp;
245    </td>
246  </table>
247 
248  Set up a rotating file handler to log ACs issued.
249  <dl class="fields">
250    <dt>Parameters:</dt>
251    <dd><ul class="nomargin-top">
252        <li><strong class="pname"><code>attCertFilePath</code></strong> (string) - set where to store ACs.  Set from AttAuthority properties
253          file.</li>
254        <li><strong class="pname"><code>backUpCnt</code></strong> (int) - set the number of files to store before rotating and
255          overwriting old files.</li>
256    </ul></dd>
257    <dt>Overrides:
258      <a href="ndg.security.server.Log.Log-class.html#__init__">Log.Log.__init__</a>
259    </dt>
260  </dl>
261</td></tr></table>
262</div>
263<br />
264<!-- ==================== NAVIGATION BAR ==================== -->
265<table class="navbar" border="0" width="100%" cellpadding="0"
266       bgcolor="#a0c0ff" cellspacing="0">
267  <tr valign="middle">
268  <!-- Home link -->
269      <th>&nbsp;&nbsp;&nbsp;<a
270        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
271
272  <!-- Tree link -->
273      <th>&nbsp;&nbsp;&nbsp;<a
274        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
275
276  <!-- Index link -->
277      <th>&nbsp;&nbsp;&nbsp;<a
278        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
279
280  <!-- Help link -->
281      <th>&nbsp;&nbsp;&nbsp;<a
282        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
283
284  <!-- Project homepage -->
285      <th class="navbar" align="right" width="100%">
286        <table border="0" cellpadding="0" cellspacing="0">
287          <tr><th class="navbar" align="center"
288            >NDG Security</th>
289          </tr></table></th>
290  </tr>
291</table>
292<table border="0" cellpadding="0" cellspacing="0" width="100%%">
293  <tr>
294    <td align="left" class="footer">
295    <a href="epydoc-log.html">Generated by Epydoc
296    3.0beta1 on Fri Nov 23 13:52:18 2007</a>
297    </td>
298    <td align="right" class="footer">
299      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
300    </td>
301  </tr>
302</table>
303
304<script type="text/javascript">
305  <!--
306  // Private objects are initially displayed (because if
307  // javascript is turned off then we want them to be
308  // visible); but by default, we want to hide them.  So hide
309  // them unless we have a cookie that says to show them.
310  checkCookie()
311  // -->
312</script>
313 
314</body>
315</html>
Note: See TracBrowser for help on using the repository browser.