5789N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5789N/A<!DOCTYPE stax SYSTEM "/shared/stax.dtd">
5789N/A<!--
5789N/A ! CDDL HEADER START
5789N/A !
5789N/A ! The contents of this file are subject to the terms of the
5789N/A ! Common Development and Distribution License, Version 1.0 only
5789N/A ! (the "License"). You may not use this file except in compliance
5789N/A ! with the License.
5789N/A !
5789N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
5789N/A ! or http://forgerock.org/license/CDDLv1.0.html.
5789N/A ! See the License for the specific language governing permissions
5789N/A ! and limitations under the License.
5789N/A !
5789N/A ! When distributing Covered Code, include this CDDL HEADER in each
5789N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
5789N/A ! If applicable, add the following below this CDDL HEADER, with the
5789N/A ! fields enclosed by brackets "[]" replaced with your own identifying
5789N/A ! information:
5789N/A ! Portions Copyright [yyyy] [name of copyright owner]
5789N/A !
5789N/A ! CDDL HEADER END
5789N/A !
5789N/A ! Copyright 2010 Sun Microsystems, Inc.
5789N/A ! -->
5789N/A<stax>
5789N/A
5789N/A <defaultcall function="clus_starttls_setup"/>
5789N/A
5789N/A <function name="clus_starttls_setup" scope="local">
5789N/A
5789N/A <sequence>
5789N/A
5789N/A <block name="'clus_starttls_setup'">
5789N/A
5789N/A <sequence>
5789N/A
5789N/A <!--- Test Suite information
5789N/A #@TestSuiteName Setup startTLS
5789N/A #@TestSuitePurpose Configure startTLS to test ldap tools
5789N/A #@TestSuiteGroup startTLS setup
5789N/A #@TestScript clus_starttls_setup.xml
5789N/A -->
5789N/A <script>
5789N/A if not CurrentTestPath.has_key('group'):
5789N/A CurrentTestPath['group'] = 'clu_secure'
5789N/A CurrentTestPath['suite'] = STAXCurrentBlock
5789N/A </script>
5789N/A
5789N/A <call function="'testSuite_Preamble'"/>
5789N/A
5789N/A <testcase name="getTestCaseName('Enable startTLS with blind trust manager')">
5789N/A
5789N/A <sequence>
5789N/A
5789N/A <call function="'testCase_Preamble'"/>
5789N/A
5789N/A <message>
5789N/A 'Security: SSL Check behaviors: Enable startTLS with blind \
5789N/A trust manager'
5789N/A </message>
5789N/A
5789N/A <call function="'configureTLS'">
5789N/A {
5789N/A 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
5789N/A 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
5789N/A 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD,
5789N/A 'customKeyMgr' : 'JKSPROVIDER',
5789N/A 'keystoreFile' : 'config/serverkeystore',
5789N/A 'keystorePin' : 'keystorepass',
5789N/A 'certAlias' : 'server-cert2'
5789N/A }
5789N/A </call>
5789N/A
5789N/A <call function="'testCase_Postamble'"/>
5789N/A
5789N/A </sequence>
5789N/A
5789N/A </testcase>
5789N/A
5789N/A <call function="'testSuite_Postamble'"/>
5789N/A
5789N/A </sequence>
5789N/A
5789N/A </block>
5789N/A
5789N/A </sequence>
5789N/A
5789N/A </function>
5789N/A
5789N/A</stax>