mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gary Williams
05.00.2012 f88b0dafdf0665af41cbcac0109130e0b3e56f2d
Align pwp validator tests OpenDJ returns 19 (Contraints Violation) not 53
10 files modified
147 ■■■■ changed files
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_attribute_value.xml 33 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_character_set.xml 17 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_dictionary.xml 10 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_history_based.xml 17 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_mult_validators.xml 13 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml 13 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_repeat_chars.xml 9 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_similarity_based.xml 13 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml 9 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_unique_chars.xml 13 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_attribute_value.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -135,7 +136,7 @@
          #@TestIssue        none
          #@TestPurpose      user modifying password to sn
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to sn Miller RC 53
          #@TestStep         user dmiller modifying password to sn Miller RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -157,7 +158,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn ,
                    'dsNewPassword'          : 'Miller' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -188,7 +189,7 @@
          #@TestPurpose      user modifying password to lower case sn
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to lower case sn
                             miller RC 53
                             miller RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -209,7 +210,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller,%s' % basedn ,
                    'dsNewPassword'          : 'miller' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -240,7 +241,7 @@
          #@TestPurpose      user modifying password to upper case sn
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to upper case sn
                             MILLER RC 53
                             MILLER RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -262,7 +263,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn ,
                    'dsNewPassword'          : 'MILLER' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -293,7 +294,7 @@
          #@TestPurpose      user modifying password to mixed case sn
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to mixed case sn
                             mIlLeR RC 53
                             mIlLeR RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -315,7 +316,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn ,
                    'dsNewPassword'          : 'mIlLeR' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -346,7 +347,7 @@
          #@TestPurpose      user modifying password to reversed upper case sn
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to reversed upper 
                             case sn  RELLIM RC 53
                             case sn  RELLIM RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -368,7 +369,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn,
                    'dsNewPassword'          : 'RELLIM' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -432,7 +433,7 @@
          #@TestPurpose      user modifying password to roomnumber
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to roomnumber 4135
                             RC 53
                             RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -454,7 +455,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn ,
                    'dsNewPassword'          : '4135' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -483,7 +484,7 @@
          #@TestIssue        none
          #@TestPurpose      user modifying password to sn 2
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to sn Miller RC 53
          #@TestStep         user dmiller modifying password to sn Miller RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -505,7 +506,7 @@
                    'dsInstancePswd'         : 'gosling' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn ,
                    'dsNewPassword'          : 'Miller' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -619,7 +620,7 @@
          #@TestIssue        none
          #@TestPurpose      user modifying password to sn 3
          #@TestPreamble     none
          #@TestStep         user dmiller modifying password to sn Miller RC 53
          #@TestStep         user dmiller modifying password to sn Miller RC 19
          #@TestStep         user dmiller binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 test are PASS
@@ -641,7 +642,7 @@
                    'dsInstancePswd'         : 'rellim' ,
                    'dsAuthzID'              : 'dn:uid=dmiller, %s' % basedn ,
                    'dsNewPassword'          : 'Miller' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_character_set.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -103,7 +104,7 @@
          #@TestPurpose      Pwd with all letters
          #@TestPreamble     none
          #@TestStep         user modifying password to string with all letters 
                             RC 53
                             RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -125,7 +126,7 @@
                    'dsInstancePswd'         : 'ruling' ,
                    'dsAuthzID'              : 'dn:uid=gfarmer, %s' % basedn,
                    'dsNewPassword'          : 'newruling' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -155,7 +156,7 @@
          #@TestPurpose      Pwd with all numbers
          #@TestPreamble     none
          #@TestStep         user modifying password to string with all numbers 
                             RC 53
                             RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -177,7 +178,7 @@
                    'dsInstancePswd'         : 'ruling' ,
                    'dsAuthzID'              : 'dn:uid=gfarmer, %s' % basedn,
                    'dsNewPassword'          : '123456789' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -264,7 +265,7 @@
          #@TestPurpose      Pwd with just letters
          #@TestPreamble     none
          #@TestStep         user modifying password to string with just letters 
                             RC 53
                             RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -286,7 +287,7 @@
                    'dsInstancePswd'         : 'ruling' ,
                    'dsAuthzID'              : 'dn:uid=gfarmer, %s' % basedn,
                    'dsNewPassword'          : 'newruling' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -316,7 +317,7 @@
          #@TestPurpose      Pwd with just numbers
          #@TestPreamble     none
          #@TestStep         user modifying password to string with just numbers
                             RC 53
                             RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -338,7 +339,7 @@
                    'dsInstancePswd'         : 'ruling' ,
                    'dsAuthzID'              : 'dn:uid=gfarmer, %s' % basedn,
                    'dsNewPassword'          : '123456789' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_dictionary.xml
