Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 1082

wt-doc-3.2.3-1.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt: Wt::Auth::PasswordStrengthValidator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceWt.html">Wt</a>      </li>
      <li class="navelem"><a class="el" href="namespaceWt_1_1Auth.html">Auth</a>      </li>
      <li class="navelem"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html">PasswordStrengthValidator</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Wt::Auth::PasswordStrengthValidator Class Reference<div class="ingroups"><a class="el" href="group__auth.html">Authentication module (Wt::Auth)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Wt::Auth::PasswordStrengthValidator" --><!-- doxytag: inherits="Wt::Auth::AbstractPasswordService::AbstractStrengthValidator" -->
<p>A default implementation for password strength validation.  
 <a href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Wt::Auth::PasswordStrengthValidator:</div>
<div class="dyncontent">
<div class="center"><img src="classWt_1_1Auth_1_1PasswordStrengthValidator__inherit__graph.png" border="0" usemap="#Wt_1_1Auth_1_1PasswordStrengthValidator_inherit__map" alt="Inheritance graph"/></div>
<map name="Wt_1_1Auth_1_1PasswordStrengthValidator_inherit__map" id="Wt_1_1Auth_1_1PasswordStrengthValidator_inherit__map">
<area shape="rect" href="classWt_1_1Auth_1_1AbstractPasswordService_1_1AbstractStrengthValidator.html" title="Validator for password strength." alt="" coords="5,155,389,181"/><area shape="rect" href="classWt_1_1WValidator.html" title="A validator is used to validate user input according to pre&#45;defined rules." alt="" coords="143,80,252,107"/><area shape="rect" href="classWt_1_1WObject.html" title="A base class for objects that participate in the signal/slot system." alt="" coords="149,5,245,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classWt_1_1Auth_1_1PasswordStrengthValidator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">PasswordType</a> { <br/>
&#160;&#160;<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074a36054bc51f6ad2dde16fe1bd70bbe31e">OneCharClass</a>, 
<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074ad26e3e3c98849ad52bac78d65d499da6">TwoCharClass</a>, 
<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074ae3eddfd7a40f431f8f06c5babcabb6de">PassPhrase</a>, 
<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074a3c8f3d5489144b9fb01fe49503567dfe">ThreeCharClass</a>, 
<br/>
&#160;&#160;<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074aaecf58435264278623bbde0d246b026a">FourCharClass</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration for a password type.  <a href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38afde8bde83236ed7387d87bf8e71b6"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::PasswordStrengthValidator" ref="a38afde8bde83236ed7387d87bf8e71b6" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a38afde8bde83236ed7387d87bf8e71b6">PasswordStrengthValidator</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a62bc6443543d1e80c764f7a53367b5ff">setMinimumLength</a> (<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">PasswordType</a> type, int length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum length for a password of a certain type.  <a href="#a62bc6443543d1e80c764f7a53367b5ff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ac536c3f276488c8748156d96c3e9fd9e">minimumLength</a> (<a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">PasswordType</a> type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum length for a password of a certain type.  <a href="#ac536c3f276488c8748156d96c3e9fd9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a90ec126aaf80f9feda8d3c8aa7c823fc">setMinimumPassPhraseWords</a> (int words)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum number of words for a pass phrase.  <a href="#a90ec126aaf80f9feda8d3c8aa7c823fc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a1a5f898e8ba275112282771a885631e3">minimumPassPhraseWords</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum number of words for a pass phrase.  <a href="#a1a5f898e8ba275112282771a885631e3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a762ff690ab0c610a6a09e006ef6ca706">setMinimumMatchLength</a> (int length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the minimum length for a match against a known sequence or the login name / email address.  <a href="#a762ff690ab0c610a6a09e006ef6ca706"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#abd745149c2d96ebc28351cb30f68ea54">minimumMatchLength</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum length for a match against a known sequence.  <a href="#abd745149c2d96ebc28351cb30f68ea54"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <br class="typebreak"/>
<a class="el" href="classWt_1_1Auth_1_1AbstractPasswordService_1_1StrengthValidatorResult.html">AbstractPasswordService::StrengthValidatorResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#aba8727f4af86091a3be7e1b959f79864">evaluateStrength</a> (const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;password, const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;loginName, const std::string &amp;email) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the strength of a password.  <a href="#aba8727f4af86091a3be7e1b959f79864"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b49625b79f367dbe0e34da2cadb3ed3"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::Disabled" ref="a4b49625b79f367dbe0e34da2cadb3ed3" args="" -->
static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a4b49625b79f367dbe0e34da2cadb3ed3">Disabled</a> = std::numeric_limits&lt;int&gt;::max()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sentinel value to disable a particular check. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A default implementation for password strength validation. </p>
<p>This implementation uses <a href="http://www.openwall.com/passwdqc/,">http://www.openwall.com/passwdqc/,</a> a password checker commonly used to validate user account passwords in Linux/BSD distributions.</p>
<p>The default settings are not as restrictive as those used originally by passwdqc (which could be frustratingly restrictive for a web application). You may want to make it change the settings to demand stronger passwords for sensitive applications. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ad4394c41f8354cbe71d1a11004041074"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::PasswordType" ref="ad4394c41f8354cbe71d1a11004041074" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">Wt::Auth::PasswordStrengthValidator::PasswordType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enumeration for a password type. </p>
<p>An entered password will be classified as one of these types, based on the different characters used.</p>
<p>The classification uses the concept of character classes, and defines five classes:</p>
<ul>
<li>lower case letters</li>
<li>upper case letters</li>
<li>numbers</li>
<li>other ascii characters</li>
<li>unknowns (i.e. multi-byte UTF-8 sequences)</li>
</ul>
<p>For determining the number of classes, capitializaiton of the first letter of a word, or appending a number, does not count as an extra class. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ad4394c41f8354cbe71d1a11004041074a36054bc51f6ad2dde16fe1bd70bbe31e"></a><!-- doxytag: member="OneCharClass" ref="ad4394c41f8354cbe71d1a11004041074a36054bc51f6ad2dde16fe1bd70bbe31e" args="" -->OneCharClass</em>&nbsp;</td><td>
<p>A password with characters of only one class. </p>
<p>The default minimum length required for this password type is 20 characters.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>the default of passwdqc is Disabled </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad4394c41f8354cbe71d1a11004041074ad26e3e3c98849ad52bac78d65d499da6"></a><!-- doxytag: member="TwoCharClass" ref="ad4394c41f8354cbe71d1a11004041074ad26e3e3c98849ad52bac78d65d499da6" args="" -->TwoCharClass</em>&nbsp;</td><td>
<p>A password with characters of two classes. </p>
<p>The default minimum length required for this password type is 15 characters.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>the default of passwdqc is 24 characters </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad4394c41f8354cbe71d1a11004041074ae3eddfd7a40f431f8f06c5babcabb6de"></a><!-- doxytag: member="PassPhrase" ref="ad4394c41f8354cbe71d1a11004041074ae3eddfd7a40f431f8f06c5babcabb6de" args="" -->PassPhrase</em>&nbsp;</td><td>
<p>A password that consists of multiple words. </p>
<p>The default minimum length required for this password type is 11 characters.</p>
<dl class="see"><dt><b>See also:</b></dt><dd>setMinPassPhraseWords()</dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>the default of passwdqc is also 11 characters </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad4394c41f8354cbe71d1a11004041074a3c8f3d5489144b9fb01fe49503567dfe"></a><!-- doxytag: member="ThreeCharClass" ref="ad4394c41f8354cbe71d1a11004041074a3c8f3d5489144b9fb01fe49503567dfe" args="" -->ThreeCharClass</em>&nbsp;</td><td>
<p>A password with characters of three classes. </p>
<p>The default minimum length required for this password type is 8 characters.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>the default of passwdqc is also 8 characters </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ad4394c41f8354cbe71d1a11004041074aaecf58435264278623bbde0d246b026a"></a><!-- doxytag: member="FourCharClass" ref="ad4394c41f8354cbe71d1a11004041074aaecf58435264278623bbde0d246b026a" args="" -->FourCharClass</em>&nbsp;</td><td>
<p>A password with characters of four classes. </p>
<p>The default minimum length required for this password type is 7 characters.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>the default of passwdqc is also 7 characters </dd></dl>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aba8727f4af86091a3be7e1b959f79864"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::evaluateStrength" ref="aba8727f4af86091a3be7e1b959f79864" args="(const WString &amp;password, const WString &amp;loginName, const std::string &amp;email) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classWt_1_1Auth_1_1AbstractPasswordService_1_1StrengthValidatorResult.html">AbstractPasswordService::StrengthValidatorResult</a> Wt::Auth::PasswordStrengthValidator::evaluateStrength </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>password</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>loginName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>email</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Evaluates the strength of a password. </p>
<p>The result is an instance of StrengthValidatorResult which contains information on the validity and the strength (0 if invalid, 5 if valid) of the password together with possible messages.</p>
<p>The validator takes into account the user's login name and email address, to exclude passwords that are too similar to these. </p>

<p>Implements <a class="el" href="classWt_1_1Auth_1_1AbstractPasswordService_1_1AbstractStrengthValidator.html#a7c30409496218b621aa5c9a7893a4078">Wt::Auth::AbstractPasswordService::AbstractStrengthValidator</a>.</p>

</div>
</div>
<a class="anchor" id="ac536c3f276488c8748156d96c3e9fd9e"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::minimumLength" ref="ac536c3f276488c8748156d96c3e9fd9e" args="(PasswordType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::Auth::PasswordStrengthValidator::minimumLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">PasswordType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum length for a password of a certain type. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a62bc6443543d1e80c764f7a53367b5ff" title="Sets the minimum length for a password of a certain type.">setMinimumLength()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abd745149c2d96ebc28351cb30f68ea54"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::minimumMatchLength" ref="abd745149c2d96ebc28351cb30f68ea54" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::Auth::PasswordStrengthValidator::minimumMatchLength </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum length for a match against a known sequence. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a762ff690ab0c610a6a09e006ef6ca706" title="Sets the minimum length for a match against a known sequence or the login name / email address...">setMinimumMatchLength()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1a5f898e8ba275112282771a885631e3"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::minimumPassPhraseWords" ref="a1a5f898e8ba275112282771a885631e3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Wt::Auth::PasswordStrengthValidator::minimumPassPhraseWords </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the minimum number of words for a pass phrase. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#a90ec126aaf80f9feda8d3c8aa7c823fc" title="Sets the minimum number of words for a pass phrase.">setMinimumPassPhraseWords()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a62bc6443543d1e80c764f7a53367b5ff"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::setMinimumLength" ref="a62bc6443543d1e80c764f7a53367b5ff" args="(PasswordType type, int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::Auth::PasswordStrengthValidator::setMinimumLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074">PasswordType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the minimum length for a password of a certain type. </p>
<p>See the PasswordType documentation for defaults. You may disable a password of a certain class entirely using the special value Disabled. </p>

</div>
</div>
<a class="anchor" id="a762ff690ab0c610a6a09e006ef6ca706"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::setMinimumMatchLength" ref="a762ff690ab0c610a6a09e006ef6ca706" args="(int length)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::Auth::PasswordStrengthValidator::setMinimumMatchLength </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>length</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the minimum length for a match against a known sequence or the login name / email address. </p>
<p>Irrespective of other settings, a password may be checked not to contain common sequences.</p>
<p>This sets the minimum number of characters which is considered as a match of a password against a known sequence. A lower <code>length</code> setting is thus more stringent.</p>
<p>The default value is 4. </p>

</div>
</div>
<a class="anchor" id="a90ec126aaf80f9feda8d3c8aa7c823fc"></a><!-- doxytag: member="Wt::Auth::PasswordStrengthValidator::setMinimumPassPhraseWords" ref="a90ec126aaf80f9feda8d3c8aa7c823fc" args="(int words)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Wt::Auth::PasswordStrengthValidator::setMinimumPassPhraseWords </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>words</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the minimum number of words for a pass phrase. </p>
<p>Sets the minimum number of words for a valid pass phrase.</p>
<p>The default value is 3.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classWt_1_1Auth_1_1PasswordStrengthValidator.html#ad4394c41f8354cbe71d1a11004041074ae3eddfd7a40f431f8f06c5babcabb6de" title="A password that consists of multiple words.">PassPhrase</a> </dd></dl>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>