client_auth.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 2007-2008 Sun Microsystems, Inc.
! -->
<stax>
<defaultcall function="client_auth"/>
<function name="client_auth">
<sequence>
<block name="'client_auth'">
<sequence>
<script>
CurrentTestPath['group']='security'
CurrentTestPath['suite']=STAXCurrentBlock
</script>
<call function="'testSuite_Preamble'"/>
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/client_auth_lib.xml' % (TESTS_DIR)" />
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/security_setup.xml' % (TESTS_DIR)"/>
<call function="'security_setup'"/>
<!-- client authentication setup -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/client_auth_setup.xml' % (TESTS_DIR)"/>
<call function="'client_auth_setup'" />
<!-- fingerprint certificates mapper -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/fingerprint_mapper.xml' % (TESTS_DIR)"/>
<call function="'fingerprint_mapper'" />
<!-- subject DN to user attribut certificate mapper -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/subject_dn_mapper.xml' % (TESTS_DIR)"/>
<call function="'subject_dn_mapper'" />
<!-- subject attribute to user attribut certificate mapper -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/subject_attribute_mapper.xml' % (TESTS_DIR)"/>
<call function="'subject_attribute_mapper'" />
<!-- subject equals dn certificate mapper -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/equal_dn_mapper.xml' % (TESTS_DIR)"/>
<call function="'equal_dn_mapper'" />
<!-- client authentication teardown -->
<import machine="STAF_LOCAL_HOSTNAME"
file="'%s/testcases/security/client_auth/client_auth_teardown.xml' % (TESTS_DIR)"/>
<call function="'client_auth_teardown'" />
<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>