@@ -24,7 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2011 ForgeRock AS.
 !      Portions Copyright 2011-2012 ForgeRock AS.
 ! -->
<stax>
@@ -107,7 +107,7 @@
          #@TestPurpose      dictionary string with all letters
          #@TestPreamble     none
          #@TestStep         user modifying password to string with all letters
                             matching a dictionary word zymochemistry RC 53
                             matching a dictionary word zymochemistry RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -129,7 +129,7 @@
                    'dsInstancePswd'         : 'inflict' ,
                    'dsAuthzID'              : 'dn:uid=abergin, %s' % basedn,
                    'dsNewPassword'          : 'zymochemistry' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -161,7 +161,7 @@
                             (set to true by default)
          #@TestPreamble     none
          #@TestStep         user modifying password to a reverse password 
                             from inflict to tcilfni RC 53
                             from inflict to tcilfni RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -182,7 +182,7 @@
                    'dsInstancePswd'         : 'inflict' ,
                    'dsAuthzID'              : 'dn:uid=abergin, %s' % basedn ,
                    'dsNewPassword'          : 'tcilfni' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_history_based.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -90,7 +91,7 @@
          #@TestStep         user modify password 1 from sprain to sprainone 
                             RC 0
          #@TestStep         user modify password back to old password sprain 
                             RC 53
                             RC 19
          #@TestStep         user binding with password 1 sprainone RC 0
          #@TestPostamble    none
          #@TestResult       Success if the 3 tests are PASS
@@ -124,7 +125,7 @@
                    'dsInstancePswd'         : 'sprainone' ,
                    'dsAuthzID'              : 'dn:uid=scarter, %s' % basedn,
                    'dsNewPassword'          : 'sprain' ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
            </call>
            
            <message>
@@ -155,7 +156,7 @@
          #@TestStep         user modify password from sprainone to spraintwo 
                             RC 0
          #@TestStep         user modify password back to old passwords sprain 
                             and sprainone RC 53
                             and sprainone RC 19
          #@TestStep         user binding with password 2 spraintwo RC 0
          #@TestStep         Check manage-account get-password-history
          #@TestPostamble    none
@@ -195,7 +196,7 @@
                    'dsInstancePswd'         : 'spraintwo' ,
                    'dsAuthzID'              : 'dn:uid=scarter, %s' % basedn,
                    'dsNewPassword'          : '%s' % pwds ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
              </call>
            </iterate>
 
@@ -249,7 +250,7 @@
          #@TestStep         user modify password from spraintwo to sprainthree 
                             RC 0
          #@TestStep         user modify password back to old passwords sprain 
                             sprainone and spraintwo RC 53
                             sprainone and spraintwo RC 19
          #@TestStep         user binding with password 3 sprainthree RC 0
          #@TestPostamble    none
          #@TestResult       Success if the 3 tests are PASS
@@ -288,7 +289,7 @@
                    'dsInstancePswd'         : 'sprainthree' ,
                    'dsAuthzID'              : 'dn:uid=scarter, %s' % basedn,
                    'dsNewPassword'          : '%s' % pwds ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
              </call>
            </iterate>
@@ -320,7 +321,7 @@
          #@TestStep         user modify password from sprainthree to sprainfour
                             RC 0
          #@TestStep         user modify password back to last 3 passwords 
                             sprainone spraintwo  and sprainthree RC 53
                             sprainone spraintwo  and sprainthree RC 19
          #@TestStep         user modify password back to  original password
                             sprain RC 0
          #@TestStep         user binding with original password sprain RC 0
