security_pwd_policy.xml revision d81978a0815d5b8a75633c35e3e1f8708d36f017
0N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
0N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
0N/A<!--
0N/A ! CDDL HEADER START
0N/A !
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 ! with the License.
0N/A !
0N/A ! You can obtain a copy of the license at
0N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
0N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
0N/A ! See the License for the specific language governing permissions
0N/A ! and limitations under the License.
0N/A !
0N/A ! When distributing Covered Code, include this CDDL HEADER in each
0N/A ! file and include the License file at
0N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
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 !
0N/A ! CDDL HEADER END
!
! Copyright 2006-2008 Sun Microsystems, Inc.
! -->
<stax>
<defaultcall function="security_pwd_policy"/>
<function name="security_pwd_policy">
<sequence>
<block name="'pwd-policy'">
<sequence>
<script>
if not CurrentTestPath.has_key('group'):
CurrentTestPath['group']='security'
CurrentTestPath['suite']=STAXCurrentBlock
</script>
<!---
Place group-specific test information here.
#@TestGroupName Security
#@TestGroupPurpose To test the security functionality.
#@TestSubgroupName Password Policy
-->
<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/testcases/security/pwd_policy/security_setup_pwd_policy.xml'
% (TESTS_DIR)"/>
<call function="'setup_pwd_policy'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_user_pwd_policy.xml'
% (TESTS_DIR)"/>
<call function="'user_pwd_policy'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_force_pwd_change.xml'
% (TESTS_DIR)"/>
<call function="'force_pwd_change'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_force_pwd_change_all_users.xml'
% (TESTS_DIR)"/>
<call function="'force_pwd_change_all_users'" />
<!--
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_enable_max_pwd_age.xml' % (TESTS_DIR)"/>
<call function="'enable_max_pwd_age'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_disable_max_pwd_age.xml' % (TESTS_DIR)"/>
<call function="'disable_max_pwd_age'" />
-->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_min_pwd_age.xml'
% (TESTS_DIR)"/>
<call function="'min_pwd_age'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_lockout_fail_cnt.xml'
% (TESTS_DIR)"/>
<call function="'lockout_fail_cnt'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_grace_login.xml'
% (TESTS_DIR)"/>
<call function="'grace_login'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_mult_pwd_policies.xml'
% (TESTS_DIR)"/>
<call function="'mult_pwd_policies'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_preencoded_pwds.xml'
% (TESTS_DIR)"/>
<call function="'preencoded_pwds'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_lockout_duration.xml'
% (TESTS_DIR)"/>
<call function="'lockout_duration'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_last_login.xml'
% (TESTS_DIR)"/>
<call function="'last_login'" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/pwd_policy/security_teardown_pwd_policy.xml'
% (TESTS_DIR)"/>
<call function="'teardown_pwd_policy'" />
<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>