Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > d4db7b5092b5090e91377eb3dd3b8023 > files > 2607

flumotion-0.6.1-2.fc14.x86_64.rpm

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>flumotion.twisted.checkers</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;flumotion ::
        <a href="flumotion.twisted-module.html">Package&nbsp;twisted</a> ::
        Module&nbsp;checkers
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="flumotion.twisted.checkers-module.html">Module flumotion.twisted.checkers</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment"># -*- Mode: Python; test-case-name: flumotion.test.test_checkers -*-</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment"># vi:si:et:sw=4:sts=4:ts=4</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment"># Flumotion - a streaming media server</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment"># Copyright (C) 2004,2005,2006,2007 Fluendo, S.L. (www.fluendo.com).</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment"># All rights reserved.</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment"># This file may be distributed and/or modified under the terms of</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment"># the GNU General Public License version 2 as published by</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment"># the Free Software Foundation.</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment"># This file is distributed without any warranty; without even the implied</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment"># warranty of merchantability or fitness for a particular purpose.</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment"># See "LICENSE.GPL" in the source distribution for more information.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-comment"># Licensees having purchased or holding a valid Flumotion Advanced</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-comment"># Streaming Server license may use this file in accordance with the</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-comment"># Flumotion Advanced Streaming Server Commercial License Agreement.</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-comment"># See "LICENSE.Flumotion" in the source distribution for more information.</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-comment"># Headers in this file shall remain intact.</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-docstring">Flumotion Twisted credential checkers</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package flumotion.twisted=flumotion.twisted-module.html"><a title="flumotion.twisted" class="py-name" href="#" onclick="return doclink('link-0', 'twisted', 'link-0');">twisted</a></tt><tt class="py-op">.</tt><tt class="py-name">cred</tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Module flumotion.twisted.checkers=flumotion.twisted.checkers-module.html"><a title="flumotion.twisted.checkers" class="py-name" href="#" onclick="return doclink('link-1', 'checkers', 'link-1');">checkers</a></tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name"><a title="flumotion.twisted" class="py-name" href="#" onclick="return doclink('link-2', 'twisted', 'link-0');">twisted</a></tt><tt class="py-op">.</tt><tt class="py-name">internet</tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Module flumotion.twisted.defer=flumotion.twisted.defer-module.html"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-3', 'defer', 'link-3');">defer</a></tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="flumotion.twisted" class="py-name" href="#" onclick="return doclink('link-4', 'twisted', 'link-0');">twisted</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Module flumotion.common.python=flumotion.common.python-module.html"><a title="flumotion.common.python" class="py-name" href="#" onclick="return doclink('link-5', 'python', 'link-5');">python</a></tt> <tt class="py-keyword">import</tt> <tt class="py-name">failure</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">zope</tt><tt class="py-op">.</tt><tt class="py-name">interface</tt> <tt class="py-keyword">import</tt> <tt class="py-name">implements</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Module flumotion.admin.command.common=flumotion.admin.command.common-module.html,Package flumotion.common=flumotion.common-module.html,Module flumotion.common.common=flumotion.common.common-module.html"><a title="flumotion.admin.command.common
flumotion.common
flumotion.common.common" class="py-name" href="#" onclick="return doclink('link-6', 'common', 'link-6');">common</a></tt> <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Module flumotion.common.log=flumotion.common.log-module.html,Package flumotion.extern.log=flumotion.extern.log-module.html,Module flumotion.extern.log.log=flumotion.extern.log.log-module.html,Method flumotion.extern.log.log.Loggable.log()=flumotion.extern.log.log.Loggable-class.html#log,Function flumotion.extern.log.log.log()=flumotion.extern.log.log-module.html#log,Function flumotion.twisted.integration.log()=flumotion.twisted.integration-module.html#log"><a title="flumotion.common.log
flumotion.extern.log
flumotion.extern.log.log
flumotion.extern.log.log.Loggable.log
flumotion.extern.log.log.log
flumotion.twisted.integration.log" class="py-name" href="#" onclick="return doclink('link-7', 'log', 'link-7');">log</a></tt><tt class="py-op">,</tt> <tt id="link-8" class="py-name" targets="Module flumotion.common.errors=flumotion.common.errors-module.html"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-8', 'errors', 'link-8');">errors</a></tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">flumotion</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="flumotion.twisted" class="py-name" href="#" onclick="return doclink('link-9', 'twisted', 'link-0');">twisted</a></tt> <tt class="py-keyword">import</tt> <tt id="link-10" class="py-name" targets="Module flumotion.twisted.credentials=flumotion.twisted.credentials-module.html"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-10', 'credentials', 'link-10');">credentials</a></tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-string">"$Rev: 7162 $"</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line"> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"><tt class="py-comment"># FIXME: give the manager's bouncer's checker to the flexcredchecker,</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line"><tt class="py-comment"># and forward to it</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"> </tt>
<a name="FlexibleCredentialsChecker"></a><div id="FlexibleCredentialsChecker-def"><a name="L41"></a><tt class="py-lineno"> 41</tt> <a class="py-toggle" href="#" id="FlexibleCredentialsChecker-toggle" onclick="return toggle('FlexibleCredentialsChecker');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html">FlexibleCredentialsChecker</a><tt class="py-op">(</tt><tt class="py-base-class">log</tt><tt class="py-op">.</tt><tt class="py-base-class">Loggable</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="FlexibleCredentialsChecker-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="FlexibleCredentialsChecker-expanded"><a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">    <tt class="py-docstring">"""</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"><tt class="py-docstring">    I am an in-memory username/password credentials checker that also</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line"><tt class="py-docstring">    allows anonymous logins if instructed to do so.</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">    <tt id="link-11" class="py-name" targets="Variable flumotion.admin.admin.AdminModel.logCategory=flumotion.admin.admin.AdminModel-class.html#logCategory,Variable flumotion.admin.config.AdminConfigParser.logCategory=flumotion.admin.config.AdminConfigParser-class.html#logCategory,Variable flumotion.admin.gtk.adminwindow.AdminWindow.logCategory=flumotion.admin.gtk.adminwindow.AdminWindow-class.html#logCategory,Variable flumotion.admin.gtk.componentlist.ComponentList.logCategory=flumotion.admin.gtk.componentlist.ComponentList-class.html#logCategory,Variable flumotion.admin.gtk.componentview.ComponentView.logCategory=flumotion.admin.gtk.componentview.ComponentView-class.html#logCategory,Variable flumotion.admin.gtk.componentview.NotebookPlaceholder.logCategory=flumotion.admin.gtk.componentview.NotebookPlaceholder-class.html#logCategory,Variable flumotion.admin.multi.MultiAdminModel.logCategory=flumotion.admin.multi.MultiAdminModel-class.html#logCategory,Variable flumotion.admin.rrdmon.config.ConfigParser.logCategory=flumotion.admin.rrdmon.config.ConfigParser-class.html#logCategory,Variable flumotion.admin.text.admin_text.BaseAdminText.logCategory=flumotion.admin.text.admin_text.BaseAdminText-class.html#logCategory,Variable flumotion.admin.text.greeter.AdminTextGreeter.logCategory=flumotion.admin.text.greeter.AdminTextGreeter-class.html#logCategory,Variable flumotion.admin.text.view.AdminTextView.logCategory=flumotion.admin.text.view.AdminTextView-class.html#logCategory,Variable flumotion.common.eventcalendar.Calendar.logCategory=flumotion.common.eventcalendar.Calendar-class.html#logCategory,Variable flumotion.common.i18n.Translator.logCategory=flumotion.common.i18n.Translator-class.html#logCategory,Variable flumotion.common.medium.BaseMedium.logCategory=flumotion.common.medium.BaseMedium-class.html#logCategory,Variable flumotion.common.package.Packager.logCategory=flumotion.common.package.Packager-class.html#logCategory,Variable flumotion.common.registry.ComponentRegistry.logCategory=flumotion.common.registry.ComponentRegistry-class.html#logCategory,Variable flumotion.common.server.Server.logCategory=flumotion.common.server.Server-class.html#logCategory,Variable flumotion.common.server._ServerContextFactory.logCategory=flumotion.common.server._ServerContextFactory-class.html#logCategory,Variable flumotion.common.testsuite.TestManagerRoot.logCategory=flumotion.common.testsuite.TestManagerRoot-class.html#logCategory,Variable flumotion.common.testsuite.TestPB.logCategory=flumotion.common.testsuite.TestPB-class.html#logCategory,Variable flumotion.component.base.admin_gtk.BaseAdminGtk.logCategory=flumotion.component.base.admin_gtk.BaseAdminGtk-class.html#logCategory,Variable flumotion.component.base.admin_text.BaseAdminText.logCategory=flumotion.component.base.admin_text.BaseAdminText-class.html#logCategory,Variable flumotion.component.base.baseadminnode.BaseAdminGtkNode.logCategory=flumotion.component.base.baseadminnode.BaseAdminGtkNode-class.html#logCategory,Variable flumotion.component.base.http.HTTPAuthentication.logCategory=flumotion.component.base.http.HTTPAuthentication-class.html#logCategory,Variable flumotion.component.bouncers.bouncer.Bouncer.logCategory=flumotion.component.bouncers.bouncer.Bouncer-class.html#logCategory,Variable flumotion.component.bouncers.bouncer.BouncerMedium.logCategory=flumotion.component.bouncers.bouncer.BouncerMedium-class.html#logCategory,Variable flumotion.component.bouncers.component.Bouncer.logCategory=flumotion.component.bouncers.component.Bouncer-class.html#logCategory,Variable flumotion.component.bouncers.component.BouncerMedium.logCategory=flumotion.component.bouncers.component.BouncerMedium-class.html#logCategory,Variable flumotion.component.bouncers.htpasswdcrypt.HTPasswdCrypt.logCategory=flumotion.component.bouncers.htpasswdcrypt.HTPasswdCrypt-class.html#logCategory,Variable flumotion.component.bouncers.icalbouncer.IcalBouncer.logCategory=flumotion.component.bouncers.icalbouncer.IcalBouncer-class.html#logCategory,Variable flumotion.component.bouncers.ipbouncer.IPBouncer.logCategory=flumotion.component.bouncers.ipbouncer.IPBouncer-class.html#logCategory,Variable flumotion.component.bouncers.plug.BouncerPlug.logCategory=flumotion.component.bouncers.plug.BouncerPlug-class.html#logCategory,Variable flumotion.component.bouncers.saltsha256.SaltSha256.logCategory=flumotion.component.bouncers.saltsha256.SaltSha256-class.html#logCategory,Variable flumotion.component.bouncers.tokentest.TokenTestBase.logCategory=flumotion.component.bouncers.tokentest.TokenTestBase-class.html#logCategory,Variable flumotion.component.combiners.composite.composite.Composite.logCategory=flumotion.component.combiners.composite.composite.Composite-class.html#logCategory,Variable flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog.logCategory=flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog-class.html#logCategory,Variable flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog.logCategory=flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog-class.html#logCategory,Variable flumotion.component.combiners.switch.patternswitch.PatternEventSwitcher.logCategory=flumotion.component.combiners.switch.patternswitch.PatternEventSwitcher-class.html#logCategory,Variable flumotion.component.combiners.switch.switch.AVSwitch.logCategory=flumotion.component.combiners.switch.switch.AVSwitch-class.html#logCategory,Variable flumotion.component.combiners.switch.switch.ICalSwitchPlug.logCategory=flumotion.component.combiners.switch.switch.ICalSwitchPlug-class.html#logCategory,Variable flumotion.component.combiners.switch.switch.SingleSwitch.logCategory=flumotion.component.combiners.switch.switch.SingleSwitch-class.html#logCategory,Variable flumotion.component.combiners.switch.switch.Switch.logCategory=flumotion.component.combiners.switch.switch.Switch-class.html#logCategory,Variable flumotion.component.component.BaseComponent.logCategory=flumotion.component.component.BaseComponent-class.html#logCategory,Variable flumotion.component.component.BaseComponentMedium.logCategory=flumotion.component.component.BaseComponentMedium-class.html#logCategory,Variable flumotion.component.component.ComponentClientFactory.logCategory=flumotion.component.component.ComponentClientFactory-class.html#logCategory,Variable flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer.logCategory=flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer-class.html#logCategory,Variable flumotion.component.consumers.httpstreamer.resources.HTTPRoot.logCategory=flumotion.component.consumers.httpstreamer.resources.HTTPRoot-class.html#logCategory,Variable flumotion.component.consumers.httpstreamer.resources.HTTPStreamingResource.logCategory=flumotion.component.consumers.httpstreamer.resources.HTTPStreamingResource-class.html#logCategory,Variable flumotion.component.converters.pipeline.pipeline.Converter.logCategory=flumotion.component.converters.pipeline.pipeline.Converter-class.html#logCategory,Variable flumotion.component.effects.colorbalance.admin_gtk.ColorbalanceAdminGtkNode.logCategory=flumotion.component.effects.colorbalance.admin_gtk.ColorbalanceAdminGtkNode-class.html#logCategory,Variable flumotion.component.effects.colorbalance.colorbalance.Colorbalance.logCategory=flumotion.component.effects.colorbalance.colorbalance.Colorbalance-class.html#logCategory,Variable flumotion.component.effects.volume.admin_gtk.VolumeAdminGtkNode.logCategory=flumotion.component.effects.volume.admin_gtk.VolumeAdminGtkNode-class.html#logCategory,Variable flumotion.component.effects.volume.volume.Volume.logCategory=flumotion.component.effects.volume.volume.Volume-class.html#logCategory,Variable flumotion.component.feed.FeedClientFactory.logCategory=flumotion.component.feed.FeedClientFactory-class.html#logCategory,Variable flumotion.component.feed.FeedMedium.logCategory=flumotion.component.feed.FeedMedium-class.html#logCategory,Variable flumotion.component.feedcomponent.Effect.logCategory=flumotion.component.feedcomponent.Effect-class.html#logCategory,Variable flumotion.component.feedcomponent.FeedComponentMedium.logCategory=flumotion.component.feedcomponent.FeedComponentMedium-class.html#logCategory,Variable flumotion.component.feedcomponent010.FeedComponent.logCategory=flumotion.component.feedcomponent010.FeedComponent-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.CachedFile.logCategory=flumotion.component.misc.httpserver.cachedprovider.CachedFile-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.CopySession.logCategory=flumotion.component.misc.httpserver.cachedprovider.CopySession-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.CopyThread.logCategory=flumotion.component.misc.httpserver.cachedprovider.CopyThread-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.DirectFileDelegate.logCategory=flumotion.component.misc.httpserver.cachedprovider.DirectFileDelegate-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.FileProviderLocalCachedPlug.logCategory=flumotion.component.misc.httpserver.cachedprovider.FileProviderLocalCachedPlug-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.LocalPath.logCategory=flumotion.component.misc.httpserver.cachedprovider.LocalPath-class.html#logCategory,Variable flumotion.component.misc.httpserver.cachedprovider.TempFileDelegate.logCategory=flumotion.component.misc.httpserver.cachedprovider.TempFileDelegate-class.html#logCategory,Variable flumotion.component.misc.httpserver.httpfile.File.logCategory=flumotion.component.misc.httpserver.httpfile.File-class.html#logCategory,Variable flumotion.component.misc.httpserver.httpfile.FileTransfer.logCategory=flumotion.component.misc.httpserver.httpfile.FileTransfer-class.html#logCategory,Variable flumotion.component.misc.httpserver.httpfile.MimedFileFactory.logCategory=flumotion.component.misc.httpserver.httpfile.MimedFileFactory-class.html#logCategory,Variable flumotion.component.misc.httpserver.localprovider.LocalFile.logCategory=flumotion.component.misc.httpserver.localprovider.LocalFile-class.html#logCategory,Variable flumotion.component.misc.httpserver.ratecontrol.TokenBucketConsumer.logCategory=flumotion.component.misc.httpserver.ratecontrol.TokenBucketConsumer-class.html#logCategory,Variable flumotion.component.misc.porter.porter.PorterProtocol.logCategory=flumotion.component.misc.porter.porter.PorterProtocol-class.html#logCategory,Variable flumotion.component.plugs.requestmodifier.RequestModifierForceDownloadPlug.logCategory=flumotion.component.plugs.requestmodifier.RequestModifierForceDownloadPlug-class.html#logCategory,Variable flumotion.component.producers.audiotest.admin_gtk.AudioTestAdminGtkNode.logCategory=flumotion.component.producers.audiotest.admin_gtk.AudioTestAdminGtkNode-class.html#logCategory,Variable flumotion.component.producers.looper.admin_gtk.LooperNode.logCategory=flumotion.component.producers.looper.admin_gtk.LooperNode-class.html#logCategory,Variable flumotion.component.producers.pipeline.pipeline.Producer.logCategory=flumotion.component.producers.pipeline.pipeline.Producer-class.html#logCategory,Variable flumotion.component.producers.playlist.playlist.PlaylistProducer.logCategory=flumotion.component.producers.playlist.playlist.PlaylistProducer-class.html#logCategory,Variable flumotion.component.producers.playlist.playlistparser.Playlist.logCategory=flumotion.component.producers.playlist.playlistparser.Playlist-class.html#logCategory,Variable flumotion.component.producers.playlist.playlistparser.PlaylistParser.logCategory=flumotion.component.producers.playlist.playlistparser.PlaylistParser-class.html#logCategory,Variable flumotion.component.producers.playlist.playlistparser.PlaylistXMLParser.logCategory=flumotion.component.producers.playlist.playlistparser.PlaylistXMLParser-class.html#logCategory,Variable flumotion.extern.log.log.Loggable.logCategory=flumotion.extern.log.log.Loggable-class.html#logCategory,Variable flumotion.extern.log.log.TwistedLogObserver.logCategory=flumotion.extern.log.log.TwistedLogObserver-class.html#logCategory,Variable flumotion.extern.log.test_log.LogTester.logCategory=flumotion.extern.log.test_log.LogTester-class.html#logCategory,Variable flumotion.job.job.JobClientFactory.logCategory=flumotion.job.job.JobClientFactory-class.html#logCategory,Variable flumotion.job.job.JobMedium.logCategory=flumotion.job.job.JobMedium-class.html#logCategory,Variable flumotion.launch.main.ComponentWrapper.logCategory=flumotion.launch.main.ComponentWrapper-class.html#logCategory,Variable flumotion.manager.admin.AdminAvatar.logCategory=flumotion.manager.admin.AdminAvatar-class.html#logCategory,Variable flumotion.manager.admin.AdminHeaven.logCategory=flumotion.manager.admin.AdminHeaven-class.html#logCategory,Variable flumotion.manager.base.ManagerAvatar.logCategory=flumotion.manager.base.ManagerAvatar-class.html#logCategory,Variable flumotion.manager.component.ComponentAvatar.logCategory=flumotion.manager.component.ComponentAvatar-class.html#logCategory,Variable flumotion.manager.component.ComponentHeaven.logCategory=flumotion.manager.component.ComponentHeaven-class.html#logCategory,Variable flumotion.manager.config.ConfigEntryComponent.logCategory=flumotion.manager.config.ConfigEntryComponent-class.html#logCategory,Variable flumotion.manager.config.FlumotionConfigParser.logCategory=flumotion.manager.config.FlumotionConfigParser-class.html#logCategory,Variable flumotion.manager.config.ManagerConfigParser.logCategory=flumotion.manager.config.ManagerConfigParser-class.html#logCategory,Variable flumotion.manager.config.PlanetConfigParser.logCategory=flumotion.manager.config.PlanetConfigParser-class.html#logCategory,Variable flumotion.manager.manager.Dispatcher.logCategory=flumotion.manager.manager.Dispatcher-class.html#logCategory,Variable flumotion.manager.manager.Vishnu.logCategory=flumotion.manager.manager.Vishnu-class.html#logCategory,Variable flumotion.manager.worker.WorkerAvatar.logCategory=flumotion.manager.worker.WorkerAvatar-class.html#logCategory,Variable flumotion.manager.worker.WorkerHeaven.logCategory=flumotion.manager.worker.WorkerHeaven-class.html#logCategory,Variable flumotion.service.service.Servicer.logCategory=flumotion.service.service.Servicer-class.html#logCategory,Variable flumotion.twisted.checkers.CryptChecker.logCategory=flumotion.twisted.checkers.CryptChecker-class.html#logCategory,Variable flumotion.twisted.checkers.FlexibleCredentialsChecker.logCategory=flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#logCategory,Variable flumotion.twisted.checkers.Sha256Checker.logCategory=flumotion.twisted.checkers.Sha256Checker-class.html#logCategory,Variable flumotion.twisted.pb.Authenticator.logCategory=flumotion.twisted.pb.Authenticator-class.html#logCategory,Variable flumotion.twisted.pb.Avatar.logCategory=flumotion.twisted.pb.Avatar-class.html#logCategory,Variable flumotion.twisted.pb.FPBClientFactory.logCategory=flumotion.twisted.pb.FPBClientFactory-class.html#logCategory,Variable flumotion.twisted.pb.Referenceable.logCategory=flumotion.twisted.pb.Referenceable-class.html#logCategory,Variable flumotion.twisted.pb._BouncerWrapper.logCategory=flumotion.twisted.pb._BouncerWrapper-class.html#logCategory,Variable flumotion.twisted.portal.BouncerPortal.logCategory=flumotion.twisted.portal.BouncerPortal-class.html#logCategory,Variable flumotion.twisted.rtsp.RTSPRequest.logCategory=flumotion.twisted.rtsp.RTSPRequest-class.html#logCategory,Variable flumotion.twisted.rtsp.RTSPResource.logCategory=flumotion.twisted.rtsp.RTSPResource-class.html#logCategory,Variable flumotion.worker.base.BaseJobAvatar.logCategory=flumotion.worker.base.BaseJobAvatar-class.html#logCategory,Variable flumotion.worker.base.BaseJobHeaven.logCategory=flumotion.worker.base.BaseJobHeaven-class.html#logCategory,Variable flumotion.worker.config.WorkerConfigXML.logCategory=flumotion.worker.config.WorkerConfigXML-class.html#logCategory,Variable flumotion.worker.feedserver.FeedAvatar.logCategory=flumotion.worker.feedserver.FeedAvatar-class.html#logCategory,Variable flumotion.worker.feedserver.FeedServer.logCategory=flumotion.worker.feedserver.FeedServer-class.html#logCategory,Variable flumotion.worker.medium.WorkerClientFactory.logCategory=flumotion.worker.medium.WorkerClientFactory-class.html#logCategory,Variable flumotion.worker.medium.WorkerMedium.logCategory=flumotion.worker.medium.WorkerMedium-class.html#logCategory,Variable flumotion.worker.worker.ProxyBouncer.logCategory=flumotion.worker.worker.ProxyBouncer-class.html#logCategory,Variable flumotion.worker.worker.WorkerBrain.logCategory=flumotion.worker.worker.WorkerBrain-class.html#logCategory"><a title="flumotion.admin.admin.AdminModel.logCategory
flumotion.admin.config.AdminConfigParser.logCategory
flumotion.admin.gtk.adminwindow.AdminWindow.logCategory
flumotion.admin.gtk.componentlist.ComponentList.logCategory
flumotion.admin.gtk.componentview.ComponentView.logCategory
flumotion.admin.gtk.componentview.NotebookPlaceholder.logCategory
flumotion.admin.multi.MultiAdminModel.logCategory
flumotion.admin.rrdmon.config.ConfigParser.logCategory
flumotion.admin.text.admin_text.BaseAdminText.logCategory
flumotion.admin.text.greeter.AdminTextGreeter.logCategory
flumotion.admin.text.view.AdminTextView.logCategory
flumotion.common.eventcalendar.Calendar.logCategory
flumotion.common.i18n.Translator.logCategory
flumotion.common.medium.BaseMedium.logCategory
flumotion.common.package.Packager.logCategory
flumotion.common.registry.ComponentRegistry.logCategory
flumotion.common.server.Server.logCategory
flumotion.common.server._ServerContextFactory.logCategory
flumotion.common.testsuite.TestManagerRoot.logCategory
flumotion.common.testsuite.TestPB.logCategory
flumotion.component.base.admin_gtk.BaseAdminGtk.logCategory
flumotion.component.base.admin_text.BaseAdminText.logCategory
flumotion.component.base.baseadminnode.BaseAdminGtkNode.logCategory
flumotion.component.base.http.HTTPAuthentication.logCategory
flumotion.component.bouncers.bouncer.Bouncer.logCategory
flumotion.component.bouncers.bouncer.BouncerMedium.logCategory
flumotion.component.bouncers.component.Bouncer.logCategory
flumotion.component.bouncers.component.BouncerMedium.logCategory
flumotion.component.bouncers.htpasswdcrypt.HTPasswdCrypt.logCategory
flumotion.component.bouncers.icalbouncer.IcalBouncer.logCategory
flumotion.component.bouncers.ipbouncer.IPBouncer.logCategory
flumotion.component.bouncers.plug.BouncerPlug.logCategory
flumotion.component.bouncers.saltsha256.SaltSha256.logCategory
flumotion.component.bouncers.tokentest.TokenTestBase.logCategory
flumotion.component.combiners.composite.composite.Composite.logCategory
flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog.logCategory
flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog.logCategory
flumotion.component.combiners.switch.patternswitch.PatternEventSwitcher.logCategory
flumotion.component.combiners.switch.switch.AVSwitch.logCategory
flumotion.component.combiners.switch.switch.ICalSwitchPlug.logCategory
flumotion.component.combiners.switch.switch.SingleSwitch.logCategory
flumotion.component.combiners.switch.switch.Switch.logCategory
flumotion.component.component.BaseComponent.logCategory
flumotion.component.component.BaseComponentMedium.logCategory
flumotion.component.component.ComponentClientFactory.logCategory
flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer.logCategory
flumotion.component.consumers.httpstreamer.resources.HTTPRoot.logCategory
flumotion.component.consumers.httpstreamer.resources.HTTPStreamingResource.logCategory
flumotion.component.converters.pipeline.pipeline.Converter.logCategory
flumotion.component.effects.colorbalance.admin_gtk.ColorbalanceAdminGtkNode.logCategory
flumotion.component.effects.colorbalance.colorbalance.Colorbalance.logCategory
flumotion.component.effects.volume.admin_gtk.VolumeAdminGtkNode.logCategory
flumotion.component.effects.volume.volume.Volume.logCategory
flumotion.component.feed.FeedClientFactory.logCategory
flumotion.component.feed.FeedMedium.logCategory
flumotion.component.feedcomponent.Effect.logCategory
flumotion.component.feedcomponent.FeedComponentMedium.logCategory
flumotion.component.feedcomponent010.FeedComponent.logCategory
flumotion.component.misc.httpserver.cachedprovider.CachedFile.logCategory
flumotion.component.misc.httpserver.cachedprovider.CopySession.logCategory
flumotion.component.misc.httpserver.cachedprovider.CopyThread.logCategory
flumotion.component.misc.httpserver.cachedprovider.DirectFileDelegate.logCategory
flumotion.component.misc.httpserver.cachedprovider.FileProviderLocalCachedPlug.logCategory
flumotion.component.misc.httpserver.cachedprovider.LocalPath.logCategory
flumotion.component.misc.httpserver.cachedprovider.TempFileDelegate.logCategory
flumotion.component.misc.httpserver.httpfile.File.logCategory
flumotion.component.misc.httpserver.httpfile.FileTransfer.logCategory
flumotion.component.misc.httpserver.httpfile.MimedFileFactory.logCategory
flumotion.component.misc.httpserver.localprovider.LocalFile.logCategory
flumotion.component.misc.httpserver.ratecontrol.TokenBucketConsumer.logCategory
flumotion.component.misc.porter.porter.PorterProtocol.logCategory
flumotion.component.plugs.requestmodifier.RequestModifierForceDownloadPlug.logCategory
flumotion.component.producers.audiotest.admin_gtk.AudioTestAdminGtkNode.logCategory
flumotion.component.producers.looper.admin_gtk.LooperNode.logCategory
flumotion.component.producers.pipeline.pipeline.Producer.logCategory
flumotion.component.producers.playlist.playlist.PlaylistProducer.logCategory
flumotion.component.producers.playlist.playlistparser.Playlist.logCategory
flumotion.component.producers.playlist.playlistparser.PlaylistParser.logCategory
flumotion.component.producers.playlist.playlistparser.PlaylistXMLParser.logCategory
flumotion.extern.log.log.Loggable.logCategory
flumotion.extern.log.log.TwistedLogObserver.logCategory
flumotion.extern.log.test_log.LogTester.logCategory
flumotion.job.job.JobClientFactory.logCategory
flumotion.job.job.JobMedium.logCategory
flumotion.launch.main.ComponentWrapper.logCategory
flumotion.manager.admin.AdminAvatar.logCategory
flumotion.manager.admin.AdminHeaven.logCategory
flumotion.manager.base.ManagerAvatar.logCategory
flumotion.manager.component.ComponentAvatar.logCategory
flumotion.manager.component.ComponentHeaven.logCategory
flumotion.manager.config.ConfigEntryComponent.logCategory
flumotion.manager.config.FlumotionConfigParser.logCategory
flumotion.manager.config.ManagerConfigParser.logCategory
flumotion.manager.config.PlanetConfigParser.logCategory
flumotion.manager.manager.Dispatcher.logCategory
flumotion.manager.manager.Vishnu.logCategory
flumotion.manager.worker.WorkerAvatar.logCategory
flumotion.manager.worker.WorkerHeaven.logCategory
flumotion.service.service.Servicer.logCategory
flumotion.twisted.checkers.CryptChecker.logCategory
flumotion.twisted.checkers.FlexibleCredentialsChecker.logCategory
flumotion.twisted.checkers.Sha256Checker.logCategory
flumotion.twisted.pb.Authenticator.logCategory
flumotion.twisted.pb.Avatar.logCategory
flumotion.twisted.pb.FPBClientFactory.logCategory
flumotion.twisted.pb.Referenceable.logCategory
flumotion.twisted.pb._BouncerWrapper.logCategory
flumotion.twisted.portal.BouncerPortal.logCategory
flumotion.twisted.rtsp.RTSPRequest.logCategory
flumotion.twisted.rtsp.RTSPResource.logCategory
flumotion.worker.base.BaseJobAvatar.logCategory
flumotion.worker.base.BaseJobHeaven.logCategory
flumotion.worker.config.WorkerConfigXML.logCategory
flumotion.worker.feedserver.FeedAvatar.logCategory
flumotion.worker.feedserver.FeedServer.logCategory
flumotion.worker.medium.WorkerClientFactory.logCategory
flumotion.worker.medium.WorkerMedium.logCategory
flumotion.worker.worker.ProxyBouncer.logCategory
flumotion.worker.worker.WorkerBrain.logCategory" class="py-name" href="#" onclick="return doclink('link-11', 'logCategory', 'link-11');">logCategory</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'credchecker'</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">    <tt class="py-name">implements</tt><tt class="py-op">(</tt><tt id="link-12" class="py-name"><a title="flumotion.twisted.checkers" class="py-name" href="#" onclick="return doclink('link-12', 'checkers', 'link-1');">checkers</a></tt><tt class="py-op">.</tt><tt class="py-name">ICredentialsChecker</tt><tt class="py-op">)</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">    <tt id="link-13" class="py-name" targets="Variable flumotion.common.manhole.SSHPublicKeyChecker.credentialInterfaces=flumotion.common.manhole.SSHPublicKeyChecker-class.html#credentialInterfaces,Variable flumotion.twisted.checkers.CryptChecker.credentialInterfaces=flumotion.twisted.checkers.CryptChecker-class.html#credentialInterfaces,Variable flumotion.twisted.checkers.FlexibleCredentialsChecker.credentialInterfaces=flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#credentialInterfaces,Variable flumotion.twisted.checkers.Sha256Checker.credentialInterfaces=flumotion.twisted.checkers.Sha256Checker-class.html#credentialInterfaces"><a title="flumotion.common.manhole.SSHPublicKeyChecker.credentialInterfaces
flumotion.twisted.checkers.CryptChecker.credentialInterfaces
flumotion.twisted.checkers.FlexibleCredentialsChecker.credentialInterfaces
flumotion.twisted.checkers.Sha256Checker.credentialInterfaces" class="py-name" href="#" onclick="return doclink('link-13', 'credentialInterfaces', 'link-13');">credentialInterfaces</a></tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt id="link-14" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-14', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt class="py-name">IUsernamePassword</tt><tt class="py-op">,</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt id="link-15" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-15', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt class="py-name">IUsernameHashedPassword</tt><tt class="py-op">)</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line"> </tt>
<a name="FlexibleCredentialsChecker.__init__"></a><div id="FlexibleCredentialsChecker.__init__-def"><a name="L52"></a><tt class="py-lineno"> 52</tt> <a class="py-toggle" href="#" id="FlexibleCredentialsChecker.__init__-toggle" onclick="return toggle('FlexibleCredentialsChecker.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">users</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="FlexibleCredentialsChecker.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="FlexibleCredentialsChecker.__init__-expanded"><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt> <tt class="py-op">=</tt> <tt class="py-name">users</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_passwordless</tt> <tt class="py-op">=</tt> <tt class="py-name">False</tt> <tt class="py-comment"># do we allow passwordless logins ?</tt> </tt>
</div><a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line"> </tt>
<a name="FlexibleCredentialsChecker.allowPasswordless"></a><div id="FlexibleCredentialsChecker.allowPasswordless-def"><a name="L56"></a><tt class="py-lineno"> 56</tt> <a class="py-toggle" href="#" id="FlexibleCredentialsChecker.allowPasswordless-toggle" onclick="return toggle('FlexibleCredentialsChecker.allowPasswordless');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#allowPasswordless">allowPasswordless</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">wellDoWeQuestionMark</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="FlexibleCredentialsChecker.allowPasswordless-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="FlexibleCredentialsChecker.allowPasswordless-expanded"><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_passwordless</tt> <tt class="py-op">=</tt> <tt class="py-name">wellDoWeQuestionMark</tt> </tt>
</div><a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"> </tt>
<a name="FlexibleCredentialsChecker.addUser"></a><div id="FlexibleCredentialsChecker.addUser-def"><a name="L59"></a><tt class="py-lineno"> 59</tt> <a class="py-toggle" href="#" id="FlexibleCredentialsChecker.addUser-toggle" onclick="return toggle('FlexibleCredentialsChecker.addUser');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#addUser">addUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">password</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="FlexibleCredentialsChecker.addUser-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="FlexibleCredentialsChecker.addUser-expanded"><a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">[</tt><tt id="link-16" class="py-name" targets="Variable flumotion.twisted.pb.Authenticator.username=flumotion.twisted.pb.Authenticator-class.html#username,Variable flumotion.twisted.pb.RemoteAuthenticator.username=flumotion.twisted.pb.RemoteAuthenticator-class.html#username,Variable twisted.spread.pb.Broker.username=twisted.spread.pb.Broker-class.html#username"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-16', 'username', 'link-16');">username</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt id="link-17" class="py-name" targets="Variable flumotion.twisted.pb.Authenticator.password=flumotion.twisted.pb.Authenticator-class.html#password,Variable flumotion.twisted.pb.RemoteAuthenticator.password=flumotion.twisted.pb.RemoteAuthenticator-class.html#password"><a title="flumotion.twisted.pb.Authenticator.password
flumotion.twisted.pb.RemoteAuthenticator.password" class="py-name" href="#" onclick="return doclink('link-17', 'password', 'link-17');">password</a></tt> </tt>
</div><a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="FlexibleCredentialsChecker._cbPasswordMatch"></a><div id="FlexibleCredentialsChecker._cbPasswordMatch-def"><a name="L62"></a><tt class="py-lineno"> 62</tt> <a class="py-toggle" href="#" id="FlexibleCredentialsChecker._cbPasswordMatch-toggle" onclick="return toggle('FlexibleCredentialsChecker._cbPasswordMatch');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#_cbPasswordMatch">_cbPasswordMatch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">matched</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">avatarId</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="FlexibleCredentialsChecker._cbPasswordMatch-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="FlexibleCredentialsChecker._cbPasswordMatch-expanded"><a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">matched</tt><tt class="py-op">:</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-18" class="py-name" targets="Function flumotion.admin.command.utils.avatarId()=flumotion.admin.command.utils-module.html#avatarId,Variable flumotion.twisted.pb.Authenticator.avatarId=flumotion.twisted.pb.Authenticator-class.html#avatarId,Variable flumotion.twisted.pb.RemoteAuthenticator.avatarId=flumotion.twisted.pb.RemoteAuthenticator-class.html#avatarId,Variable flumotion.worker.base.JobInfo.avatarId=flumotion.worker.base.JobInfo-class.html#avatarId"><a title="flumotion.admin.command.utils.avatarId
flumotion.twisted.pb.Authenticator.avatarId
flumotion.twisted.pb.RemoteAuthenticator.avatarId
flumotion.worker.base.JobInfo.avatarId" class="py-name" href="#" onclick="return doclink('link-18', 'avatarId', 'link-18');">avatarId</a></tt> <tt class="py-keyword">or</tt> <tt id="link-19" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-19', 'username', 'link-16');">username</a></tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">failure</tt><tt class="py-op">.</tt><tt class="py-name">Failure</tt><tt class="py-op">(</tt><tt id="link-20" class="py-name"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-20', 'errors', 'link-8');">errors</a></tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Class flumotion.common.errors.NotAuthenticatedError=flumotion.common.errors.NotAuthenticatedError-class.html"><a title="flumotion.common.errors.NotAuthenticatedError" class="py-name" href="#" onclick="return doclink('link-21', 'NotAuthenticatedError', 'link-21');">NotAuthenticatedError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">    <tt class="py-comment">### ICredentialsChecker interface methods</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"> </tt>
<a name="FlexibleCredentialsChecker.requestAvatarId"></a><div id="FlexibleCredentialsChecker.requestAvatarId-def"><a name="L70"></a><tt class="py-lineno"> 70</tt> <a class="py-toggle" href="#" id="FlexibleCredentialsChecker.requestAvatarId-toggle" onclick="return toggle('FlexibleCredentialsChecker.requestAvatarId');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#requestAvatarId">requestAvatarId</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">credentials</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="FlexibleCredentialsChecker.requestAvatarId-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="FlexibleCredentialsChecker.requestAvatarId-expanded"><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt id="link-22" class="py-name"><a title="flumotion.admin.command.utils.avatarId
flumotion.twisted.pb.Authenticator.avatarId
flumotion.twisted.pb.RemoteAuthenticator.avatarId
flumotion.worker.base.JobInfo.avatarId" class="py-name" href="#" onclick="return doclink('link-22', 'avatarId', 'link-18');">avatarId</a></tt> <tt class="py-op">=</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt id="link-23" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-23', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">,</tt> <tt class="py-string">'avatarId'</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line"> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_passwordless</tt><tt class="py-op">:</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Function flumotion.common.avltree.debug()=flumotion.common.avltree-module.html#debug,Module flumotion.common.debug=flumotion.common.debug-module.html,Method flumotion.common.testsuite.TestCase.debug()=flumotion.common.testsuite.TestCase-class.html#debug,Method flumotion.extern.command.command.Command.debug()=flumotion.extern.command.command.Command-class.html#debug,Method flumotion.extern.log.log.Loggable.debug()=flumotion.extern.log.log.Loggable-class.html#debug,Function flumotion.extern.log.log.debug()=flumotion.extern.log.log-module.html#debug,Function flumotion.twisted.integration.debug()=flumotion.twisted.integration-module.html#debug"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-24', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'allowing passwordless login for user %s'</tt><tt class="py-op">,</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">                       <tt id="link-25" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-25', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-26', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-27" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-27', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method flumotion.common.messages.Result.succeed()=flumotion.common.messages.Result-class.html#succeed"><a title="flumotion.common.messages.Result.succeed" class="py-name" href="#" onclick="return doclink('link-28', 'succeed', 'link-28');">succeed</a></tt><tt class="py-op">(</tt><tt id="link-29" class="py-name"><a title="flumotion.admin.command.utils.avatarId
flumotion.twisted.pb.Authenticator.avatarId
flumotion.twisted.pb.RemoteAuthenticator.avatarId
flumotion.worker.base.JobInfo.avatarId" class="py-name" href="#" onclick="return doclink('link-29', 'avatarId', 'link-18');">avatarId</a></tt> <tt class="py-keyword">or</tt> <tt id="link-30" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-30', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-31" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-31', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt id="link-32" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-32', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-33" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-33', 'username', 'link-16');">username</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">:</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-34', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'authenticating user %s'</tt> <tt class="py-op">%</tt> <tt id="link-35" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-35', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-36', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-37" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-37', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt class="py-name">maybeDeferred</tt><tt class="py-op">(</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">                <tt id="link-38" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-38', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method flumotion.twisted.credentials.Username.checkPassword()=flumotion.twisted.credentials.Username-class.html#checkPassword"><a title="flumotion.twisted.credentials.Username.checkPassword" class="py-name" href="#" onclick="return doclink('link-39', 'checkPassword', 'link-39');">checkPassword</a></tt><tt class="py-op">,</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">[</tt><tt id="link-40" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-40', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-41" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-41', 'username', 'link-16');">username</a></tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">addCallback</tt><tt class="py-op">(</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name" targets="Method flumotion.twisted.checkers.FlexibleCredentialsChecker._cbPasswordMatch()=flumotion.twisted.checkers.FlexibleCredentialsChecker-class.html#_cbPasswordMatch"><a title="flumotion.twisted.checkers.FlexibleCredentialsChecker._cbPasswordMatch" class="py-name" href="#" onclick="return doclink('link-42', '_cbPasswordMatch', 'link-42');">_cbPasswordMatch</a></tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt id="link-43" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-43', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-44', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">                <tt id="link-45" class="py-name"><a title="flumotion.admin.command.utils.avatarId
flumotion.twisted.pb.Authenticator.avatarId
flumotion.twisted.pb.RemoteAuthenticator.avatarId
flumotion.worker.base.JobInfo.avatarId" class="py-name" href="#" onclick="return doclink('link-45', 'avatarId', 'link-18');">avatarId</a></tt><tt class="py-op">)</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-46" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-46', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt class="py-name">fail</tt><tt class="py-op">(</tt><tt id="link-47" class="py-name"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-47', 'errors', 'link-8');">errors</a></tt><tt class="py-op">.</tt><tt id="link-48" class="py-name"><a title="flumotion.common.errors.NotAuthenticatedError" class="py-name" href="#" onclick="return doclink('link-48', 'NotAuthenticatedError', 'link-21');">NotAuthenticatedError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line"> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"> </tt>
<a name="CryptChecker"></a><div id="CryptChecker-def"><a name="L88"></a><tt class="py-lineno"> 88</tt> <a class="py-toggle" href="#" id="CryptChecker-toggle" onclick="return toggle('CryptChecker');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="flumotion.twisted.checkers.CryptChecker-class.html">CryptChecker</a><tt class="py-op">(</tt><tt class="py-base-class">log</tt><tt class="py-op">.</tt><tt class="py-base-class">Loggable</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CryptChecker-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="CryptChecker-expanded"><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">    <tt class="py-docstring">"""</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt class="py-docstring">    I check credentials using a crypt-based backend.</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">    <tt class="py-name">implements</tt><tt class="py-op">(</tt><tt id="link-49" class="py-name"><a title="flumotion.twisted.checkers" class="py-name" href="#" onclick="return doclink('link-49', 'checkers', 'link-1');">checkers</a></tt><tt class="py-op">.</tt><tt class="py-name">ICredentialsChecker</tt><tt class="py-op">)</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">    <tt id="link-50" class="py-name"><a title="flumotion.common.manhole.SSHPublicKeyChecker.credentialInterfaces
flumotion.twisted.checkers.CryptChecker.credentialInterfaces
flumotion.twisted.checkers.FlexibleCredentialsChecker.credentialInterfaces
flumotion.twisted.checkers.Sha256Checker.credentialInterfaces" class="py-name" href="#" onclick="return doclink('link-50', 'credentialInterfaces', 'link-13');">credentialInterfaces</a></tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt id="link-51" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-51', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-52" class="py-name" targets="Class flumotion.twisted.credentials.IUsernameCryptPassword=flumotion.twisted.credentials.IUsernameCryptPassword-class.html"><a title="flumotion.twisted.credentials.IUsernameCryptPassword" class="py-name" href="#" onclick="return doclink('link-52', 'IUsernameCryptPassword', 'link-52');">IUsernameCryptPassword</a></tt><tt class="py-op">,</tt> <tt class="py-op">)</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">    <tt id="link-53" class="py-name"><a title="flumotion.admin.admin.AdminModel.logCategory
flumotion.admin.config.AdminConfigParser.logCategory
flumotion.admin.gtk.adminwindow.AdminWindow.logCategory
flumotion.admin.gtk.componentlist.ComponentList.logCategory
flumotion.admin.gtk.componentview.ComponentView.logCategory
flumotion.admin.gtk.componentview.NotebookPlaceholder.logCategory
flumotion.admin.multi.MultiAdminModel.logCategory
flumotion.admin.rrdmon.config.ConfigParser.logCategory
flumotion.admin.text.admin_text.BaseAdminText.logCategory
flumotion.admin.text.greeter.AdminTextGreeter.logCategory
flumotion.admin.text.view.AdminTextView.logCategory
flumotion.common.eventcalendar.Calendar.logCategory
flumotion.common.i18n.Translator.logCategory
flumotion.common.medium.BaseMedium.logCategory
flumotion.common.package.Packager.logCategory
flumotion.common.registry.ComponentRegistry.logCategory
flumotion.common.server.Server.logCategory
flumotion.common.server._ServerContextFactory.logCategory
flumotion.common.testsuite.TestManagerRoot.logCategory
flumotion.common.testsuite.TestPB.logCategory
flumotion.component.base.admin_gtk.BaseAdminGtk.logCategory
flumotion.component.base.admin_text.BaseAdminText.logCategory
flumotion.component.base.baseadminnode.BaseAdminGtkNode.logCategory
flumotion.component.base.http.HTTPAuthentication.logCategory
flumotion.component.bouncers.bouncer.Bouncer.logCategory
flumotion.component.bouncers.bouncer.BouncerMedium.logCategory
flumotion.component.bouncers.component.Bouncer.logCategory
flumotion.component.bouncers.component.BouncerMedium.logCategory
flumotion.component.bouncers.htpasswdcrypt.HTPasswdCrypt.logCategory
flumotion.component.bouncers.icalbouncer.IcalBouncer.logCategory
flumotion.component.bouncers.ipbouncer.IPBouncer.logCategory
flumotion.component.bouncers.plug.BouncerPlug.logCategory
flumotion.component.bouncers.saltsha256.SaltSha256.logCategory
flumotion.component.bouncers.tokentest.TokenTestBase.logCategory
flumotion.component.combiners.composite.composite.Composite.logCategory
flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog.logCategory
flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog.logCategory
flumotion.component.combiners.switch.patternswitch.PatternEventSwitcher.logCategory
flumotion.component.combiners.switch.switch.AVSwitch.logCategory
flumotion.component.combiners.switch.switch.ICalSwitchPlug.logCategory
flumotion.component.combiners.switch.switch.SingleSwitch.logCategory
flumotion.component.combiners.switch.switch.Switch.logCategory
flumotion.component.component.BaseComponent.logCategory
flumotion.component.component.BaseComponentMedium.logCategory
flumotion.component.component.ComponentClientFactory.logCategory
flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer.logCategory
flumotion.component.consumers.httpstreamer.resources.HTTPRoot.logCategory
flumotion.component.consumers.httpstreamer.resources.HTTPStreamingResource.logCategory
flumotion.component.converters.pipeline.pipeline.Converter.logCategory
flumotion.component.effects.colorbalance.admin_gtk.ColorbalanceAdminGtkNode.logCategory
flumotion.component.effects.colorbalance.colorbalance.Colorbalance.logCategory
flumotion.component.effects.volume.admin_gtk.VolumeAdminGtkNode.logCategory
flumotion.component.effects.volume.volume.Volume.logCategory
flumotion.component.feed.FeedClientFactory.logCategory
flumotion.component.feed.FeedMedium.logCategory
flumotion.component.feedcomponent.Effect.logCategory
flumotion.component.feedcomponent.FeedComponentMedium.logCategory
flumotion.component.feedcomponent010.FeedComponent.logCategory
flumotion.component.misc.httpserver.cachedprovider.CachedFile.logCategory
flumotion.component.misc.httpserver.cachedprovider.CopySession.logCategory
flumotion.component.misc.httpserver.cachedprovider.CopyThread.logCategory
flumotion.component.misc.httpserver.cachedprovider.DirectFileDelegate.logCategory
flumotion.component.misc.httpserver.cachedprovider.FileProviderLocalCachedPlug.logCategory
flumotion.component.misc.httpserver.cachedprovider.LocalPath.logCategory
flumotion.component.misc.httpserver.cachedprovider.TempFileDelegate.logCategory
flumotion.component.misc.httpserver.httpfile.File.logCategory
flumotion.component.misc.httpserver.httpfile.FileTransfer.logCategory
flumotion.component.misc.httpserver.httpfile.MimedFileFactory.logCategory
flumotion.component.misc.httpserver.localprovider.LocalFile.logCategory
flumotion.component.misc.httpserver.ratecontrol.TokenBucketConsumer.logCategory
flumotion.component.misc.porter.porter.PorterProtocol.logCategory
flumotion.component.plugs.requestmodifier.RequestModifierForceDownloadPlug.logCategory
flumotion.component.producers.audiotest.admin_gtk.AudioTestAdminGtkNode.logCategory
flumotion.component.producers.looper.admin_gtk.LooperNode.logCategory
flumotion.component.producers.pipeline.pipeline.Producer.logCategory
flumotion.component.producers.playlist.playlist.PlaylistProducer.logCategory
flumotion.component.producers.playlist.playlistparser.Playlist.logCategory
flumotion.component.producers.playlist.playlistparser.PlaylistParser.logCategory
flumotion.component.producers.playlist.playlistparser.PlaylistXMLParser.logCategory
flumotion.extern.log.log.Loggable.logCategory
flumotion.extern.log.log.TwistedLogObserver.logCategory
flumotion.extern.log.test_log.LogTester.logCategory
flumotion.job.job.JobClientFactory.logCategory
flumotion.job.job.JobMedium.logCategory
flumotion.launch.main.ComponentWrapper.logCategory
flumotion.manager.admin.AdminAvatar.logCategory
flumotion.manager.admin.AdminHeaven.logCategory
flumotion.manager.base.ManagerAvatar.logCategory
flumotion.manager.component.ComponentAvatar.logCategory
flumotion.manager.component.ComponentHeaven.logCategory
flumotion.manager.config.ConfigEntryComponent.logCategory
flumotion.manager.config.FlumotionConfigParser.logCategory
flumotion.manager.config.ManagerConfigParser.logCategory
flumotion.manager.config.PlanetConfigParser.logCategory
flumotion.manager.manager.Dispatcher.logCategory
flumotion.manager.manager.Vishnu.logCategory
flumotion.manager.worker.WorkerAvatar.logCategory
flumotion.manager.worker.WorkerHeaven.logCategory
flumotion.service.service.Servicer.logCategory
flumotion.twisted.checkers.CryptChecker.logCategory
flumotion.twisted.checkers.FlexibleCredentialsChecker.logCategory
flumotion.twisted.checkers.Sha256Checker.logCategory
flumotion.twisted.pb.Authenticator.logCategory
flumotion.twisted.pb.Avatar.logCategory
flumotion.twisted.pb.FPBClientFactory.logCategory
flumotion.twisted.pb.Referenceable.logCategory
flumotion.twisted.pb._BouncerWrapper.logCategory
flumotion.twisted.portal.BouncerPortal.logCategory
flumotion.twisted.rtsp.RTSPRequest.logCategory
flumotion.twisted.rtsp.RTSPResource.logCategory
flumotion.worker.base.BaseJobAvatar.logCategory
flumotion.worker.base.BaseJobHeaven.logCategory
flumotion.worker.config.WorkerConfigXML.logCategory
flumotion.worker.feedserver.FeedAvatar.logCategory
flumotion.worker.feedserver.FeedServer.logCategory
flumotion.worker.medium.WorkerClientFactory.logCategory
flumotion.worker.medium.WorkerMedium.logCategory
flumotion.worker.worker.ProxyBouncer.logCategory
flumotion.worker.worker.WorkerBrain.logCategory" class="py-name" href="#" onclick="return doclink('link-53', 'logCategory', 'link-11');">logCategory</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'cryptchecker'</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"> </tt>
<a name="CryptChecker.__init__"></a><div id="CryptChecker.__init__-def"><a name="L97"></a><tt class="py-lineno"> 97</tt> <a class="py-toggle" href="#" id="CryptChecker.__init__-toggle" onclick="return toggle('CryptChecker.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.CryptChecker-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">users</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CryptChecker.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="CryptChecker.__init__-expanded"><a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt> <tt class="py-op">=</tt> <tt class="py-name">users</tt> </tt>
</div><a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"> </tt>
<a name="CryptChecker.addUser"></a><div id="CryptChecker.addUser-def"><a name="L100"></a><tt class="py-lineno">100</tt> <a class="py-toggle" href="#" id="CryptChecker.addUser-toggle" onclick="return toggle('CryptChecker.addUser');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.CryptChecker-class.html#addUser">addUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">cryptPassword</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CryptChecker.addUser-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="CryptChecker.addUser-expanded"><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-docstring">        Add the given username and password.</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"><tt class="py-docstring">        @param username:      name of the user to add</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"><tt class="py-docstring">        @type  username:      string</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line"><tt class="py-docstring">        @param cryptPassword: the crypted password for this user</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"><tt class="py-docstring">        @type  cryptPassword: string</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-54', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'added user %s'</tt> <tt class="py-op">%</tt> <tt id="link-55" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-55', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">[</tt><tt id="link-56" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-56', 'username', 'link-16');">username</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">cryptPassword</tt> </tt>
</div><a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line"> </tt>
<a name="CryptChecker._cbCryptPasswordMatch"></a><div id="CryptChecker._cbCryptPasswordMatch-def"><a name="L112"></a><tt class="py-lineno">112</tt> <a class="py-toggle" href="#" id="CryptChecker._cbCryptPasswordMatch-toggle" onclick="return toggle('CryptChecker._cbCryptPasswordMatch');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.CryptChecker-class.html#_cbCryptPasswordMatch">_cbCryptPasswordMatch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">matched</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CryptChecker._cbCryptPasswordMatch-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="CryptChecker._cbCryptPasswordMatch-expanded"><a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">matched</tt><tt class="py-op">:</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-57', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'user %s authenticated'</tt> <tt class="py-op">%</tt> <tt id="link-58" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-58', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-59" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-59', 'username', 'link-16');">username</a></tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-60', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'user %s refused, password not matched'</tt> <tt class="py-op">%</tt> <tt id="link-61" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-61', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">failure</tt><tt class="py-op">.</tt><tt class="py-name">Failure</tt><tt class="py-op">(</tt><tt id="link-62" class="py-name"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-62', 'errors', 'link-8');">errors</a></tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="flumotion.common.errors.NotAuthenticatedError" class="py-name" href="#" onclick="return doclink('link-63', 'NotAuthenticatedError', 'link-21');">NotAuthenticatedError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">    <tt class="py-comment">### ICredentialsChecker methods</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"> </tt>
<a name="CryptChecker.requestAvatarId"></a><div id="CryptChecker.requestAvatarId-def"><a name="L122"></a><tt class="py-lineno">122</tt> <a class="py-toggle" href="#" id="CryptChecker.requestAvatarId-toggle" onclick="return toggle('CryptChecker.requestAvatarId');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.CryptChecker-class.html#requestAvatarId">requestAvatarId</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">credentials</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="CryptChecker.requestAvatarId-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="CryptChecker.requestAvatarId-expanded"><a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-64" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-64', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-65', 'username', 'link-16');">username</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">:</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-66" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-66', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt class="py-name">maybeDeferred</tt><tt class="py-op">(</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">                <tt id="link-67" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-67', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-68" class="py-name" targets="Method flumotion.twisted.credentials.IUsernameCryptPassword.checkCryptPassword()=flumotion.twisted.credentials.IUsernameCryptPassword-class.html#checkCryptPassword,Method flumotion.twisted.credentials.UsernameCryptPasswordCrypt.checkCryptPassword()=flumotion.twisted.credentials.UsernameCryptPasswordCrypt-class.html#checkCryptPassword,Method flumotion.twisted.credentials.UsernameCryptPasswordCryptChallenger.checkCryptPassword()=flumotion.twisted.credentials.UsernameCryptPasswordCryptChallenger-class.html#checkCryptPassword,Method flumotion.twisted.credentials.UsernameCryptPasswordPlaintext.checkCryptPassword()=flumotion.twisted.credentials.UsernameCryptPasswordPlaintext-class.html#checkCryptPassword"><a title="flumotion.twisted.credentials.IUsernameCryptPassword.checkCryptPassword
flumotion.twisted.credentials.UsernameCryptPasswordCrypt.checkCryptPassword
flumotion.twisted.credentials.UsernameCryptPasswordCryptChallenger.checkCryptPassword
flumotion.twisted.credentials.UsernameCryptPasswordPlaintext.checkCryptPassword" class="py-name" href="#" onclick="return doclink('link-68', 'checkCryptPassword', 'link-68');">checkCryptPassword</a></tt><tt class="py-op">,</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">[</tt><tt id="link-69" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-69', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-70', 'username', 'link-16');">username</a></tt><tt class="py-op">]</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">addCallback</tt><tt class="py-op">(</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name" targets="Method flumotion.twisted.checkers.CryptChecker._cbCryptPasswordMatch()=flumotion.twisted.checkers.CryptChecker-class.html#_cbCryptPasswordMatch"><a title="flumotion.twisted.checkers.CryptChecker._cbCryptPasswordMatch" class="py-name" href="#" onclick="return doclink('link-71', '_cbCryptPasswordMatch', 'link-71');">_cbCryptPasswordMatch</a></tt><tt class="py-op">,</tt> <tt id="link-72" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-72', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-73', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-74', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">"user '%s' refused, not in storage backend"</tt> <tt class="py-op">%</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">                <tt id="link-75" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-75', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-76" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-76', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-77" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-77', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt class="py-name">fail</tt><tt class="py-op">(</tt><tt id="link-78" class="py-name"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-78', 'errors', 'link-8');">errors</a></tt><tt class="py-op">.</tt><tt id="link-79" class="py-name"><a title="flumotion.common.errors.NotAuthenticatedError" class="py-name" href="#" onclick="return doclink('link-79', 'NotAuthenticatedError', 'link-21');">NotAuthenticatedError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line"> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"> </tt>
<a name="Sha256Checker"></a><div id="Sha256Checker-def"><a name="L134"></a><tt class="py-lineno">134</tt> <a class="py-toggle" href="#" id="Sha256Checker-toggle" onclick="return toggle('Sha256Checker');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="flumotion.twisted.checkers.Sha256Checker-class.html">Sha256Checker</a><tt class="py-op">(</tt><tt class="py-base-class">log</tt><tt class="py-op">.</tt><tt class="py-base-class">Loggable</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Sha256Checker-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Sha256Checker-expanded"><a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">    <tt class="py-docstring">"""</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"><tt class="py-docstring">    I check credentials using a SHA-256-based backend.</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line"><tt class="py-docstring">    """</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">    <tt class="py-name">implements</tt><tt class="py-op">(</tt><tt id="link-80" class="py-name"><a title="flumotion.twisted.checkers" class="py-name" href="#" onclick="return doclink('link-80', 'checkers', 'link-1');">checkers</a></tt><tt class="py-op">.</tt><tt class="py-name">ICredentialsChecker</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">    <tt id="link-81" class="py-name"><a title="flumotion.common.manhole.SSHPublicKeyChecker.credentialInterfaces
flumotion.twisted.checkers.CryptChecker.credentialInterfaces
flumotion.twisted.checkers.FlexibleCredentialsChecker.credentialInterfaces
flumotion.twisted.checkers.Sha256Checker.credentialInterfaces" class="py-name" href="#" onclick="return doclink('link-81', 'credentialInterfaces', 'link-13');">credentialInterfaces</a></tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt id="link-82" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-82', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-83" class="py-name" targets="Class flumotion.twisted.credentials.IUsernameSha256Password=flumotion.twisted.credentials.IUsernameSha256Password-class.html"><a title="flumotion.twisted.credentials.IUsernameSha256Password" class="py-name" href="#" onclick="return doclink('link-83', 'IUsernameSha256Password', 'link-83');">IUsernameSha256Password</a></tt><tt class="py-op">,</tt> <tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">    <tt id="link-84" class="py-name"><a title="flumotion.admin.admin.AdminModel.logCategory
flumotion.admin.config.AdminConfigParser.logCategory
flumotion.admin.gtk.adminwindow.AdminWindow.logCategory
flumotion.admin.gtk.componentlist.ComponentList.logCategory
flumotion.admin.gtk.componentview.ComponentView.logCategory
flumotion.admin.gtk.componentview.NotebookPlaceholder.logCategory
flumotion.admin.multi.MultiAdminModel.logCategory
flumotion.admin.rrdmon.config.ConfigParser.logCategory
flumotion.admin.text.admin_text.BaseAdminText.logCategory
flumotion.admin.text.greeter.AdminTextGreeter.logCategory
flumotion.admin.text.view.AdminTextView.logCategory
flumotion.common.eventcalendar.Calendar.logCategory
flumotion.common.i18n.Translator.logCategory
flumotion.common.medium.BaseMedium.logCategory
flumotion.common.package.Packager.logCategory
flumotion.common.registry.ComponentRegistry.logCategory
flumotion.common.server.Server.logCategory
flumotion.common.server._ServerContextFactory.logCategory
flumotion.common.testsuite.TestManagerRoot.logCategory
flumotion.common.testsuite.TestPB.logCategory
flumotion.component.base.admin_gtk.BaseAdminGtk.logCategory
flumotion.component.base.admin_text.BaseAdminText.logCategory
flumotion.component.base.baseadminnode.BaseAdminGtkNode.logCategory
flumotion.component.base.http.HTTPAuthentication.logCategory
flumotion.component.bouncers.bouncer.Bouncer.logCategory
flumotion.component.bouncers.bouncer.BouncerMedium.logCategory
flumotion.component.bouncers.component.Bouncer.logCategory
flumotion.component.bouncers.component.BouncerMedium.logCategory
flumotion.component.bouncers.htpasswdcrypt.HTPasswdCrypt.logCategory
flumotion.component.bouncers.icalbouncer.IcalBouncer.logCategory
flumotion.component.bouncers.ipbouncer.IPBouncer.logCategory
flumotion.component.bouncers.plug.BouncerPlug.logCategory
flumotion.component.bouncers.saltsha256.SaltSha256.logCategory
flumotion.component.bouncers.tokentest.TokenTestBase.logCategory
flumotion.component.combiners.composite.composite.Composite.logCategory
flumotion.component.combiners.switch.basicwatchdog.AVBasicWatchdog.logCategory
flumotion.component.combiners.switch.basicwatchdog.SingleBasicWatchdog.logCategory
flumotion.component.combiners.switch.patternswitch.PatternEventSwitcher.logCategory
flumotion.component.combiners.switch.switch.AVSwitch.logCategory
flumotion.component.combiners.switch.switch.ICalSwitchPlug.logCategory
flumotion.component.combiners.switch.switch.SingleSwitch.logCategory
flumotion.component.combiners.switch.switch.Switch.logCategory
flumotion.component.component.BaseComponent.logCategory
flumotion.component.component.BaseComponentMedium.logCategory
flumotion.component.component.ComponentClientFactory.logCategory
flumotion.component.consumers.httpstreamer.httpstreamer.MultifdSinkStreamer.logCategory
flumotion.component.consumers.httpstreamer.resources.HTTPRoot.logCategory
flumotion.component.consumers.httpstreamer.resources.HTTPStreamingResource.logCategory
flumotion.component.converters.pipeline.pipeline.Converter.logCategory
flumotion.component.effects.colorbalance.admin_gtk.ColorbalanceAdminGtkNode.logCategory
flumotion.component.effects.colorbalance.colorbalance.Colorbalance.logCategory
flumotion.component.effects.volume.admin_gtk.VolumeAdminGtkNode.logCategory
flumotion.component.effects.volume.volume.Volume.logCategory
flumotion.component.feed.FeedClientFactory.logCategory
flumotion.component.feed.FeedMedium.logCategory
flumotion.component.feedcomponent.Effect.logCategory
flumotion.component.feedcomponent.FeedComponentMedium.logCategory
flumotion.component.feedcomponent010.FeedComponent.logCategory
flumotion.component.misc.httpserver.cachedprovider.CachedFile.logCategory
flumotion.component.misc.httpserver.cachedprovider.CopySession.logCategory
flumotion.component.misc.httpserver.cachedprovider.CopyThread.logCategory
flumotion.component.misc.httpserver.cachedprovider.DirectFileDelegate.logCategory
flumotion.component.misc.httpserver.cachedprovider.FileProviderLocalCachedPlug.logCategory
flumotion.component.misc.httpserver.cachedprovider.LocalPath.logCategory
flumotion.component.misc.httpserver.cachedprovider.TempFileDelegate.logCategory
flumotion.component.misc.httpserver.httpfile.File.logCategory
flumotion.component.misc.httpserver.httpfile.FileTransfer.logCategory
flumotion.component.misc.httpserver.httpfile.MimedFileFactory.logCategory
flumotion.component.misc.httpserver.localprovider.LocalFile.logCategory
flumotion.component.misc.httpserver.ratecontrol.TokenBucketConsumer.logCategory
flumotion.component.misc.porter.porter.PorterProtocol.logCategory
flumotion.component.plugs.requestmodifier.RequestModifierForceDownloadPlug.logCategory
flumotion.component.producers.audiotest.admin_gtk.AudioTestAdminGtkNode.logCategory
flumotion.component.producers.looper.admin_gtk.LooperNode.logCategory
flumotion.component.producers.pipeline.pipeline.Producer.logCategory
flumotion.component.producers.playlist.playlist.PlaylistProducer.logCategory
flumotion.component.producers.playlist.playlistparser.Playlist.logCategory
flumotion.component.producers.playlist.playlistparser.PlaylistParser.logCategory
flumotion.component.producers.playlist.playlistparser.PlaylistXMLParser.logCategory
flumotion.extern.log.log.Loggable.logCategory
flumotion.extern.log.log.TwistedLogObserver.logCategory
flumotion.extern.log.test_log.LogTester.logCategory
flumotion.job.job.JobClientFactory.logCategory
flumotion.job.job.JobMedium.logCategory
flumotion.launch.main.ComponentWrapper.logCategory
flumotion.manager.admin.AdminAvatar.logCategory
flumotion.manager.admin.AdminHeaven.logCategory
flumotion.manager.base.ManagerAvatar.logCategory
flumotion.manager.component.ComponentAvatar.logCategory
flumotion.manager.component.ComponentHeaven.logCategory
flumotion.manager.config.ConfigEntryComponent.logCategory
flumotion.manager.config.FlumotionConfigParser.logCategory
flumotion.manager.config.ManagerConfigParser.logCategory
flumotion.manager.config.PlanetConfigParser.logCategory
flumotion.manager.manager.Dispatcher.logCategory
flumotion.manager.manager.Vishnu.logCategory
flumotion.manager.worker.WorkerAvatar.logCategory
flumotion.manager.worker.WorkerHeaven.logCategory
flumotion.service.service.Servicer.logCategory
flumotion.twisted.checkers.CryptChecker.logCategory
flumotion.twisted.checkers.FlexibleCredentialsChecker.logCategory
flumotion.twisted.checkers.Sha256Checker.logCategory
flumotion.twisted.pb.Authenticator.logCategory
flumotion.twisted.pb.Avatar.logCategory
flumotion.twisted.pb.FPBClientFactory.logCategory
flumotion.twisted.pb.Referenceable.logCategory
flumotion.twisted.pb._BouncerWrapper.logCategory
flumotion.twisted.portal.BouncerPortal.logCategory
flumotion.twisted.rtsp.RTSPRequest.logCategory
flumotion.twisted.rtsp.RTSPResource.logCategory
flumotion.worker.base.BaseJobAvatar.logCategory
flumotion.worker.base.BaseJobHeaven.logCategory
flumotion.worker.config.WorkerConfigXML.logCategory
flumotion.worker.feedserver.FeedAvatar.logCategory
flumotion.worker.feedserver.FeedServer.logCategory
flumotion.worker.medium.WorkerClientFactory.logCategory
flumotion.worker.medium.WorkerMedium.logCategory
flumotion.worker.worker.ProxyBouncer.logCategory
flumotion.worker.worker.WorkerBrain.logCategory" class="py-name" href="#" onclick="return doclink('link-84', 'logCategory', 'link-11');">logCategory</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'sha256checker'</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line"> </tt>
<a name="Sha256Checker.__init__"></a><div id="Sha256Checker.__init__-def"><a name="L143"></a><tt class="py-lineno">143</tt> <a class="py-toggle" href="#" id="Sha256Checker.__init__-toggle" onclick="return toggle('Sha256Checker.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.Sha256Checker-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-op">**</tt><tt class="py-param">users</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Sha256Checker.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Sha256Checker.__init__-expanded"><a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt> <tt class="py-op">=</tt> <tt class="py-name">users</tt> </tt>
</div><a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line"> </tt>
<a name="Sha256Checker.addUser"></a><div id="Sha256Checker.addUser-def"><a name="L146"></a><tt class="py-lineno">146</tt> <a class="py-toggle" href="#" id="Sha256Checker.addUser-toggle" onclick="return toggle('Sha256Checker.addUser');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.Sha256Checker-class.html#addUser">addUser</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">,</tt> <tt class="py-param">salt</tt><tt class="py-op">,</tt> <tt class="py-param">sha256Data</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Sha256Checker.addUser-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Sha256Checker.addUser-expanded"><a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-docstring">"""</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line"><tt class="py-docstring">        Add the given username and password.</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line"><tt class="py-docstring">        @param username:       name of the user to add</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"><tt class="py-docstring">        @type  username:       str</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line"><tt class="py-docstring">        @param salt:           the salt for this user</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line"><tt class="py-docstring">        @type  salt:           str</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"><tt class="py-docstring">        @param sha256Data:     the sha256 data for this user</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line"><tt class="py-docstring">        @type  sha256Data:     str</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line"><tt class="py-docstring">        """</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-85', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'added user %s'</tt> <tt class="py-op">%</tt> <tt id="link-86" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-86', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">[</tt><tt id="link-87" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-87', 'username', 'link-16');">username</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-name">salt</tt><tt class="py-op">,</tt> <tt class="py-name">sha256Data</tt><tt class="py-op">)</tt> </tt>
</div><a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"> </tt>
<a name="Sha256Checker._cbSha256PasswordMatch"></a><div id="Sha256Checker._cbSha256PasswordMatch-def"><a name="L160"></a><tt class="py-lineno">160</tt> <a class="py-toggle" href="#" id="Sha256Checker._cbSha256PasswordMatch-toggle" onclick="return toggle('Sha256Checker._cbSha256PasswordMatch');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.Sha256Checker-class.html#_cbSha256PasswordMatch">_cbSha256PasswordMatch</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">matched</tt><tt class="py-op">,</tt> <tt class="py-param">username</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Sha256Checker._cbSha256PasswordMatch-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Sha256Checker._cbSha256PasswordMatch-expanded"><a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">matched</tt><tt class="py-op">:</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-88', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'user %s authenticated'</tt> <tt class="py-op">%</tt> <tt id="link-89" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-89', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-90" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-90', 'username', 'link-16');">username</a></tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-91', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'user %s refused, password not matched'</tt> <tt class="py-op">%</tt> <tt id="link-92" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-92', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">failure</tt><tt class="py-op">.</tt><tt class="py-name">Failure</tt><tt class="py-op">(</tt><tt id="link-93" class="py-name"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-93', 'errors', 'link-8');">errors</a></tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="flumotion.common.errors.NotAuthenticatedError" class="py-name" href="#" onclick="return doclink('link-94', 'NotAuthenticatedError', 'link-21');">NotAuthenticatedError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line"> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">    <tt class="py-comment">### ICredentialsChecker methods</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line"> </tt>
<a name="Sha256Checker.requestAvatarId"></a><div id="Sha256Checker.requestAvatarId-def"><a name="L170"></a><tt class="py-lineno">170</tt> <a class="py-toggle" href="#" id="Sha256Checker.requestAvatarId-toggle" onclick="return toggle('Sha256Checker.requestAvatarId');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="flumotion.twisted.checkers.Sha256Checker-class.html#requestAvatarId">requestAvatarId</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">credentials</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Sha256Checker.requestAvatarId-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Sha256Checker.requestAvatarId-expanded"><a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-95" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-95', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-96', 'username', 'link-16');">username</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">:</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">            <tt class="py-name">salt</tt><tt class="py-op">,</tt> <tt id="link-97" class="py-name" targets="Variable flumotion.worker.checks.check.CheckProcError.data=flumotion.worker.checks.check.CheckProcError-class.html#data"><a title="flumotion.worker.checks.check.CheckProcError.data" class="py-name" href="#" onclick="return doclink('link-97', 'data', 'link-97');">data</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">users</tt><tt class="py-op">[</tt><tt id="link-98" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-98', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-99', 'username', 'link-16');">username</a></tt><tt class="py-op">]</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">            <tt id="link-100" class="py-name"><a title="flumotion.twisted.pb.Authenticator.password
flumotion.twisted.pb.RemoteAuthenticator.password" class="py-name" href="#" onclick="return doclink('link-100', 'password', 'link-17');">password</a></tt> <tt class="py-op">=</tt> <tt class="py-name">salt</tt> <tt class="py-op">+</tt> <tt id="link-101" class="py-name"><a title="flumotion.worker.checks.check.CheckProcError.data" class="py-name" href="#" onclick="return doclink('link-101', 'data', 'link-97');">data</a></tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-102" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-102', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt class="py-name">maybeDeferred</tt><tt class="py-op">(</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">                <tt id="link-103" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-103', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-104" class="py-name" targets="Method flumotion.twisted.credentials.IUsernameSha256Password.checkSha256Password()=flumotion.twisted.credentials.IUsernameSha256Password-class.html#checkSha256Password,Method flumotion.twisted.credentials.UsernameSha256PasswordCryptChallenger.checkSha256Password()=flumotion.twisted.credentials.UsernameSha256PasswordCryptChallenger-class.html#checkSha256Password"><a title="flumotion.twisted.credentials.IUsernameSha256Password.checkSha256Password
flumotion.twisted.credentials.UsernameSha256PasswordCryptChallenger.checkSha256Password" class="py-name" href="#" onclick="return doclink('link-104', 'checkSha256Password', 'link-104');">checkSha256Password</a></tt><tt class="py-op">,</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">                <tt id="link-105" class="py-name"><a title="flumotion.twisted.pb.Authenticator.password
flumotion.twisted.pb.RemoteAuthenticator.password" class="py-name" href="#" onclick="return doclink('link-105', 'password', 'link-17');">password</a></tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">addCallback</tt><tt class="py-op">(</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name" targets="Method flumotion.twisted.checkers.Sha256Checker._cbSha256PasswordMatch()=flumotion.twisted.checkers.Sha256Checker-class.html#_cbSha256PasswordMatch"><a title="flumotion.twisted.checkers.Sha256Checker._cbSha256PasswordMatch" class="py-name" href="#" onclick="return doclink('link-106', '_cbSha256PasswordMatch', 'link-106');">_cbSha256PasswordMatch</a></tt><tt class="py-op">,</tt> <tt id="link-107" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-107', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-108" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-108', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-109" class="py-name"><a title="flumotion.common.avltree.debug
flumotion.common.debug
flumotion.common.testsuite.TestCase.debug
flumotion.extern.command.command.Command.debug
flumotion.extern.log.log.Loggable.debug
flumotion.extern.log.log.debug
flumotion.twisted.integration.debug" class="py-name" href="#" onclick="return doclink('link-109', 'debug', 'link-24');">debug</a></tt><tt class="py-op">(</tt><tt class="py-string">'user %s refused, not in database'</tt> <tt class="py-op">%</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">                <tt id="link-110" class="py-name"><a title="flumotion.twisted.credentials" class="py-name" href="#" onclick="return doclink('link-110', 'credentials', 'link-10');">credentials</a></tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="flumotion.twisted.pb.Authenticator.username
flumotion.twisted.pb.RemoteAuthenticator.username
twisted.spread.pb.Broker.username" class="py-name" href="#" onclick="return doclink('link-111', 'username', 'link-16');">username</a></tt><tt class="py-op">)</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-112" class="py-name"><a title="flumotion.twisted.defer" class="py-name" href="#" onclick="return doclink('link-112', 'defer', 'link-3');">defer</a></tt><tt class="py-op">.</tt><tt class="py-name">fail</tt><tt class="py-op">(</tt><tt id="link-113" class="py-name"><a title="flumotion.common.errors" class="py-name" href="#" onclick="return doclink('link-113', 'errors', 'link-8');">errors</a></tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="flumotion.common.errors.NotAuthenticatedError" class="py-name" href="#" onclick="return doclink('link-114', 'NotAuthenticatedError', 'link-21');">NotAuthenticatedError</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Aug 11 21:33:25 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>