Ignore:
Timestamp:
29/09/08 16:05:29 (11 years ago)
Author:
pjkersha
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/documentation/epydoc/ndg.security.server.AttAuthority.AttCertLog-class.html

    r3153 r4245  
    6060</table> 
    6161<!-- ==================== 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 /> 
     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> 
    6363<center> 
    64 <center>  <map id="uml_class_diagram_for_ndg_secu_140" name="uml_class_diagram_for_ndg_secu_140"> 
    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.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,101,67,117"/> 
    67 <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"/> 
     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"/> 
    6867</map> 
    69   <img src="uml_class_diagram_for_ndg_secu_140.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_140" ismap="ismap" class="graph-without-title" /> 
    70 </center></center> 
     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> 
    7171<hr /> 
    72 Log each Attribute Certificate issued using a rotating file handler so 
    73   that the number of files held can be managed<br /><br /> 
     72<p>Log each Attribute Certificate issued using a rotating file handler so 
     73  that the number of files held can be managed</p> 
    7474 
    7575<!-- ==================== INSTANCE METHODS ==================== --> 
     
    111111  <tr> 
    112112    <td colspan="2" class="summary"> 
    113     <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>: 
    114       <code>addHandler</code>, 
    115       <code>callHandlers</code>, 
    116       <code>critical</code>, 
    117       <code>debug</code>, 
    118       <code>error</code>, 
    119       <code>exception</code>, 
    120       <code>fatal</code>, 
    121       <code>findCaller</code>, 
    122       <code>getEffectiveLevel</code>, 
    123       <code>handle</code>, 
    124       <code>info</code>, 
    125       <code>isEnabledFor</code>, 
    126       <code>log</code>, 
    127       <code>makeRecord</code>, 
    128       <code>removeHandler</code>, 
    129       <code>setLevel</code>, 
    130       <code>warn</code>, 
    131       <code>warning</code> 
    132       </p> 
    133     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b> (private): 
    134       <code>_log</code> 
    135       </p></div> 
    136     <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Filterer</code></b>: 
    137       <code>addFilter</code>, 
    138       <code>filter</code>, 
    139       <code>removeFilter</code> 
    140       </p> 
    141113    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 
    142114      <code>__delattr__</code>, 
     
    149121      <code>__setattr__</code>, 
    150122      <code>__str__</code> 
    151       </p> 
    152     </td> 
    153   </tr> 
    154 </table> 
    155 <!-- ==================== CLASS VARIABLES ==================== --> 
    156 <a name="section-ClassVariables"></a> 
    157 <table class="summary" border="1" cellpadding="3" 
    158        cellspacing="0" width="100%" bgcolor="white"> 
    159 <tr bgcolor="#70b0f0" class="table-header"> 
    160   <td colspan="2" class="table-header"> 
    161     <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
    162       <tr valign="top"> 
    163         <td align="left"><span class="table-header">Class Variables</span></td> 
    164         <td align="right" valign="top" 
    165          ><span class="options">[<a href="#section-ClassVariables" 
    166          class="privatelink" onclick="toggle_private();" 
    167          >hide private</a>]</span></td> 
    168       </tr> 
    169     </table> 
    170   </td> 
    171 </tr> 
    172   <tr> 
    173     <td colspan="2" class="summary"> 
    174     <p class="indent-wrapped-lines"><b>Inherited from <code>logging.Logger</code></b>: 
    175       <code>manager</code>, 
    176       <code>root</code> 
    177123      </p> 
    178124    </td> 
     
    237183    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttCertLog.__init__">source&nbsp;code</a></span>&nbsp; 
    238184    </td> 
    239   </table> 
     185  </tr></table> 
    240186   
    241   Set up a rotating file handler to log ACs issued. 
     187  <p>Set up a rotating file handler to log ACs issued.</p> 
    242188  <dl class="fields"> 
    243189    <dt>Parameters:</dt> 
    244190    <dd><ul class="nomargin-top"> 
    245         <li><strong class="pname"><code>attCertFilePath</code></strong> (string) - set where to store ACs.  Set from AttAuthority properties  
    246           file.</li> 
    247         <li><strong class="pname"><code>backUpCnt</code></strong> (int) - set the number of files to store before rotating and  
    248           overwriting old files.</li> 
     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> 
    249194    </ul></dd> 
    250195    <dt>Overrides: 
    251       logging.Logger.__init__ 
     196        object.__init__ 
    252197    </dt> 
    253198  </dl> 
     
    287232    <td align="left" class="footer"> 
    288233    <a href="epydoc-log.html">Generated by Epydoc 
    289     3.0beta1 on Mon Dec 17 09:22:47 2007</a> 
     234    3.0.1 on Thu Sep  4 09:37:49 2008</a> 
    290235    </td> 
    291236    <td align="right" class="footer"> 
    292       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     237      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     238        >http://epydoc.sourceforge.net</a> 
    293239    </td> 
    294240  </tr> 
     
    301247  // visible); but by default, we want to hide them.  So hide 
    302248  // them unless we have a cookie that says to show them. 
    303   checkCookie() 
     249  checkCookie(); 
    304250  // --> 
    305251</script> 
    306    
    307252</body> 
    308253</html> 
Note: See TracChangeset for help on using the changeset viewer.