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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.server.AttAuthority.AttCertLog-class.html@4245
Revision 4245, 9.7 KB checked in by pjkersha, 12 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.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><p class="nomargin-top"><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog">source&nbsp;code</a></span></p>
63<center>
64<center>  <map id="uml_class_diagram_for_ndg_secu_198" name="uml_class_diagram_for_ndg_secu_198">
65<area shape="rect" href="ndg.security.server.AttAuthority.AttCertLog&#45;class.html#__init__" title="Set up a rotating file handler to log ACs issued." alt="" coords="17,36,305,55"/>
66<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="16,11,307,56"/>
67</map>
68  <img src="uml_class_diagram_for_ndg_secu_198.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_198" ismap="ismap" class="graph-without-title" />
69</center>
70</center>
71<hr />
72<p>Log each Attribute Certificate issued using a rotating file handler so
73  that the number of files held can be managed</p>
74
75<!-- ==================== INSTANCE METHODS ==================== -->
76<a name="section-InstanceMethods"></a>
77<table class="summary" border="1" cellpadding="3"
78       cellspacing="0" width="100%" bgcolor="white">
79<tr bgcolor="#70b0f0" class="table-header">
80  <td colspan="2" class="table-header">
81    <table border="0" cellpadding="0" cellspacing="0" width="100%">
82      <tr valign="top">
83        <td align="left"><span class="table-header">Instance Methods</span></td>
84        <td align="right" valign="top"
85         ><span class="options">[<a href="#section-InstanceMethods"
86         class="privatelink" onclick="toggle_private();"
87         >hide private</a>]</span></td>
88      </tr>
89    </table>
90  </td>
91</tr>
92<tr>
93    <td width="15%" align="right" valign="top" class="summary">
94      <span class="summary-type">&nbsp;</span>
95    </td><td class="summary">
96      <table width="100%" cellpadding="0" cellspacing="0" border="0">
97        <tr>
98          <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>,
99        <span class="summary-sig-arg">attCertFilePath</span>,
100        <span class="summary-sig-arg">backUpCnt</span>=<span class="summary-sig-default">1024</span>)</span><br />
101      Set up a rotating file handler to log ACs issued.</td>
102          <td align="right" valign="top">
103            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog.__init__">source&nbsp;code</a></span>
104           
105          </td>
106        </tr>
107      </table>
108     
109    </td>
110  </tr>
111  <tr>
112    <td colspan="2" class="summary">
113    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
114      <code>__delattr__</code>,
115      <code>__getattribute__</code>,
116      <code>__hash__</code>,
117      <code>__new__</code>,
118      <code>__reduce__</code>,
119      <code>__reduce_ex__</code>,
120      <code>__repr__</code>,
121      <code>__setattr__</code>,
122      <code>__str__</code>
123      </p>
124    </td>
125  </tr>
126</table>
127<!-- ==================== PROPERTIES ==================== -->
128<a name="section-Properties"></a>
129<table class="summary" border="1" cellpadding="3"
130       cellspacing="0" width="100%" bgcolor="white">
131<tr bgcolor="#70b0f0" class="table-header">
132  <td colspan="2" class="table-header">
133    <table border="0" cellpadding="0" cellspacing="0" width="100%">
134      <tr valign="top">
135        <td align="left"><span class="table-header">Properties</span></td>
136        <td align="right" valign="top"
137         ><span class="options">[<a href="#section-Properties"
138         class="privatelink" onclick="toggle_private();"
139         >hide private</a>]</span></td>
140      </tr>
141    </table>
142  </td>
143</tr>
144  <tr>
145    <td colspan="2" class="summary">
146    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
147      <code>__class__</code>
148      </p>
149    </td>
150  </tr>
151</table>
152<!-- ==================== METHOD DETAILS ==================== -->
153<a name="section-MethodDetails"></a>
154<table class="details" border="1" cellpadding="3"
155       cellspacing="0" width="100%" bgcolor="white">
156<tr bgcolor="#70b0f0" class="table-header">
157  <td colspan="2" class="table-header">
158    <table border="0" cellpadding="0" cellspacing="0" width="100%">
159      <tr valign="top">
160        <td align="left"><span class="table-header">Method Details</span></td>
161        <td align="right" valign="top"
162         ><span class="options">[<a href="#section-MethodDetails"
163         class="privatelink" onclick="toggle_private();"
164         >hide private</a>]</span></td>
165      </tr>
166    </table>
167  </td>
168</tr>
169</table>
170<a name="__init__"></a>
171<div>
172<table class="details" border="1" cellpadding="3"
173       cellspacing="0" width="100%" bgcolor="white">
174<tr><td>
175  <table width="100%" cellpadding="0" cellspacing="0" border="0">
176  <tr valign="top"><td>
177  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
178        <span class="sig-arg">attCertFilePath</span>,
179        <span class="sig-arg">backUpCnt</span>=<span class="sig-default">1024</span>)</span>
180    <br /><em class="fname">(Constructor)</em>
181  </h3>
182  </td><td align="right" valign="top"
183    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog.__init__">source&nbsp;code</a></span>&nbsp;
184    </td>
185  </tr></table>
186 
187  <p>Set up a rotating file handler to log ACs issued.</p>
188  <dl class="fields">
189    <dt>Parameters:</dt>
190    <dd><ul class="nomargin-top">
191        <li><strong class="pname"><code>attCertFilePath</code></strong> (string) - set where to store ACs.  Set from AttAuthority properties file.</li>
192        <li><strong class="pname"><code>backUpCnt</code></strong> (int) - set the number of files to store before rotating and overwriting
193          old files.</li>
194    </ul></dd>
195    <dt>Overrides:
196        object.__init__
197    </dt>
198  </dl>
199</td></tr></table>
200</div>
201<br />
202<!-- ==================== NAVIGATION BAR ==================== -->
203<table class="navbar" border="0" width="100%" cellpadding="0"
204       bgcolor="#a0c0ff" cellspacing="0">
205  <tr valign="middle">
206  <!-- Home link -->
207      <th>&nbsp;&nbsp;&nbsp;<a
208        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
209
210  <!-- Tree link -->
211      <th>&nbsp;&nbsp;&nbsp;<a
212        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
213
214  <!-- Index link -->
215      <th>&nbsp;&nbsp;&nbsp;<a
216        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
217
218  <!-- Help link -->
219      <th>&nbsp;&nbsp;&nbsp;<a
220        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
221
222  <!-- Project homepage -->
223      <th class="navbar" align="right" width="100%">
224        <table border="0" cellpadding="0" cellspacing="0">
225          <tr><th class="navbar" align="center"
226            >NDG Security</th>
227          </tr></table></th>
228  </tr>
229</table>
230<table border="0" cellpadding="0" cellspacing="0" width="100%%">
231  <tr>
232    <td align="left" class="footer">
233    <a href="epydoc-log.html">Generated by Epydoc
234    3.0.1 on Thu Sep  4 09:37:49 2008</a>
235    </td>
236    <td align="right" class="footer">
237      <a target="mainFrame" href="http://epydoc.sourceforge.net"
238        >http://epydoc.sourceforge.net</a>
239    </td>
240  </tr>
241</table>
242
243<script type="text/javascript">
244  <!--
245  // Private objects are initially displayed (because if
246  // javascript is turned off then we want them to be
247  // visible); but by default, we want to hide them.  So hide
248  // them unless we have a cookie that says to show them.
249  checkCookie();
250  // -->
251</script>
252</body>
253</html>
Note: See TracBrowser for help on using the repository browser.