opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -144,7 +144,7 @@ * authenticated as a root user for which access control will not be * enforced. */ public InternalClientConnection() private InternalClientConnection() { super(); opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/ChangelogBroker.java
@@ -276,7 +276,8 @@ * Get all the changes that have not been seen by this changelog * server and update it */ InternalClientConnection conn = new InternalClientConnection(); InternalClientConnection conn = InternalClientConnection.getRootConnection(); LDAPFilter filter = LDAPFilter.decode( "("+ Historical.HISTORICALATTRIBUTENAME + ">=dummy:" + changelogMaxChangeNumber + ")"); opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/PersistentServerState.java
@@ -71,7 +71,7 @@ private DN baseDn; private boolean savedStatus = true; private InternalClientConnection conn = new InternalClientConnection(); InternalClientConnection.getRootConnection(); private ASN1OctetString serverStateAsn1Dn; private DN serverStateDn; opendj-sdk/opends/src/server/org/opends/server/synchronization/plugin/SynchronizationDomain.java
@@ -154,7 +154,8 @@ private DN configDn; private InternalClientConnection conn = new InternalClientConnection(); private InternalClientConnection conn = InternalClientConnection.getRootConnection(); static String CHANGELOG_SERVER_ATTR = "ds-cfg-changelog-server"; static String BASE_DN_ATTR = "ds-cfg-synchronization-dn"; opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/internal/InternalClientConnectionTestCase.java
@@ -22,7 +22,7 @@ * CDDL HEADER END * * * Portions Copyright 2006 Sun Microsystems, Inc. * Portions Copyright 2006-2007 Sun Microsystems, Inc. */ package org.opends.server.protocols.internal; @@ -110,7 +110,6 @@ { return new Object[][] { new Object[] { new InternalClientConnection() }, new Object[] { InternalClientConnection.getRootConnection() }, new Object[] { new InternalClientConnection(new AuthenticationInfo()) }, new Object[] { new InternalClientConnection( opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/jmx/JmxConnectTest.java
@@ -22,7 +22,7 @@ * CDDL HEADER END * * * Portions Copyright 2006 Sun Microsystems, Inc. * Portions Copyright 2006-2007 Sun Microsystems, Inc. */ package org.opends.server.protocols.jmx; @@ -232,7 +232,8 @@ "ds-cfg-listen-port: " + serverJmxPort, "cn: JMX Connection Handler" ); InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); AddOperation addOp = new AddOperation(connection, InternalClientConnection.nextOperationID(), InternalClientConnection .nextMessageID(), null, newJmxConnectionJmx.getDN(), opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/ProtocolWindowTest.java
@@ -245,7 +245,7 @@ DirectoryServer.setCheckSchema(false); // Create an internal connection connection = new InternalClientConnection(); connection = InternalClientConnection.getRootConnection(); // Create backend top level entries String[] topEntries = new String[2]; opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/StressTest.java
@@ -198,7 +198,7 @@ TestCaseUtils.startServer(); // Create an internal connection connection = new InternalClientConnection(); connection = InternalClientConnection.getRootConnection(); // Disable schema check schemaCheck = DirectoryServer.checkSchema(); opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/SynchronizationTestCase.java
@@ -104,7 +104,7 @@ schemaCheck = DirectoryServer.checkSchema(); // Create an internal connection connection = new InternalClientConnection(); connection = InternalClientConnection.getRootConnection(); } /** opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/UpdateOperationTest.java
@@ -107,7 +107,7 @@ DirectoryServer.setCheckSchema(false); // Create an internal connection connection = new InternalClientConnection(); connection = InternalClientConnection.getRootConnection(); // Create backend top level entries String[] topEntries = new String[2]; opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/changelog/UpdateComparatorTest.java
@@ -22,7 +22,7 @@ * CDDL HEADER END * * * Portions Copyright 2006 Sun Microsystems, Inc. * Portions Copyright 2006-2007 Sun Microsystems, Inc. */ package org.opends.server.synchronization.changelog; @@ -65,7 +65,8 @@ // // Create the update messgae InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); DeleteOperation op = null; try { opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/plugin/ModifyConflictTest.java
@@ -22,7 +22,7 @@ * CDDL HEADER END * * * Portions Copyright 2006 Sun Microsystems, Inc. * Portions Copyright 2006-2007 Sun Microsystems, Inc. */ package org.opends.server.synchronization.plugin; @@ -383,7 +383,8 @@ ModificationType modType, String value, int date, boolean keepChangeResult) { InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); ChangeNumber t = new ChangeNumber(date, (short) 0, (short) 0); /* create AttributeType description that will be usedfor this test */ opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/synchronization/protocol/SynchronizationMsgTest.java
@@ -22,7 +22,7 @@ * CDDL HEADER END * * * Portions Copyright 2006 Sun Microsystems, Inc. * Portions Copyright 2006-2007 Sun Microsystems, Inc. */ package org.opends.server.synchronization.protocol; @@ -135,7 +135,8 @@ throws Exception { DN dn = DN.decode(rawdn); InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); ModifyMsg msg = new ModifyMsg(changeNumber, dn, mods, "fakeuniqueid"); ModifyMsg generatedMsg = (ModifyMsg) SynchronizationMessage .generateMsg(msg.getBytes()); @@ -228,7 +229,8 @@ public void deleteEncodeDecode(String rawDN) throws Exception { InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); DeleteOperation op = new DeleteOperation(connection, 1, 1,null, DN.decode(rawDN)); ChangeNumber cn = new ChangeNumber(TimeThread.getTime(), @@ -273,7 +275,8 @@ boolean deleteOldRdn, String newSuperior) throws Exception { InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); ModifyDNOperation op = new ModifyDNOperation(connection, 1, 1, null, DN.decode(rawDN), RDN.decode(newRdn), deleteOldRdn, @@ -358,7 +361,8 @@ // TODO : should test that generated attributes match original attributes. // Create an new Add Operation from the current addMsg InternalClientConnection connection = new InternalClientConnection(); InternalClientConnection connection = InternalClientConnection.getRootConnection(); AddOperation addOp = msg.createOperation(connection, rawDN) ; // TODO : should test that generated attributes match original attributes. // List<LDAPAttribute> rawAtt = addOp.getRawAttributes();