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.AttAuthority-class.html

    r3153 r4245  
    6060</table> 
    6161<!-- ==================== CLASS DESCRIPTION ==================== --> 
    62 <h1 class="epydoc">Class AttAuthority</h1><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority">source&nbsp;code</a></span><br /><br /> 
     62<h1 class="epydoc">Class AttAuthority</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority">source&nbsp;code</a></span></p> 
    6363<center> 
    64 <center>  <map id="uml_class_diagram_for_ndg_secu_134" name="uml_class_diagram_for_ndg_secu_134"> 
    65 <area shape="rect" href="javascript: void(0);" title="dict() &#45;&gt; new empty dictionary." alt="" coords="15,11,67,27"/> 
    66 <area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html" title="NDG Attribute Authority &#45; server for allocation of user authorization tokens &#45; attribute certificates." alt="" coords="15,56,67,72"/> 
     64<center>  <map id="uml_class_diagram_for_ndg_secu_192" name="uml_class_diagram_for_ndg_secu_192"> 
     65<area shape="rect" href="javascript:void(0);" title="cmp(x,y)" alt="" coords="156,36,279,55"/> 
     66<area shape="rect" href="javascript:void(0);" title="x==y" alt="" coords="156,55,279,74"/> 
     67<area shape="rect" href="javascript:void(0);" title="x&gt;=y" alt="" coords="156,74,279,92"/> 
     68<area shape="rect" href="javascript:void(0);" title="x.__getattribute__(&#39;name&#39;) &lt;==&gt; x.name" alt="" coords="156,92,279,111"/> 
     69<area shape="rect" href="javascript:void(0);" title="x&gt;y" alt="" coords="156,111,279,130"/> 
     70<area shape="rect" href="javascript:void(0);" title="hash(x)" alt="" coords="156,130,279,148"/> 
     71<area shape="rect" href="javascript:void(0);" title="iter(x)" alt="" coords="156,148,279,167"/> 
     72<area shape="rect" href="javascript:void(0);" title="x&lt;=y" alt="" coords="156,167,279,186"/> 
     73<area shape="rect" href="javascript:void(0);" title="len(x)" alt="" coords="156,186,279,204"/> 
     74<area shape="rect" href="javascript:void(0);" title="x&lt;y" alt="" coords="156,204,279,223"/> 
     75<area shape="rect" href="javascript:void(0);" title="x!=y" alt="" coords="156,223,279,242"/> 
     76<area shape="rect" href="javascript:void(0);" title="dict.__new__" alt="" coords="156,242,279,260"/> 
     77<area shape="rect" href="javascript:void(0);" title="x[i]=y" alt="" coords="156,260,279,279"/> 
     78<area shape="rect" href="javascript:void(0);" title="Update D from E and F: for k in E: D[k] = E[k] (if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k]" alt="" coords="156,298,279,316"/> 
     79<area shape="rect" href="javascript:void(0);" title="dict() &#45;&gt; new empty dictionary." alt="" coords="155,11,280,318"/> 
     80<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#WS_SETTINGS_KEY" title="ndg.security.server.AttAuthority.AttAuthority.WS_SETTINGS_KEY" alt="" coords="17,364,417,383"/> 
     81<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#propFilePath" title="ndg.security.server.AttAuthority.AttAuthority.propFilePath" alt="" coords="17,383,417,402"/> 
     82<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#hostInfo" title="ndg.security.server.AttAuthority.AttAuthority.hostInfo" alt="" coords="17,402,417,420"/> 
     83<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#__init__" title="Create new NDG Attribute Authority instance" alt="" coords="17,423,417,442"/> 
     84<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#readProperties" title="Read the properties files and do some checking/converting of input values" alt="" coords="17,442,417,460"/> 
     85<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#__repr__" title="Return file properties dictionary as representation" alt="" coords="17,460,417,479"/> 
     86<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#__delitem__" title="del x[y]" alt="" coords="17,479,417,498"/> 
     87<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#__getitem__" title="x[y]" alt="" coords="17,498,417,516"/> 
     88<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#get" title="d defaults to None." alt="" coords="17,516,417,535"/> 
     89<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#clear" title="Remove all items from D." alt="" coords="17,535,417,554"/> 
     90<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#keys" title="ndg.security.server.AttAuthority.AttAuthority.keys" alt="" coords="17,554,417,572"/> 
     91<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#items" title="ndg.security.server.AttAuthority.AttAuthority.items" alt="" coords="17,572,417,591"/> 
     92<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#values" title="ndg.security.server.AttAuthority.AttAuthority.values" alt="" coords="17,591,417,610"/> 
     93<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#has_key" title="ndg.security.server.AttAuthority.AttAuthority.has_key" alt="" coords="17,610,417,628"/> 
     94<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#__contains__" title="ndg.security.server.AttAuthority.AttAuthority.__contains__" alt="" coords="17,628,417,647"/> 
     95<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#setPropFilePath" title="Set properties file from input or based on environment variable settings" alt="" coords="17,647,417,666"/> 
     96<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html#mapRemoteRoles2LocalRoles" title="Map roles of trusted hosts to roles for this data centre" alt="" coords="17,684,417,703"/> 
     97<area shape="rect" href="ndg.security.server.AttAuthority.AttAuthority&#45;class.html" title="NDG Attribute Authority &#45; server for allocation of user authorization tokens &#45; attribute certificates." alt="" coords="16,347,419,704"/> 
    6798</map> 
    68   <img src="uml_class_diagram_for_ndg_secu_134.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_134" ismap="ismap" class="graph-without-title" /> 
    69 </center></center> 
     99  <img src="uml_class_diagram_for_ndg_secu_192.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_192" ismap="ismap" class="graph-without-title" /> 
     100</center> 
     101</center> 
    70102<hr /> 
    71 NDG Attribute Authority - server for allocation of user authorization  
    72   tokens - attribute certificates.<br /><br /> 
     103<p>NDG Attribute Authority - server for allocation of user authorization  
     104  tokens - attribute certificates.</p> 
    73105 
    74106<!-- ==================== INSTANCE METHODS ==================== --> 
     
    91123<tr> 
    92124    <td width="15%" align="right" valign="top" class="summary"> 
    93       <span class="summary-type">&nbsp;</span> 
     125      <span class="summary-type"><pre class="literalblock"> 
     126new empty dictionary 
     127 
     128</pre></span> 
    94129    </td><td class="summary"> 
    95130      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     
    114149      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    115150        <tr> 
    116           <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#loadUserRolesInterface" class="summary-sig-name">loadUserRolesInterface</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    117       Set-up user roles interface - load host sites custom AAUserRoles  
    118       derived class.</td> 
    119           <td align="right" valign="top"> 
    120             <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.loadUserRolesInterface">source&nbsp;code</a></span> 
     151          <td><span class="summary-sig"><a name="readProperties"></a><span class="summary-sig-name">readProperties</span>(<span class="summary-sig-arg">self</span>)</span><br /> 
     152      Read the properties files and do some checking/converting of input  
     153      values</td> 
     154          <td align="right" valign="top"> 
     155            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.readProperties">source&nbsp;code</a></span> 
    121156             
    122157          </td> 
     
    181216<tr> 
    182217    <td width="15%" align="right" valign="top" class="summary"> 
    183       <span class="summary-type">&nbsp;</span> 
     218      <span class="summary-type">D[k] if k in D, else d</span> 
    184219    </td><td class="summary"> 
    185220      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     
    199234<tr> 
    200235    <td width="15%" align="right" valign="top" class="summary"> 
    201       <span class="summary-type">&nbsp;</span> 
     236      <span class="summary-type">None</span> 
    202237    </td><td class="summary"> 
    203238      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     
    216251<tr> 
    217252    <td width="15%" align="right" valign="top" class="summary"> 
    218       <span class="summary-type">&nbsp;</span> 
    219     </td><td class="summary"> 
    220       <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    221         <tr> 
    222           <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#keys" class="summary-sig-name">keys</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    223       Returns: 
    224 list of D's keys</td> 
     253      <span class="summary-type">list of D's keys</span> 
     254    </td><td class="summary"> 
     255      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     256        <tr> 
     257          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#keys" class="summary-sig-name">keys</a>(<span class="summary-sig-arg">self</span>)</span></td> 
    225258          <td align="right" valign="top"> 
    226259            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.keys">source&nbsp;code</a></span> 
     
    234267<tr> 
    235268    <td width="15%" align="right" valign="top" class="summary"> 
    236       <span class="summary-type">&nbsp;</span> 
    237     </td><td class="summary"> 
    238       <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    239         <tr> 
    240           <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#items" class="summary-sig-name">items</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    241       Returns: 
    242 list of D's (key, value) pairs, as 2-tuples</td> 
     269      <span class="summary-type">list of D's (key, value) pairs, as 2-tuples</span> 
     270    </td><td class="summary"> 
     271      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     272        <tr> 
     273          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#items" class="summary-sig-name">items</a>(<span class="summary-sig-arg">self</span>)</span></td> 
    243274          <td align="right" valign="top"> 
    244275            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.items">source&nbsp;code</a></span> 
     
    252283<tr> 
    253284    <td width="15%" align="right" valign="top" class="summary"> 
    254       <span class="summary-type">&nbsp;</span> 
    255     </td><td class="summary"> 
    256       <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    257         <tr> 
    258           <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#values" class="summary-sig-name">values</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    259       Returns: 
    260 list of D's values</td> 
     285      <span class="summary-type">list of D's values</span> 
     286    </td><td class="summary"> 
     287      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     288        <tr> 
     289          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#values" class="summary-sig-name">values</a>(<span class="summary-sig-arg">self</span>)</span></td> 
    261290          <td align="right" valign="top"> 
    262291            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.values">source&nbsp;code</a></span> 
     
    270299<tr> 
    271300    <td width="15%" align="right" valign="top" class="summary"> 
    272       <span class="summary-type">&nbsp;</span> 
     301      <span class="summary-type">True if D has a key k, else False</span> 
    273302    </td><td class="summary"> 
    274303      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    275304        <tr> 
    276305          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#has_key" class="summary-sig-name">has_key</a>(<span class="summary-sig-arg">self</span>, 
    277         <span class="summary-sig-arg">key</span>)</span><br /> 
    278       Returns: 
    279 True if D has a key k, else False</td> 
     306        <span class="summary-sig-arg">key</span>)</span></td> 
    280307          <td align="right" valign="top"> 
    281308            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.has_key">source&nbsp;code</a></span> 
     
    289316<tr> 
    290317    <td width="15%" align="right" valign="top" class="summary"> 
    291       <span class="summary-type">&nbsp;</span> 
     318      <span class="summary-type">True if D has a key k, else False</span> 
    292319    </td><td class="summary"> 
    293320      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    294321        <tr> 
    295322          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#__contains__" class="summary-sig-name">__contains__</a>(<span class="summary-sig-arg">self</span>, 
    296         <span class="summary-sig-arg">key</span>)</span><br /> 
    297       Returns: 
    298 True if D has a key k, else False</td> 
     323        <span class="summary-sig-arg">key</span>)</span></td> 
    299324          <td align="right" valign="top"> 
    300325            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__contains__">source&nbsp;code</a></span> 
     
    318343          <td align="right" valign="top"> 
    319344            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.setPropFilePath">source&nbsp;code</a></span> 
     345             
     346          </td> 
     347        </tr> 
     348      </table> 
     349       
     350    </td> 
     351  </tr> 
     352<tr> 
     353    <td width="15%" align="right" valign="top" class="summary"> 
     354      <span class="summary-type">&nbsp;</span> 
     355    </td><td class="summary"> 
     356      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     357        <tr> 
     358          <td><span class="summary-sig"><a name="getPropFilePath"></a><span class="summary-sig-name">getPropFilePath</span>(<span class="summary-sig-arg">self</span>)</span></td> 
     359          <td align="right" valign="top"> 
     360            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getPropFilePath">source&nbsp;code</a></span> 
    320361             
    321362          </td> 
     
    337378        <span class="summary-sig-arg">userAttCert</span>=<span class="summary-sig-default">None</span>, 
    338379        <span class="summary-sig-arg">userAttCertFilePath</span>=<span class="summary-sig-default">None</span>)</span><br /> 
    339       Request a new Attribute Certificate for use in authorisation 
    340  
    341 getAttCert([userId=uid][holderCert=px|holderCertFilePath=pxFile, ] 
    342            [userAttCert=cert|userAttCertFilePath=certFile]) 
    343   
    344 @type userId: string 
    345 @param userId: identifier for the user who is entitled to the roles 
    346 in the certificate that is issued.</td> 
     380      Request a new Attribute Certificate for use in authorisation</td> 
    347381          <td align="right" valign="top"> 
    348382            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getAttCert">source&nbsp;code</a></span> 
    349              
    350           </td> 
    351         </tr> 
    352       </table> 
    353        
    354     </td> 
    355   </tr> 
    356 <tr> 
    357     <td width="15%" align="right" valign="top" class="summary"> 
    358       <span class="summary-type">&nbsp;</span> 
    359     </td><td class="summary"> 
    360       <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    361         <tr> 
    362           <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#readProperties" class="summary-sig-name">readProperties</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    363       Read the configuration properties for the Attribute Authority.</td> 
    364           <td align="right" valign="top"> 
    365             <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.readProperties">source&nbsp;code</a></span> 
    366383             
    367384          </td> 
     
    397414          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#userIsRegistered" class="summary-sig-name">userIsRegistered</a>(<span class="summary-sig-arg">self</span>, 
    398415        <span class="summary-sig-arg">userId</span>)</span><br /> 
    399       Check a particular user is registered with the Data Centre that  
    400       the Attribute Authority represents</td> 
     416      Check a particular user is registered with the Data Centre that the  
     417      Attribute Authority represents</td> 
    401418          <td align="right" valign="top"> 
    402419            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.userIsRegistered">source&nbsp;code</a></span> 
     
    416433          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#getRoles" class="summary-sig-name">getRoles</a>(<span class="summary-sig-arg">self</span>, 
    417434        <span class="summary-sig-arg">userId</span>)</span><br /> 
    418       Get the roles available to the registered user identified  
    419       userId.</td> 
     435      Get the roles available to the registered user identified userId.</td> 
    420436          <td align="right" valign="top"> 
    421437            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getRoles">source&nbsp;code</a></span> 
     
    433449      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    434450        <tr> 
    435           <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#__getHostInfo" class="summary-sig-name">__getHostInfo</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    436       Return the host that this Attribute Authority represents: its ID,  
    437       the user login URI and WSDL address.</td> 
     451          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#__getHostInfo" class="summary-sig-name" onclick="show_private();">__getHostInfo</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
     452      Return the host that this Attribute Authority represents: its ID, the 
     453      user login URI and WSDL address.</td> 
    438454          <td align="right" valign="top"> 
    439455            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__getHostInfo">source&nbsp;code</a></span> 
     
    453469          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#getTrustedHostInfo" class="summary-sig-name">getTrustedHostInfo</a>(<span class="summary-sig-arg">self</span>, 
    454470        <span class="summary-sig-arg">role</span>=<span class="summary-sig-default">None</span>)</span><br /> 
    455       Return a dictionary of the hosts that have trust relationships  
    456       with this AA.</td> 
     471      Return a dictionary of the hosts that have trust relationships with  
     472      this AA.</td> 
    457473          <td align="right" valign="top"> 
    458474            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getTrustedHostInfo">source&nbsp;code</a></span> 
     
    540556      <span class="summary-type">string</span> 
    541557    </td><td class="summary"> 
    542         <a name="__confDir"></a><span class="summary-name">__confDir</span> = <code title="'conf'"><code class="variable-quote">'</code><code class="variable-string">conf</code><code class="variable-quote">'</code></code><br /> 
     558        <a name="__confDir"></a><span class="summary-name">__confDir</span> = <code title="&quot;conf&quot;">&quot;conf&quot;</code><br /> 
    543559      configuration directory under $NDGSEC_DIR - default location for  
    544560      properties file 
     
    549565      <span class="summary-type">string</span> 
    550566    </td><td class="summary"> 
    551         <a name="__propFileName"></a><span class="summary-name">__propFileName</span> = <code title="'attAuthorityProperties.xml'"><code class="variable-quote">'</code><code class="variable-string">attAuthorityProperties.xml</code><code class="variable-quote">'</code></code><br /> 
     567        <a name="__propFileName"></a><span class="summary-name">__propFileName</span> = <code title="&quot;attAuthorityProperties.xml&quot;">&quot;attAuthorityProperties.xml&quot;</code><br /> 
    552568      default file name for properties file under __confDir 
    553569    </td> 
     
    557573      <span class="summary-type">dict</span> 
    558574    </td><td class="summary"> 
    559         <a href="ndg.security.server.AttAuthority.AttAuthority-class.html#__validKeys" class="summary-name">__validKeys</a> = <code title="{'attCertDir': '', 
    560  'attCertFileLogCnt': 0, 
    561  'attCertFileName': '', 
    562  'attCertLifetime': -1, 
    563  'attCertNotBeforeOff': 0, 
    564  'caCertFileList': [], 
    565  'certFile': '', 
    566  'clntCertFile': '', 
    567 ..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">attCertDir</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">attCertFileLogCnt</code><code class="variable-quote">'</code><code class="variable-op">: </code>0<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">attC</code><code class="variable-ellipsis">...</code></code><br /> 
    568       valid configuration property keywords - properties file must  
    569       contain these 
     575        <a href="ndg.security.server.AttAuthority.AttAuthority-class.html#__validKeys" class="summary-name" onclick="show_private();">__validKeys</a> = <code title="{'name': '', 'portNum':-1, 'useSSL': False, 'sslCertFile': '', 'sslKey\ 
     576File': '', 'sslKeyPwd': '', 'sslCACertDir': '', 'attCertLifetime':-1, \ 
     577'attCertNotBeforeOff': 0, 'attCertFileName': '', 'attCertFileLogCnt': \ 
     5780, 'mapConfigFile': '', 'attCertDir': '', 'dnSeparator': '', 'userRole\ 
     579sModFilePath': '', 'userRolesModName': '', 'userRolesClassName': '', '\ 
     580userRolesPropFile': ''}">{'name': '', 'portNum':-1, 'useSSL': False, 'ssl<code class="variable-ellipsis">...</code></code><br /> 
     581      valid configuration property keywords - properties file must contain  
     582      these 
     583    </td> 
     584  </tr> 
     585<tr> 
     586    <td width="15%" align="right" valign="top" class="summary"> 
     587      <span class="summary-type">&nbsp;</span> 
     588    </td><td class="summary"> 
     589        <a name="WS_SETTINGS_KEY"></a><span class="summary-name">WS_SETTINGS_KEY</span> = <code title="'WS-Security'">'WS-Security'</code> 
     590    </td> 
     591  </tr> 
     592<tr> 
     593    <td width="15%" align="right" valign="top" class="summary"> 
     594      <span class="summary-type">&nbsp;</span> 
     595    </td><td class="summary"> 
     596        <a href="ndg.security.server.AttAuthority.AttAuthority-class.html#propFilePath" class="summary-name">propFilePath</a> = <code title="property(fset= setPropFilePath, fget= getPropFilePath, doc= &quot;Set the p\ 
     597ath to the properties file&quot;)">property(fset= setPropFilePath, fget= getPropFi<code class="variable-ellipsis">...</code></code> 
     598    </td> 
     599  </tr> 
     600<tr> 
     601    <td width="15%" align="right" valign="top" class="summary"> 
     602      <span class="summary-type">&nbsp;</span> 
     603    </td><td class="summary"> 
     604        <a href="ndg.security.server.AttAuthority.AttAuthority-class.html#hostInfo" class="summary-name">hostInfo</a> = <code title="property(fget= __getHostInfo, doc= &quot;Return information about this host\ 
     605&quot;)">property(fget= __getHostInfo, doc= &quot;Return informat<code class="variable-ellipsis">...</code></code> 
    570606    </td> 
    571607  </tr> 
     
    588624  </td> 
    589625</tr> 
    590 <tr> 
    591     <td width="15%" align="right" valign="top" class="summary"> 
    592       <span class="summary-type">&nbsp;</span> 
    593     </td><td class="summary"> 
    594         <a href="ndg.security.server.AttAuthority.AttAuthority-class.html#propFilePath" class="summary-name">propFilePath</a><br /> 
    595       Set the path to the properties file 
    596     </td> 
    597   </tr> 
    598 <tr> 
    599     <td width="15%" align="right" valign="top" class="summary"> 
    600       <span class="summary-type">&nbsp;</span> 
    601     </td><td class="summary"> 
    602         <a href="ndg.security.server.AttAuthority.AttAuthority-class.html#hostInfo" class="summary-name">hostInfo</a><br /> 
    603       Return information about this host 
    604     </td> 
    605   </tr> 
    606626  <tr> 
    607627    <td colspan="2" class="summary"> 
     
    645665    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__init__">source&nbsp;code</a></span>&nbsp; 
    646666    </td> 
    647   </table> 
    648    
    649   Create new NDG Attribute Authority instance 
    650   <dl class="fields"> 
    651     <dt>Parameters:</dt> 
    652     <dd><ul class="nomargin-top"> 
    653         <li><strong class="pname"><code>propFilePath</code></strong> (string) - path to file containing Attribute Authority configuration  
    654           parameters.  It defaults to $NDGSEC_AA_PROPFILEPATH or if not  
    655           set, $NDGSEC_DIR/conf/attAuthorityProperties.xml</li> 
    656         <li><strong class="pname"><code>bReadMapConfig</code></strong> (boolean) - by default the Map Configuration file is read.  Set this flag  
    657           to False to override.</li> 
    658     </ul></dd> 
    659     <dt>Returns:</dt> 
    660         <dd><pre class="literalblock"> 
     667  </tr></table> 
     668   
     669  <pre class="literalblock"> 
     670Create new NDG Attribute Authority instance 
     671 
     672@type propFilePath: string 
     673@param propFilePath: path to file containing Attribute Authority 
     674configuration parameters.  It defaults to $NDGSEC_AA_PROPFILEPATH or 
     675if not set, $NDGSEC_DIR/conf/attAuthorityProperties.xml 
     676- if the filename ends with 'xml', it is assumed to be in the xml format 
     677- otherwise it is assumed to be a flat text 'ini' type file 
     678@type bReadMapConfig: boolean 
     679@param bReadMapConfig: by default the Map Configuration file is  
     680read.  Set this flag to False to override. 
     681 
     682</pre> 
     683  <dl class="fields"> 
     684    <dt>Returns: <pre class="literalblock"> 
    661685new empty dictionary 
    662686 
    663 </pre></dd> 
     687</pre></dt> 
    664688    <dt>Overrides: 
    665       dict.__init__ 
     689        object.__init__ 
    666690    </dt> 
    667   </dl> 
    668 </td></tr></table> 
    669 </div> 
    670 <a name="loadUserRolesInterface"></a> 
    671 <div> 
    672 <table class="details" border="1" cellpadding="3" 
    673        cellspacing="0" width="100%" bgcolor="white"> 
    674 <tr><td> 
    675   <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    676   <tr valign="top"><td> 
    677   <h3 class="epydoc"><span class="sig"><span class="sig-name">loadUserRolesInterface</span>(<span class="sig-arg">self</span>)</span> 
    678   </h3> 
    679   </td><td align="right" valign="top" 
    680     ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.loadUserRolesInterface">source&nbsp;code</a></span>&nbsp; 
    681     </td> 
    682   </table> 
    683    
    684   Set-up user roles interface - load host sites custom AAUserRoles  
    685   derived class.  This class interfaces with the sites mechanism for  
    686   mapping user ID to the roles to which they are entitled.  This could be  
    687   via a user database 
    688   <dl class="fields"> 
    689691  </dl> 
    690692</td></tr></table> 
     
    703705    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__repr__">source&nbsp;code</a></span>&nbsp; 
    704706    </td> 
    705   </table> 
    706    
    707   Return file properties dictionary as representation 
     707  </tr></table> 
     708   
     709  <p>Return file properties dictionary as representation</p> 
    708710  <dl class="fields"> 
    709711    <dt>Overrides: 
    710       dict.__repr__ 
     712        object.__repr__ 
    711713    </dt> 
    712714  </dl> 
     
    727729    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__delitem__">source&nbsp;code</a></span>&nbsp; 
    728730    </td> 
    729   </table> 
    730    
    731   del x[y] 
     731  </tr></table> 
     732   
     733  <p>del x[y]</p> 
    732734  <dl class="fields"> 
    733735    <dt>Overrides: 
    734       dict.__delitem__ 
     736        dict.__delitem__ 
    735737        <dd><em class="note">(inherited documentation)</em></dd> 
    736738    </dt> 
     
    752754    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__getitem__">source&nbsp;code</a></span>&nbsp; 
    753755    </td> 
    754   </table> 
    755    
    756   x[y] 
     756  </tr></table> 
     757   
     758  <p>x[y]</p> 
    757759  <dl class="fields"> 
    758760    <dt>Overrides: 
    759       dict.__getitem__ 
     761        dict.__getitem__ 
    760762        <dd><em class="note">(inherited documentation)</em></dd> 
    761763    </dt> 
     
    776778    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.get">source&nbsp;code</a></span>&nbsp; 
    777779    </td> 
    778   </table> 
    779    
    780   d defaults to None. 
    781   <dl class="fields"> 
    782     <dt>Returns:</dt> 
    783         <dd><pre class="literalblock"> 
    784 D[k] if k in D, else d 
    785  
    786 </pre></dd> 
     780  </tr></table> 
     781   
     782  <p>d defaults to None.</p> 
     783  <dl class="fields"> 
     784    <dt>Returns: D[k] if k in D, else d</dt> 
    787785    <dt>Overrides: 
    788       dict.get 
     786        dict.get 
    789787        <dd><em class="note">(inherited documentation)</em></dd> 
    790788    </dt> 
     
    804802    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.clear">source&nbsp;code</a></span>&nbsp; 
    805803    </td> 
    806   </table> 
    807    
    808   Remove all items from D. 
    809   <dl class="fields"> 
    810     <dt>Returns:</dt> 
    811         <dd><pre class="literalblock"> 
    812 None 
    813  
    814 </pre></dd> 
     804  </tr></table> 
     805   
     806  <p>Remove all items from D.</p> 
     807  <dl class="fields"> 
     808    <dt>Returns: None</dt> 
    815809    <dt>Overrides: 
    816       dict.clear 
     810        dict.clear 
    817811        <dd><em class="note">(inherited documentation)</em></dd> 
    818812    </dt> 
     
    832826    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.keys">source&nbsp;code</a></span>&nbsp; 
    833827    </td> 
    834   </table> 
    835    
    836    
    837   <dl class="fields"> 
    838     <dt>Returns:</dt> 
    839         <dd><pre class="literalblock"> 
    840 list of D's keys 
    841  
    842 </pre></dd> 
     828  </tr></table> 
     829   
     830   
     831  <dl class="fields"> 
     832    <dt>Returns: list of D's keys</dt> 
    843833    <dt>Overrides: 
    844       dict.keys 
     834        dict.keys 
    845835        <dd><em class="note">(inherited documentation)</em></dd> 
    846836    </dt> 
     
    860850    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.items">source&nbsp;code</a></span>&nbsp; 
    861851    </td> 
    862   </table> 
    863    
    864    
    865   <dl class="fields"> 
    866     <dt>Returns:</dt> 
    867         <dd><pre class="literalblock"> 
    868 list of D's (key, value) pairs, as 2-tuples 
    869  
    870 </pre></dd> 
     852  </tr></table> 
     853   
     854   
     855  <dl class="fields"> 
     856    <dt>Returns: list of D's (key, value) pairs, as 2-tuples</dt> 
    871857    <dt>Overrides: 
    872       dict.items 
     858        dict.items 
    873859        <dd><em class="note">(inherited documentation)</em></dd> 
    874860    </dt> 
     
    888874    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.values">source&nbsp;code</a></span>&nbsp; 
    889875    </td> 
    890   </table> 
    891    
    892    
    893   <dl class="fields"> 
    894     <dt>Returns:</dt> 
    895         <dd><pre class="literalblock"> 
    896 list of D's values 
    897  
    898 </pre></dd> 
     876  </tr></table> 
     877   
     878   
     879  <dl class="fields"> 
     880    <dt>Returns: list of D's values</dt> 
    899881    <dt>Overrides: 
    900       dict.values 
     882        dict.values 
    901883        <dd><em class="note">(inherited documentation)</em></dd> 
    902884    </dt> 
     
    917899    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.has_key">source&nbsp;code</a></span>&nbsp; 
    918900    </td> 
    919   </table> 
    920    
    921    
    922   <dl class="fields"> 
    923     <dt>Returns:</dt> 
    924         <dd><pre class="literalblock"> 
    925 True if D has a key k, else False 
    926  
    927 </pre></dd> 
     901  </tr></table> 
     902   
     903   
     904  <dl class="fields"> 
     905    <dt>Returns: True if D has a key k, else False</dt> 
    928906    <dt>Overrides: 
    929       dict.has_key 
     907        dict.has_key 
    930908        <dd><em class="note">(inherited documentation)</em></dd> 
    931909    </dt> 
     
    947925    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__contains__">source&nbsp;code</a></span>&nbsp; 
    948926    </td> 
    949   </table> 
    950    
    951    
    952   <dl class="fields"> 
    953     <dt>Returns:</dt> 
    954         <dd><pre class="literalblock"> 
    955 True if D has a key k, else False 
    956  
    957 </pre></dd> 
     927  </tr></table> 
     928   
     929   
     930  <dl class="fields"> 
     931    <dt>Returns: True if D has a key k, else False</dt> 
    958932    <dt>Overrides: 
    959       dict.__contains__ 
     933        dict.__contains__ 
    960934        <dd><em class="note">(inherited documentation)</em></dd> 
    961935    </dt> 
     
    980954    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getAttCert">source&nbsp;code</a></span>&nbsp; 
    981955    </td> 
    982   </table> 
     956  </tr></table> 
    983957   
    984958  <pre class="literalblock"> 
     
    10281002</td></tr></table> 
    10291003</div> 
    1030 <a name="readProperties"></a> 
    1031 <div> 
    1032 <table class="details" border="1" cellpadding="3" 
    1033        cellspacing="0" width="100%" bgcolor="white"> 
    1034 <tr><td> 
    1035   <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    1036   <tr valign="top"><td> 
    1037   <h3 class="epydoc"><span class="sig"><span class="sig-name">readProperties</span>(<span class="sig-arg">self</span>)</span> 
    1038   </h3> 
    1039   </td><td align="right" valign="top" 
    1040     ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.readProperties">source&nbsp;code</a></span>&nbsp; 
    1041     </td> 
    1042   </table> 
    1043    
    1044   Read the configuration properties for the Attribute Authority. Nb. if  
    1045   parameters for the user roles interface change loadUserRolesInterface()  
    1046   must be called explicitly in order for the changes to take effect 
     1004<a name="readMapConfig"></a> 
     1005<div> 
     1006<table class="details" border="1" cellpadding="3" 
     1007       cellspacing="0" width="100%" bgcolor="white"> 
     1008<tr><td> 
     1009  <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
     1010  <tr valign="top"><td> 
     1011  <h3 class="epydoc"><span class="sig"><span class="sig-name">readMapConfig</span>(<span class="sig-arg">self</span>, 
     1012        <span class="sig-arg">mapConfigFilePath</span>=<span class="sig-default">None</span>)</span> 
     1013  </h3> 
     1014  </td><td align="right" valign="top" 
     1015    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.readMapConfig">source&nbsp;code</a></span>&nbsp; 
     1016    </td> 
     1017  </tr></table> 
     1018   
     1019  <p>Parse Map Configuration file.</p> 
    10471020  <dl class="fields"> 
    10481021    <dt>Parameters:</dt> 
    10491022    <dd><ul class="nomargin-top"> 
    1050         <li><strong class="pname"><code>propFilePath</code></strong> (string) - file path to properties file</li> 
    1051     </ul></dd> 
    1052   </dl> 
    1053 </td></tr></table> 
    1054 </div> 
    1055 <a name="readMapConfig"></a> 
    1056 <div> 
    1057 <table class="details" border="1" cellpadding="3" 
    1058        cellspacing="0" width="100%" bgcolor="white"> 
    1059 <tr><td> 
    1060   <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    1061   <tr valign="top"><td> 
    1062   <h3 class="epydoc"><span class="sig"><span class="sig-name">readMapConfig</span>(<span class="sig-arg">self</span>, 
    1063         <span class="sig-arg">mapConfigFilePath</span>=<span class="sig-default">None</span>)</span> 
    1064   </h3> 
    1065   </td><td align="right" valign="top" 
    1066     ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.readMapConfig">source&nbsp;code</a></span>&nbsp; 
    1067     </td> 
    1068   </table> 
    1069    
    1070   Parse Map Configuration file. 
    1071   <dl class="fields"> 
    1072     <dt>Parameters:</dt> 
    1073     <dd><ul class="nomargin-top"> 
    1074         <li><strong class="pname"><code>mapConfigFilePath</code></strong> (string) - file path for map configuration file.  If omitted, it uses  
    1075           member variable __prop['mapConfigFile'].</li> 
     1023        <li><strong class="pname"><code>mapConfigFilePath</code></strong> (string) - file path for map configuration file.  If omitted, it uses member 
     1024          variable __prop['mapConfigFile'].</li> 
    10761025    </ul></dd> 
    10771026  </dl> 
     
    10911040    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.userIsRegistered">source&nbsp;code</a></span>&nbsp; 
    10921041    </td> 
    1093   </table> 
     1042  </tr></table> 
    10941043   
    10951044  <p>Check a particular user is registered with the Data Centre that the  
    10961045  Attribute Authority represents</p> 
    1097   Nb. this method is not used internally by AttAuthority class and is  
    1098   not a required part of the AAUserRoles API 
     1046  <p>Nb. this method is not used internally by AttAuthority class and is  
     1047  not a required part of the AAUserRoles API</p> 
    10991048  <dl class="fields"> 
    11001049    <dt>Parameters:</dt> 
     
    11201069    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getRoles">source&nbsp;code</a></span>&nbsp; 
    11211070    </td> 
    1122   </table> 
    1123    
    1124   Get the roles available to the registered user identified userId. 
     1071  </tr></table> 
     1072   
     1073  <p>Get the roles available to the registered user identified userId.</p> 
    11251074  <dl class="fields"> 
    11261075    <dt>Parameters:</dt> 
     
    11451094    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.__getHostInfo">source&nbsp;code</a></span>&nbsp; 
    11461095    </td> 
    1147   </table> 
    1148    
    1149   Return the host that this Attribute Authority represents: its ID, the  
     1096  </tr></table> 
     1097   
     1098  <p>Return the host that this Attribute Authority represents: its ID, the  
    11501099  user login URI and WSDL address.  Call this method via the 'hostInfo'  
    1151   property 
     1100  property</p> 
    11521101  <dl class="fields"> 
    11531102    <dt>Returns: dict</dt> 
    1154         <dd>dictionary of host information derived from the map  
    1155           configuration</dd> 
     1103        <dd>dictionary of host information derived from the map configuration</dd> 
    11561104  </dl> 
    11571105</td></tr></table> 
     
    11701118    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.getTrustedHostInfo">source&nbsp;code</a></span>&nbsp; 
    11711119    </td> 
    1172   </table> 
    1173    
    1174   Return a dictionary of the hosts that have trust relationships with  
     1120  </tr></table> 
     1121   
     1122  <p>Return a dictionary of the hosts that have trust relationships with  
    11751123  this AA.  The dictionary is indexed by the trusted host name and contains 
    11761124  AA service, login URIs and the roles that map to the given input local  
    1177   role. 
     1125  role.</p> 
    11781126  <dl class="fields"> 
    11791127    <dt>Parameters:</dt> 
    11801128    <dd><ul class="nomargin-top"> 
    1181         <li><strong class="pname"><code>role</code></strong> (string) - if set, return trusted hosts that having a mapping set for  
    1182           this role.  If no role is input, return all the AA's trusted  
    1183           hosts with all their possible roles</li> 
     1129        <li><strong class="pname"><code>role</code></strong> (string) - if set, return trusted hosts that having a mapping set for this  
     1130          role.  If no role is input, return all the AA's trusted hosts  
     1131          with all their possible roles</li> 
    11841132    </ul></dd> 
    11851133    <dt>Returns: dict</dt> 
    1186         <dd>dictionary of the hosts that have trust relationships with  
    1187           this AA.  It returns an empty dictionary if role isn't  
    1188           recognised</dd> 
     1134        <dd>dictionary of the hosts that have trust relationships with this  
     1135          AA.  It returns an empty dictionary if role isn't recognised</dd> 
    11891136  </dl> 
    11901137</td></tr></table> 
     
    12041151    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AttAuthority.mapRemoteRoles2LocalRoles">source&nbsp;code</a></span>&nbsp; 
    12051152    </td> 
    1206   </table> 
    1207    
    1208   Map roles of trusted hosts to roles for this data centre 
     1153  </tr></table> 
     1154   
     1155  <p>Map roles of trusted hosts to roles for this data centre</p> 
    12091156  <dl class="fields"> 
    12101157    <dt>Parameters:</dt> 
     
    12521199    <dt>Value:</dt> 
    12531200      <dd><table><tr><td><pre class="variable"> 
    1254 <code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">attCertDir</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    1255  <code class="variable-quote">'</code><code class="variable-string">attCertFileLogCnt</code><code class="variable-quote">'</code><code class="variable-op">: </code>0<code class="variable-op">,</code> 
    1256  <code class="variable-quote">'</code><code class="variable-string">attCertFileName</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    1257  <code class="variable-quote">'</code><code class="variable-string">attCertLifetime</code><code class="variable-quote">'</code><code class="variable-op">: </code>-1<code class="variable-op">,</code> 
    1258  <code class="variable-quote">'</code><code class="variable-string">attCertNotBeforeOff</code><code class="variable-quote">'</code><code class="variable-op">: </code>0<code class="variable-op">,</code> 
    1259  <code class="variable-quote">'</code><code class="variable-string">caCertFileList</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-group">[</code><code class="variable-group">]</code><code class="variable-op">,</code> 
    1260  <code class="variable-quote">'</code><code class="variable-string">certFile</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    1261  <code class="variable-quote">'</code><code class="variable-string">clntCertFile</code><code class="variable-quote">'</code><code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    1262 <code class="variable-ellipsis">...</code> 
     1201{'name': '', 'portNum':-1, 'useSSL': False, 'sslCertFile': '', 'sslKey<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     1202File': '', 'sslKeyPwd': '', 'sslCACertDir': '', 'attCertLifetime':-1, <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     1203'attCertNotBeforeOff': 0, 'attCertFileName': '', 'attCertFileLogCnt': <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     12040, 'mapConfigFile': '', 'attCertDir': '', 'dnSeparator': '', 'userRole<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     1205sModFilePath': '', 'userRolesModName': '', 'userRolesClassName': '', '<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     1206userRolesPropFile': ''} 
    12631207</pre></td></tr></table> 
    12641208</dd> 
     
    12661210</td></tr></table> 
    12671211</div> 
    1268 <br /> 
    1269 <!-- ==================== PROPERTY DETAILS ==================== --> 
    1270 <a name="section-PropertyDetails"></a> 
    1271 <table class="details" border="1" cellpadding="3" 
    1272        cellspacing="0" width="100%" bgcolor="white"> 
    1273 <tr bgcolor="#70b0f0" class="table-header"> 
    1274   <td colspan="2" class="table-header"> 
    1275     <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
    1276       <tr valign="top"> 
    1277         <td align="left"><span class="table-header">Property Details</span></td> 
    1278         <td align="right" valign="top" 
    1279          ><span class="options">[<a href="#section-PropertyDetails" 
    1280          class="privatelink" onclick="toggle_private();" 
    1281          >hide private</a>]</span></td> 
    1282       </tr> 
    1283     </table> 
    1284   </td> 
    1285 </tr> 
    1286 </table> 
    12871212<a name="propFilePath"></a> 
    12881213<div> 
     
    12911216<tr><td> 
    12921217  <h3 class="epydoc">propFilePath</h3> 
    1293   Set the path to the properties file 
    1294   <dl class="fields"> 
    1295     <dt>Set Method:</dt> 
    1296     <dd class="value"><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#setPropFilePath" class="summary-sig-name">ndg.security.server.AttAuthority.AttAuthority.setPropFilePath</a>(<span class="summary-sig-arg">self</span>, 
    1297         <span class="summary-sig-arg">val</span>=<span class="summary-sig-default">None</span>)</span> 
    1298         - Set properties file from input or based on environment variable  
    1299       settings 
    1300     </dd> 
     1218   
     1219  <dl class="fields"> 
     1220  </dl> 
     1221  <dl class="fields"> 
     1222    <dt>Value:</dt> 
     1223      <dd><table><tr><td><pre class="variable"> 
     1224property(fset= setPropFilePath, fget= getPropFilePath, doc= &quot;Set the p<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     1225ath to the properties file&quot;) 
     1226</pre></td></tr></table> 
     1227</dd> 
    13011228  </dl> 
    13021229</td></tr></table> 
     
    13081235<tr><td> 
    13091236  <h3 class="epydoc">hostInfo</h3> 
    1310   Return information about this host 
    1311   <dl class="fields"> 
    1312     <dt>Get Method:</dt> 
    1313     <dd class="value"><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AttAuthority-class.html#__getHostInfo" class="summary-sig-name">ndg.security.server.AttAuthority.AttAuthority.__getHostInfo</a>(<span class="summary-sig-arg">self</span>)</span> 
    1314         - Return the host that this Attribute Authority represents: its ID,  
    1315       the user login URI and WSDL address. 
    1316     </dd> 
     1237   
     1238  <dl class="fields"> 
     1239  </dl> 
     1240  <dl class="fields"> 
     1241    <dt>Value:</dt> 
     1242      <dd><table><tr><td><pre class="variable"> 
     1243property(fget= __getHostInfo, doc= &quot;Return information about this host<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     1244&quot;) 
     1245</pre></td></tr></table> 
     1246</dd> 
    13171247  </dl> 
    13181248</td></tr></table> 
     
    13511281    <td align="left" class="footer"> 
    13521282    <a href="epydoc-log.html">Generated by Epydoc 
    1353     3.0beta1 on Mon Dec 17 09:22:47 2007</a> 
     1283    3.0.1 on Thu Sep  4 09:37:49 2008</a> 
    13541284    </td> 
    13551285    <td align="right" class="footer"> 
    1356       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     1286      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     1287        >http://epydoc.sourceforge.net</a> 
    13571288    </td> 
    13581289  </tr> 
     
    13651296  // visible); but by default, we want to hide them.  So hide 
    13661297  // them unless we have a cookie that says to show them. 
    1367   checkCookie() 
     1298  checkCookie(); 
    13681299  // --> 
    13691300</script> 
    1370    
    13711301</body> 
    13721302</html> 
Note: See TracChangeset for help on using the changeset viewer.