security_pwd_validator.xml revision d81978a0815d5b8a75633c35e3e1f8708d36f017
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
<!--
! CDDL HEADER START
!
! The contents of this file are subject to the terms of the
! Common Development and Distribution License, Version 1.0 only
! (the "License"). You may not use this file except in compliance
! with the License.
!
! You can obtain a copy of the license at
! trunk/opends/resource/legal-notices/OpenDS.LICENSE
! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
! See the License for the specific language governing permissions
! and limitations under the License.
!
! When distributing Covered Code, include this CDDL HEADER in each
! file and include the License file at
! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
! add the following below this CDDL HEADER, with the fields enclosed
! by brackets "[]" replaced with your own identifying information:
! Portions Copyright [yyyy] [name of copyright owner]
!
! CDDL HEADER END
!
! Copyright 2006-2008 Sun Microsystems, Inc.
! -->
<stax>
<defaultcall function="security_pwd_validator"/>
<function name="security_pwd_validator">
<sequence>
<block name="'pwd-validator'">
<sequence>
<!--- Test Group information
#@TestGroupName Security
#@TestGroupPurpose To test the security functionality.
#@TestSubgroupName Password Validator
-->
<script>
if not CurrentTestPath.has_key('group'):
CurrentTestPath['group']='security'
CurrentTestPath['suite']=STAXCurrentBlock
</script>
<script>
securityPath = '%s/testcases/security/pwd_validator' % TESTS_DIR
</script>
<call function="'testSuite_Preamble'"/>
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/security_setup.xml' % (TESTS_DIR)"/>
<call function="'security_setup'"/>
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_setup_pwd_validator.xml' % securityPath"/>
<call function="'setup_pwd_validator'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_pwd_length.xml' % securityPath"/>
<call function="'pwd_length'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_attribute_value.xml' % securityPath"/>
<call function="'attribute_value'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_character_set.xml' % securityPath"/>
<call function="'character_set'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_history_based.xml' % securityPath"/>
<call function="'history_based'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_similarity_based.xml' % securityPath"/>
<call function="'similarity_based'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_dictionary.xml' % securityPath"/>
<call function="'dictionary'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_unique_chars.xml' % securityPath"/>
<call function="'unique_chars'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_repeat_chars.xml' % securityPath"/>
<call function="'repeat_chars'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_mult_validators.xml' % securityPath"/>
<call function="'mult_validators'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_skip_val_for_admins.xml' % securityPath"/>
<call function="'skip_val_for_admins'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/security_teardown_pwd_validator.xml' % securityPath"/>
<call function="'teardown_pwd_validator'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/security_cleanup.xml' % (TESTS_DIR)"/>
<call function="'security_cleanup'"/>
<call function="'testSuite_Postamble'"/>
</sequence>
</block>
</sequence>
</function>
</stax>