@@ -361,7 +362,7 @@
                    'dsInstancePswd'         : 'sprainfour' ,
                    'dsAuthzID'              : 'dn:uid=scarter, %s' % basedn,
                    'dsNewPassword'          : '%s' % pwds ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
              </call>
            </iterate>
            
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_mult_validators.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -175,7 +176,7 @@
          #@TestIssue        none
          #@TestPurpose      user modifying password to sn
          #@TestPreamble     none
          #@TestStep         user modifying password to sn RC 53
          #@TestStep         user modifying password to sn RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -197,7 +198,7 @@
                    'dsInstancePswd'         : 'hypotenuse' ,
                    'dsAuthzID'              : 'dn:uid=cschmith, %s' % basedn ,
                    'dsNewPassword'          : 'Schmith' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -263,7 +264,7 @@
          #@TestIssue        none
          #@TestPurpose      user modifying password to givenName
          #@TestPreamble     none
          #@TestStep         user modifying password to givenName RC 53
          #@TestStep         user modifying password to givenName RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -287,7 +288,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'Chris' ,
                    'changetype'             : 'replace' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -318,7 +319,7 @@
          #@TestIssue        none
          #@TestPurpose      user modifying password to aaaaaa
          #@TestPreamble     none
          #@TestStep         user modifying password to aaaaaa RC 53
          #@TestStep         user modifying password to aaaaaa RC 19
          #@TestStep         user binding with invalid password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -342,7 +343,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'aaaaaa' ,
                    'changetype'             : 'replace' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_pwd_length.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2006-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -108,7 +109,7 @@
          #@TestIssue        none
          #@TestPurpose      Pwd Length Setup
          #@TestPreamble     none
          #@TestStep         Step 1. User Changing with short Password RC 53
          #@TestStep         Step 1. User Changing with short Password RC 19
          #@TestStep         Step 2. User Search With short Password RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -128,7 +129,7 @@
                    'dsInstancePswd'         : 'oranges' ,
                    'dsAuthzID'              : 'dn:uid=bhall, %s' % basedn,
                    'dsNewPassword'          : 'grape' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <!--- User Search With Password -->
@@ -193,7 +194,7 @@
          #@TestIssue        none
          #@TestPurpose      Pwd Length User Password - Too Short 2
          #@TestPreamble     none
          #@TestStep         User Change Password - Too Short 2 RC 53
          #@TestStep         User Change Password - Too Short 2 RC 19
          #@TestStep         User Searching With Password Too Short 2 RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -215,7 +216,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'goo' ,
                    'changetype'             : 'replace' , 
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <!--- User Search With Password -->
@@ -375,7 +376,7 @@
          #@TestIssue        none
          #@TestPurpose      Pwd Length Max User Password - Too Long
          #@TestPreamble     none
          #@TestStep         User Changing Password over 10 RC 53
          #@TestStep         User Changing Password over 10 RC 19
          #@TestStep         User Searching Password over 10 RC 49
          #@TestPostamble    none
          #@TestResult       Success if the 2 tests are PASS
@@ -395,7 +396,7 @@
                    'dsInstancePswd'         : 'grape' ,
                    'dsAuthzID'              : 'dn:uid=bhall, %s' % basedn,
                    'dsNewPassword'          : 'pomegranates' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <!--- User Search With Password -->
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_repeat_chars.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -86,7 +87,7 @@
            #@TestIssue           none
            #@TestPurpose         Repeat Chars: pwd with 3 repeat chars
            #@TestPreamble        none
            #@TestStep            user modifying password to abbbcdef RC 53
            #@TestStep            user modifying password to abbbcdef RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS
@@ -110,7 +111,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'abbbcdef' ,
                    'changetype'             : 'replace' , 
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -340,7 +341,7 @@
            #@TestIssue           none
            #@TestPurpose         Repeat Chars: pwd with 3 repeat chars 3
            #@TestPreamble        none
            #@TestStep            user modifying password to abcccdef RC 53
            #@TestStep            user modifying password to abcccdef RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS
@@ -364,7 +365,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'abcccdef' ,
                    'changetype'             : 'replace' , 
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_similarity_based.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -190,7 +191,7 @@
            #@TestIssue           none
            #@TestPurpose         New password with 1 letter change, invalid
            #@TestPreamble        none
            #@TestStep            user modifying pwd with 1 letter change RC 53
            #@TestStep            user modifying pwd with 1 letter change RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS.
