private static Test decorateWithPolicy(Test test) {
String ldapPolicyName = new LDAPAuthenticationTest("test").makeServerPolicyName();
//
// Install a security manager using the initial policy file.
//
test = new SecurityManagerSetup(test,ldapPolicyName );
// Copy over the policy file we want to use.
//
test = new SupportFilesSetup(
test, null, new String[] {POLICY_FILE_NAME},
null, new String[] {TARGET_POLICY_FILE_NAME}