1372N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2887N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
1372N/A<!--
1372N/A ! CDDL HEADER START
1372N/A !
1372N/A ! The contents of this file are subject to the terms of the
1372N/A ! Common Development and Distribution License, Version 1.0 only
1372N/A ! (the "License"). You may not use this file except in compliance
1372N/A ! with the License.
1372N/A !
6982N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6982N/A ! or http://forgerock.org/license/CDDLv1.0.html.
1372N/A ! See the License for the specific language governing permissions
1372N/A ! and limitations under the License.
1372N/A !
1372N/A ! When distributing Covered Code, include this CDDL HEADER in each
6982N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
6982N/A ! If applicable, add the following below this CDDL HEADER, with the
6982N/A ! fields enclosed by brackets "[]" replaced with your own identifying
6982N/A ! information:
1372N/A ! Portions Copyright [yyyy] [name of copyright owner]
1372N/A !
1372N/A ! CDDL HEADER END
1372N/A !
3215N/A ! Copyright 2008 Sun Microsystems, Inc.
1372N/A ! -->
1372N/A<stax>
1372N/A
1372N/A <defaultcall function="security_cleanup"/>
1372N/A
1372N/A <function name="security_cleanup">
1372N/A
1372N/A <sequence>
1372N/A
1372N/A <block name="'cleanup'">
1372N/A
1372N/A <sequence>
1372N/A
2175N/A
2175N/A <block name="'Block DS Process Stop'">
1372N/A <!--- Stop DS -->
2175N/A <sequence>
1372N/A <message>
1372N/A 'Stop DS running on port %s' % (DIRECTORY_INSTANCE_PORT)
1372N/A </message>
1372N/A
1372N/A <call function="'StopDsWithScript'">
3853N/A { 'location' : STAF_REMOTE_HOSTNAME,
3853N/A 'dsHost' : DIRECTORY_INSTANCE_HOST,
3853N/A 'dsAdminPort' : DIRECTORY_INSTANCE_ADMIN_PORT,
3853N/A 'dsBindDN' : DIRECTORY_INSTANCE_DN,
3853N/A 'dsBindPwd' : DIRECTORY_INSTANCE_PSWD }
1372N/A </call>
1372N/A
1372N/A <call function="'checkRC'">
1372N/A { 'returncode' : RC ,
1372N/A 'result' : STAXResult }
1372N/A </call>
1372N/A
2175N/A </sequence>
1372N/A <!--- End Block DS Process Stop -->
1372N/A </block>
2175N/A
2175N/A
1372N/A
2175N/A <block name="'Block Remove DS Topology'">
2175N/A <!-- Remove the topology created for the test suite -->
2175N/A <sequence>
2175N/A
1372N/A <message>
1372N/A 'Remove DS topology created for the Test Suite'
2175N/A </message>
1372N/A
2175N/A <call function="'removeTopology'"/>
2175N/A
2175N/A <call function="'checkRC'">
1372N/A { 'returncode' : RC ,
1372N/A 'result' : STAXResult }
1372N/A </call>
2175N/A
2175N/A </sequence>
2175N/A <!-- End Block Remove DS Topology-->
2175N/A </block>
2175N/A
2175N/A
1372N/A </sequence>
1372N/A </block>
1372N/A
1372N/A </sequence>
1372N/A
1372N/A </function>
1372N/A
1372N/A</stax>