28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<?xml version="1.0" encoding="UTF-8" standalone="no"?>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<!--
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! CDDL HEADER START
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! The contents of this file are subject to the terms of the
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! Common Development and Distribution License, Version 1.0 only
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! (the "License"). You may not use this file except in compliance
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! with the License.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! or http://forgerock.org/license/CDDLv1.0.html.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! See the License for the specific language governing permissions
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! and limitations under the License.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! When distributing Covered Code, include this CDDL HEADER in each
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! file and include the License file at legal-notices/CDDLv1_0.txt.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! If applicable, add the following below this CDDL HEADER, with the
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! fields enclosed by brackets "[]" replaced with your own identifying
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! information:
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! Portions Copyright [yyyy] [name of copyright owner]
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! CDDL HEADER END
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant !
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! Copyright 2009 Sun Microsystems, Inc.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant ! -->
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant<stax>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <defaultcall function="group_setup"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function name="group_setup">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-map-args>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-def name="startDS" type="optional" default="True">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant Optional start the Directory Server
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-property name="type" value="boolean"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-def>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-def name="loadBackend" type="optional" default="True">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant Specifies whether the backend should be loaded with some data.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-property name="type" value="boolean"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-def>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-def name="globalAcis" type="optional" default="True">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant Specifies whether the test should use global acis.
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-description>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <function-arg-property name="type" value="boolean"/>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-arg-def>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function-map-args>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <block name="'setup'">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <if expr="globalAcis == True">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <message>'Adding global ACIs.'</message>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <call function="'ldapModifyWithScript'">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant {
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsFilename' : '%s/groups/global_acis.ldif' % remote.data
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant }
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </call>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <else>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <message>'Adding entry ACIs.'</message>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant <call function="'ldapModifyWithScript'">
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant {
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant 'dsFilename' : '%s/groups/entry_acis.ldif' % remote.data
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant }
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </call>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </else>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </if>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </block>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </sequence>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant </function>
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant
28eeffb99d4c7f8ff501c22d1d21501cbfe3ad32csovant</stax>