0N/A<?
xml version="1.0" encoding="UTF-8" standalone="no"?>
0N/A ! The contents of this file are subject to the terms of the 0N/A ! Common Development and Distribution License, Version 1.0 only 0N/A ! (the "License"). You may not use this file except in compliance 0N/A ! You can obtain a copy of the license at 0N/A ! See the License for the specific language governing permissions 0N/A ! and limitations under the License. 0N/A ! When distributing Covered Code, include this CDDL HEADER in each 0N/A ! file and include the License file at 0N/A ! add the following below this CDDL HEADER, with the fields enclosed 0N/A ! by brackets "[]" replaced with your own identifying information: 0N/A ! Portions Copyright [yyyy] [name of copyright owner] 0N/A ! Portions Copyright 2006-2007 Sun Microsystems, Inc. 0N/A <
defaultcall function="dictionary"/>
0N/A <
function name="dictionary">
0N/A <
testcase name="getTestCaseName('Dictionary: Preamble')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'Security: Pwd Validator: Dictionary: Preamble - Admin Enabling Dictionary'
0N/A <
call function="'modifyPwdValidator'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
0N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
0N/A 'propertyName' : 'Dictionary' ,
0N/A 'attributeName' : 'enabled' ,
0N/A 'attributeValue' : 'true' ,
0N/A 'modifyType' : 'set' }
0N/A 'Security: Pwd Validator: Dictionary: Preamble - Admin Enabling Validator'
0N/A <
call function="'modifyPwdPolicy'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
0N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
0N/A 'propertyName' : 'Default Password Policy' ,
0N/A 'attributeName' : 'password-validator' ,
0N/A 'attributeValue' : 'Dictionary' }
0N/A <
call function="'testCase_Postamble'"/>
0N/A <
testcase name="getTestCaseName('Dictionary: user modifying password to string with all letters')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'Security: Pwd Validator: Dictionary: user modifying password to string with all letters'
0N/A <
call function="'modifyAnAttribute'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'inflict' ,
0N/A 'DNToModify' : 'uid=abergin, ou=People, ou=password tests, o=Pwd Validator Tests, dc=example,dc=com' ,
0N/A 'attributeName' : 'userpassword' ,
0N/A 'newAttributeValue' : 'zymochemistry' ,
0N/A 'changetype' : 'replace' ,
0N/A 'Security: Pwd Validator: Dictionary: user binding with invalid password'
0N/A <
call function="'SearchObject'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'zymochemistry' ,
0N/A 'dsBaseDN' : 'dc=example,dc=com' ,
0N/A 'dsFilter' : 'objectclass=*' ,
0N/A 'extraParams' : '-s base',
0N/A <
call function="'testCase_Postamble'"/>
0N/A <
testcase name="getTestCaseName('Dictionary: Using Using Reverse Password')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'Security: Pwd Validator: Dictionary: user modifying password to reverse word'
0N/A <
call function="'modifyAnAttribute'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'inflict' ,
0N/A 'DNToModify' : 'uid=abergin, ou=People, ou=password tests, o=Pwd Validator Tests, dc=example,dc=com' ,
0N/A 'attributeName' : 'userpassword' ,
0N/A 'newAttributeValue' : 'sbbad' ,
0N/A 'changetype' : 'replace' ,
0N/A 'Security: Pwd Validator: Dictionary: user binding with invalid password'
0N/A <
call function="'SearchObject'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'sbbad' ,
0N/A 'dsBaseDN' : 'dc=example,dc=com' ,
0N/A 'dsFilter' : 'objectclass=*' ,
0N/A 'extraParams' : '-s base',
0N/A <
call function="'testCase_Postamble'"/>
0N/A <
testcase name="getTestCaseName('Dictionary: Disable Reverse Password')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'Security: Pwd Validator: Dictionary: Enable Reverse Password'
0N/A <
call function="'modifyPwdValidator'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
0N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
0N/A 'propertyName' : 'Dictionary' ,
0N/A 'attributeName' : 'test-reversed-password' ,
0N/A 'attributeValue' : 'false' ,
0N/A 'modifyType' : 'set' }
0N/A <
call function="'testCase_Postamble'"/>
0N/A <
testcase name="getTestCaseName('Dictionary: Using Using Reverse Password 2')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'Security: Pwd Validator: Dictionary: user modifying password to reverse word 2'
0N/A <
call function="'modifyAnAttribute'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'inflict' ,
0N/A 'DNToModify' : 'uid=abergin, ou=People, ou=password tests, o=Pwd Validator Tests, dc=example,dc=com' ,
0N/A 'attributeName' : 'userpassword' ,
0N/A 'newAttributeValue' : 'sbbad' ,
0N/A 'changetype' : 'replace' }
0N/A <!-- Uncomment when Issue 2081 is resolved. 0N/A 'Security: Pwd Validator: Dictionary: user binding with valid password' 0N/A <call function="'SearchObject'"> 0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST , 0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT , 0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' , 0N/A 'dsInstancePswd' : 'sbbad' , 0N/A 'dsBaseDN' : 'dc=example,dc=com' , 0N/A 'dsFilter' : 'objectclass=*' , 0N/A 'extraParams' : '-s base' } 0N/A <
call function="'testCase_Postamble'"/>
0N/A <
testcase name="getTestCaseName('Dictionary: Postamble')">
0N/A <
call function="'testCase_Preamble'"/>
0N/A 'Security: Pwd Validator: Dictionary: Postamble Step 1. Admin Resetting Maximum Pwd Length'
0N/A <
call function="'modifyPwdPolicy'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
0N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
0N/A 'propertyName' : 'Default Password Policy' ,
0N/A 'attributeName' : 'password-validator' ,
0N/A 'attributeValue' : 'Dictionary' ,
0N/A 'modifyType' : 'remove' }
0N/A <!--- User Change Password --> 0N/A 'Security: Pwd Validator: Dictionary: Postamble Step 2. User Changing Password'
0N/A <
call function="'modifyAnAttribute'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'inflict' ,
0N/A 'DNToModify' : 'uid=abergin, ou=People, ou=password tests, o=Pwd Validator Tests, dc=example,dc=com' ,
0N/A 'attributeName' : 'userpassword' ,
0N/A 'newAttributeValue' : 'zymochemistry' ,
0N/A 'changetype' : 'replace' }
0N/A 'Security: Pwd Validator: Dictionary: Postamble Step 3. User Searching With Password'
0N/A <
call function="'SearchObject'">
0N/A { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
0N/A 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
0N/A 'dsInstanceDn' : 'uid=abergin,ou=people,ou=password tests,o=Pwd Validator Tests,dc=example,dc=com' ,
0N/A 'dsInstancePswd' : 'zymochemistry' ,
0N/A 'dsBaseDN' : 'dc=example,dc=com' ,
0N/A 'dsFilter' : 'objectclass=*' ,
0N/A 'extraParams' : '-s base' }
0N/A <
call function="'testCase_Postamble'"/>