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

    r3153 r4245  
    6060</table> 
    6161<!-- ==================== CLASS DESCRIPTION ==================== --> 
    62 <h1 class="epydoc">Class AAUserRoles</h1><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles">source&nbsp;code</a></span><br /><br /> 
    63 <center> 
    64 <center>  <map id="uml_class_diagram_for_ndg_secu_132" name="uml_class_diagram_for_ndg_secu_132"> 
    65 <area shape="rect" href="ndg.security.test.attAuthority.siteAUserRoles.TestUserRoles&#45;class.html" title="Test User Roles class dynamic import for Attribute Authority" alt="" coords="15,56,67,72"/> 
    66 <area shape="rect" href="ndg.security.server.AttAuthority.AAUserRoles&#45;class.html" title="An abstract base class to define the user roles interface to an Attribute Authority." alt="" coords="117,11,169,27"/> 
    67 <area shape="rect" href="ndg.security.test.attAuthority.siteBUserRoles.TestUserRoles&#45;class.html" title="Test User Roles class dynamic import for Attribute Authority" alt="" coords="117,56,169,72"/> 
    68 <area shape="rect" href="ndg.security.server.conf.userRoles.UserRoles&#45;class.html" title="User Roles class dynamic import for Attribute Authority." alt="" coords="218,56,270,72"/> 
    69 </map> 
    70   <img src="uml_class_diagram_for_ndg_secu_132.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_132" ismap="ismap" class="graph-without-title" /> 
    71 </center></center> 
    72 <hr /> 
     62<h1 class="epydoc">Class AAUserRoles</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles">source&nbsp;code</a></span></p> 
    7363<p>An abstract base class to define the user roles interface to an  
    7464  Attribute Authority.</p> 
     
    7666  the way user roles are provided to its representative Attribute  
    7767  Authority.</p> 
    78   Roles are expected to indexed by user Distinguished Name (DN).  They  
    79   could be stored in a database or file.<br /><br /> 
     68  <p>Roles are expected to indexed by user Distinguished Name (DN).  They  
     69  could be stored in a database or file.</p> 
    8070 
    8171<!-- ==================== INSTANCE METHODS ==================== --> 
     
    124114          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AAUserRoles-class.html#userIsRegistered" class="summary-sig-name">userIsRegistered</a>(<span class="summary-sig-arg">self</span>, 
    125115        <span class="summary-sig-arg">userId</span>)</span><br /> 
    126       Virtual method - Derived method should return True if user is  
    127       known otherwise False</td> 
     116      Virtual method - Derived method should return True if user is known  
     117      otherwise False</td> 
    128118          <td align="right" valign="top"> 
    129119            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles.userIsRegistered">source&nbsp;code</a></span> 
     
    143133          <td><span class="summary-sig"><a href="ndg.security.server.AttAuthority.AAUserRoles-class.html#getRoles" class="summary-sig-name">getRoles</a>(<span class="summary-sig-arg">self</span>, 
    144134        <span class="summary-sig-arg">userId</span>)</span><br /> 
    145       Virtual method - Derived method should return the roles for the  
    146       given user's Id or else raise an exception</td> 
     135      Virtual method - Derived method should return the roles for the given 
     136      user's Id or else raise an exception</td> 
    147137          <td align="right" valign="top"> 
    148138            <span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles.getRoles">source&nbsp;code</a></span> 
     
    188178    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles.__init__">source&nbsp;code</a></span>&nbsp; 
    189179    </td> 
    190   </table> 
     180  </tr></table> 
    191181   
    192   User Roles base class - derive from this class to define roles  
    193   interface to Attribute Authority 
     182  <p>User Roles base class - derive from this class to define roles  
     183  interface to Attribute Authority</p> 
    194184  <dl class="fields"> 
    195185    <dt>Parameters:</dt> 
     
    214204    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles.userIsRegistered">source&nbsp;code</a></span>&nbsp; 
    215205    </td> 
    216   </table> 
     206  </tr></table> 
    217207   
    218208  <p>Virtual method - Derived method should return True if user is known  
    219209  otherwise False</p> 
    220   Nb. this method is not used by AttAuthority class and so does NOT need 
    221   to be implemented in a derived class. 
     210  <p>Nb. this method is not used by AttAuthority class and so does NOT need 
     211  to be implemented in a derived class.</p> 
    222212  <dl class="fields"> 
    223213    <dt>Parameters:</dt> 
     
    243233    ><span class="codelink"><a href="ndg.security.server.AttAuthority-pysrc.html#AAUserRoles.getRoles">source&nbsp;code</a></span>&nbsp; 
    244234    </td> 
    245   </table> 
     235  </tr></table> 
    246236   
    247   Virtual method - Derived method should return the roles for the given  
    248   user's Id or else raise an exception 
     237  <p>Virtual method - Derived method should return the roles for the given  
     238  user's Id or else raise an exception</p> 
    249239  <dl class="fields"> 
    250240    <dt>Parameters:</dt> 
     
    290280    <td align="left" class="footer"> 
    291281    <a href="epydoc-log.html">Generated by Epydoc 
    292     3.0beta1 on Mon Dec 17 09:22:47 2007</a> 
     282    3.0.1 on Thu Sep  4 09:37:49 2008</a> 
    293283    </td> 
    294284    <td align="right" class="footer"> 
    295       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     285      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     286        >http://epydoc.sourceforge.net</a> 
    296287    </td> 
    297288  </tr> 
     
    304295  // visible); but by default, we want to hide them.  So hide 
    305296  // them unless we have a cookie that says to show them. 
    306   checkCookie() 
     297  checkCookie(); 
    307298  // --> 
    308299</script> 
    309    
    310300</body> 
    311301</html> 
Note: See TracChangeset for help on using the changeset viewer.