/*
* 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 legal-notices/CDDLv1_0.txt
* 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 legal-notices/CDDLv1_0.txt.
* 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 2008-2009 Sun Microsystems, Inc.
* Portions Copyright 2011-2015 ForgeRock AS
*/
/**
* Test behavior of an LDAP server that is not able to connect
* to any of the configured Replication Server.
*/
{
/**
* Check that the server correctly accept or reject updates when
* the replication is configured but could not connect to
* any of the configured replication server.
*
* @throws Exception If an unexpected error occurred.
*/
@Test
{
int serverId = 1;
try
{
// configure and start replication of TEST_ROOT_DN_STRING on the server
// using a replication server that is not started
// check that the updates fail with the unwilling to perform error.
// check that the update failed.
// now configure the domain to accept changes even though it is not
// connected to any replication server.
// try a new modify operation on the base entry.
// check that the operation was successful.
}
finally
{
{
}
}
}
}