@@ -214,7 +215,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'probery' ,
                    'changetype'             : 'replace' , 
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -243,7 +244,7 @@
            #@TestIssue           none
            #@TestPurpose         New password with 1 letter change, invalid 2
            #@TestPreamble        none
            #@TestStep            user modifying pwd with 1 letter change RC 53
            #@TestStep            user modifying pwd with 1 letter change RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS.
@@ -266,7 +267,7 @@
                    'dsAuthzID'              : 'dn:uid=kvaughan, %s' % basedn ,
                    'dsNewPassword'          : 'probery' ,
                    'dsCurrentPassword'      : 'brobery' ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
            </call>
            
            <message>
@@ -295,7 +296,7 @@
            #@TestIssue           none
            #@TestPurpose         New password with 2 letters change, invalid
            #@TestPreamble        none
            #@TestStep            user modifying pwd with 2 letter change RC 53
            #@TestStep            user modifying pwd with 2 letter change RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS.
@@ -318,7 +319,7 @@
                    'dsAuthzID'              : 'dn:uid=kvaughan, %s' % basedn ,
                    'dsNewPassword'          : 'phobery' ,
                    'dsCurrentPassword'      : 'brobery' ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
            </call>
            
            <message>
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_skip_val_for_admins.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2006-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -98,7 +99,7 @@
            #@TestIssue           none
            #@TestPurpose         Root Change Password - Too Short
            #@TestPreamble        none
            #@TestStep            Root Changing Pwd to grape- Too Short RC 53
            #@TestStep            Root Changing Pwd to grape- Too Short RC 19
            #@TestStep            Root Searching With Password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS.
@@ -121,7 +122,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'grape' ,
                    'changetype'             : 'replace' ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
            </call>
            
            <!--- Root Search With Password -->
@@ -285,7 +286,7 @@
            #@TestIssue           none
            #@TestPurpose         Root User Bypass Valid: Self-Change Pwd
            #@TestPreamble        none
            #@TestStep            User Self-Change Pwd Too Short RC 53
            #@TestStep            User Self-Change Pwd Too Short RC 19
            #@TestStep            User Searching With Password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS.
@@ -311,7 +312,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'gaa' ,
                    'changetype'             : 'replace' ,
                    'expectedRC'             : 53 }
                    'expectedRC'             : 19 }
            </call>
            
            <!--- Root Search With Password -->
opends/tests/staf-tests/functional-tests/testcases/security/pwd_validator/security_unique_chars.xml
@@ -24,6 +24,7 @@
 ! CDDL HEADER END
 !
 !      Copyright 2007-2008 Sun Microsystems, Inc.
 !      Portions Copyright 2012 ForgeRock AS
 ! -->
<stax>
@@ -86,7 +87,7 @@
            #@TestIssue           none
            #@TestPurpose         Unique Chars: pwd with 3 unique chars
            #@TestPreamble        none
            #@TestStep            user modifying password to abebab RC 53
            #@TestStep            user modifying password to abebab RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS
@@ -107,7 +108,7 @@
                    'dsInstancePswd'         : 'forsook' ,
                    'dsAuthzID'              : 'dn:uid=kwinters, %s' % basedn ,
                    'dsNewPassword'          : 'abebab' ,
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -136,7 +137,7 @@
            #@TestIssue           none
            #@TestPurpose         Unique Chars: pwd with 4 unique chars
            #@TestPreamble        none
            #@TestStep            user modifying password to abebib RC 53
            #@TestStep            user modifying password to abebib RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS
@@ -159,7 +160,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'abebib' ,
                    'changetype'             : 'replace' , 
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>
@@ -389,7 +390,7 @@
            #@TestIssue           none
            #@TestPurpose         Unique Chars: pwd with 3 unique chars 3
            #@TestPreamble        none
            #@TestStep            user modifying password to abbabac RC 53
            #@TestStep            user modifying password to abbabac RC 19
            #@TestStep            user binding with new password RC 49
            #@TestPostamble       none
            #@TestResult          Success if all tests are PASS
@@ -413,7 +414,7 @@
                    'attributeName'          : 'userpassword' ,
                    'newAttributeValue'      : 'abbabac' ,
                    'changetype'             : 'replace' , 
                    'expectedRC'             : 53  }
                    'expectedRC'             : 19  }
            </call>
            
            <message>