Searched refs:connection (Results 276 - 300 of 652) sorted by relevance

<<11121314151617181920>>

/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DLDAPPassThroughAuthenticationPolicyTestCase.java1146 // Waits for an incoming client connection.
1680 * not cause the search connection to be closed.
1713 // The connection will fail and be closed immediately, and the pool will
1714 // retry on new connection.
1760 * Tests that failures to authenticate a search connection are handled
1764 * connection should result in the connection being closed and periodically
1865 * Tests that failures to obtain a search connection are handled properly.
1868 * The connection failure result code.
1961 // First of all the connection factorie
[all...]
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DLDAPPassThroughAuthenticationPolicyTestCase.java1152 // Waits for an incoming client connection.
1686 * not cause the search connection to be closed.
1719 // The connection will fail and be closed immediately, and the pool will
1720 // retry on new connection.
1766 * Tests that failures to authenticate a search connection are handled
1770 * connection should result in the connection being closed and periodically
1871 * Tests that failures to obtain a search connection are handled properly.
1874 * The connection failure result code.
1967 // First of all the connection factorie
[all...]
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/extensions/
H A DLDAPPassThroughAuthenticationPolicyTestCase.java1146 // Waits for an incoming client connection.
1680 * not cause the search connection to be closed.
1713 // The connection will fail and be closed immediately, and the pool will
1714 // retry on new connection.
1760 * Tests that failures to authenticate a search connection are handled
1764 * connection should result in the connection being closed and periodically
1865 * Tests that failures to obtain a search connection are handled properly.
1868 * The connection failure result code.
1961 // First of all the connection factorie
[all...]
/forgerock/opendj2/src/server/org/opends/server/admin/client/ldap/
H A DLDAPDriver.java160 // The LDAP connection.
161 private final LDAPConnection connection; field in class:LDAPDriver
173 * Creates a new LDAP driver using the specified LDAP connection and
178 * @param connection
179 * The LDAP connection.
183 public LDAPDriver(LDAPManagementContext context, LDAPConnection connection, argument
186 this.connection = connection;
197 connection.unbind();
229 Attributes attributes = connection
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/admin/client/ldap/
H A DLDAPDriver.java161 // The LDAP connection.
162 private final LDAPConnection connection; field in class:LDAPDriver
174 * Creates a new LDAP driver using the specified LDAP connection and
179 * @param connection
180 * The LDAP connection.
184 public LDAPDriver(LDAPManagementContext context, LDAPConnection connection, argument
187 this.connection = connection;
198 connection.unbind();
230 Attributes attributes = connection
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/admin/client/ldap/
H A DLDAPDriver.java161 // The LDAP connection.
162 private final LDAPConnection connection; field in class:LDAPDriver
174 * Creates a new LDAP driver using the specified LDAP connection and
179 * @param connection
180 * The LDAP connection.
184 public LDAPDriver(LDAPManagementContext context, LDAPConnection connection, argument
187 this.connection = connection;
198 connection.unbind();
230 Attributes attributes = connection
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/admin/client/ldap/
H A DLDAPDriver.java160 // The LDAP connection.
161 private final LDAPConnection connection; field in class:LDAPDriver
173 * Creates a new LDAP driver using the specified LDAP connection and
178 * @param connection
179 * The LDAP connection.
183 public LDAPDriver(LDAPManagementContext context, LDAPConnection connection, argument
186 this.connection = connection;
197 connection.unbind();
229 Attributes attributes = connection
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/admin/client/ldap/
H A DLDAPDriver.java161 // The LDAP connection.
162 private final LDAPConnection connection; field in class:LDAPDriver
174 * Creates a new LDAP driver using the specified LDAP connection and
179 * @param connection
180 * The LDAP connection.
184 public LDAPDriver(LDAPManagementContext context, LDAPConnection connection, argument
187 this.connection = connection;
198 connection.unbind();
230 Attributes attributes = connection
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/admin/client/ldap/
H A DLDAPDriver.java151 /** The LDAP connection. */
152 private final LDAPConnection connection; field in class:LDAPDriver
166 * Creates a new LDAP driver using the specified LDAP connection and
171 * @param connection
172 * The LDAP connection.
176 public LDAPDriver(LDAPManagementContext context, LDAPConnection connection, argument
179 this.connection = connection;
188 connection.unbind();
218 Attributes attributes = connection
[all...]
/forgerock/opendj2/src/dsml/org/opends/dsml/protocol/
H A DDSMLServlet.java253 * @param connection The authenticated LDAP connection used to check.
261 LDAPConnection connection, String authorizationID)
282 connection.getLDAPWriter().writeMessage(msg);
284 LDAPMessage responseMessage = connection.getLDAPReader().
336 LDAPConnection connection = null;
522 if ( connection == null ) {
523 connection = new LDAPConnection(hostName, port, connOptions);
526 connection.connectToHost(bindDN, bindPassword);
529 proxyAuthzControl = checkAuthzControl(connection,
260 checkAuthzControl( LDAPConnection connection, String authorizationID) argument
686 performLDAPRequest(LDAPConnection connection, DsmlMessage request) argument
[all...]
/forgerock/opendj-b2.6/src/dsml/org/opends/dsml/protocol/
H A DDSMLServlet.java250 * @param connection The authenticated LDAP connection used to check.
258 LDAPConnection connection, String authorizationID)
279 connection.getLDAPWriter().writeMessage(msg);
281 LDAPMessage responseMessage = connection.getLDAPReader().
334 LDAPConnection connection = null;
510 if ( connection == null ) {
511 connection = new LDAPConnection(hostName, port, connOptions);
514 connection.connectToHost(bindDN, bindPassword);
517 proxyAuthzControl = checkAuthzControl(connection,
257 checkAuthzControl( LDAPConnection connection, String authorizationID) argument
674 performLDAPRequest(LDAPConnection connection, DsmlMessage request) argument
[all...]
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DProtocolWindowTest.java131 AddOperation addOp = connection.processAdd(tmp);
141 Operation receivedOp = addMsg.createOperation(connection);
182 DeleteOperation op = connection.processDelete(dn);
200 InternalSearchOperation op = connection.processSearch("cn=monitor", WHOLE_SUBTREE, filterString);
289 connection.processModify(personEntry.getDN(), mods);
H A DSchemaReplicationTest.java79 // Create an internal connection
80 connection = InternalClientConnection.getRootConnection();
132 ModifyOperation modOp = connection.processModify(baseDN, mods);
141 Operation receivedOp = modMsg.createOperation(connection);
161 modOp = connection.processModify(baseDN, mods);
249 Operation receivedOp = modMsg.createOperation(connection);
/forgerock/opendj2.6.2/src/dsml/org/opends/dsml/protocol/
H A DDSMLServlet.java250 * @param connection The authenticated LDAP connection used to check.
258 LDAPConnection connection, String authorizationID)
279 connection.getLDAPWriter().writeMessage(msg);
281 LDAPMessage responseMessage = connection.getLDAPReader().
334 LDAPConnection connection = null;
510 if ( connection == null ) {
511 connection = new LDAPConnection(hostName, port, connOptions);
514 connection.connectToHost(bindDN, bindPassword);
517 proxyAuthzControl = checkAuthzControl(connection,
257 checkAuthzControl( LDAPConnection connection, String authorizationID) argument
674 performLDAPRequest(LDAPConnection connection, DsmlMessage request) argument
[all...]
/forgerock/opendj2-hg/src/dsml/org/opends/dsml/protocol/
H A DDSMLServlet.java253 * @param connection The authenticated LDAP connection used to check.
261 LDAPConnection connection, String authorizationID)
282 connection.getLDAPWriter().writeMessage(msg);
284 LDAPMessage responseMessage = connection.getLDAPReader().
336 LDAPConnection connection = null;
522 if ( connection == null ) {
523 connection = new LDAPConnection(hostName, port, connOptions);
526 connection.connectToHost(bindDN, bindPassword);
529 proxyAuthzControl = checkAuthzControl(connection,
260 checkAuthzControl( LDAPConnection connection, String authorizationID) argument
686 performLDAPRequest(LDAPConnection connection, DsmlMessage request) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/
H A DProtocolWindowTest.java131 AddOperation addOp = connection.processAdd(tmp);
141 Operation receivedOp = addMsg.createOperation(connection);
182 DeleteOperation op = connection.processDelete(dn);
200 InternalSearchOperation op = connection.processSearch("cn=monitor", WHOLE_SUBTREE, filterString);
289 connection.processModify(personEntry.getDN(), mods);
H A DSchemaReplicationTest.java79 // Create an internal connection
80 connection = InternalClientConnection.getRootConnection();
132 ModifyOperation modOp = connection.processModify(baseDN, mods);
141 Operation receivedOp = modMsg.createOperation(connection);
161 modOp = connection.processModify(baseDN, mods);
249 Operation receivedOp = modMsg.createOperation(connection);
/forgerock/opendj2-jel-hg/src/dsml/org/opends/dsml/protocol/
H A DDSMLServlet.java250 * @param connection The authenticated LDAP connection used to check.
258 LDAPConnection connection, String authorizationID)
279 connection.getLDAPWriter().writeMessage(msg);
281 LDAPMessage responseMessage = connection.getLDAPReader().
334 LDAPConnection connection = null;
510 if ( connection == null ) {
511 connection = new LDAPConnection(hostName, port, connOptions);
514 connection.connectToHost(bindDN, bindPassword);
517 proxyAuthzControl = checkAuthzControl(connection,
257 checkAuthzControl( LDAPConnection connection, String authorizationID) argument
674 performLDAPRequest(LDAPConnection connection, DsmlMessage request) argument
[all...]
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/common/
H A DURLFailoverHelper.java387 HttpURLConnection connection = null;
390 connection = (HttpURLConnection) new URL(url).openConnection();
391 connection.connect();
400 if (connection != null) {
401 connection.disconnect();
405 + "connection for availability check");
/forgerock/opendj-v3/opendj-dsml-servlet/src/main/java/org/opends/dsml/protocol/
H A DDSMLServlet.java243 * @param connection The authenticated LDAP connection used to check.
251 LDAPConnection connection, String authorizationID)
270 connection.getLDAPWriter().writeMessage(msg);
272 LDAPMessage responseMessage = connection.getLDAPReader().
314 LDAPConnection connection = null;
522 if ( connection == null ) {
523 connection = new LDAPConnection(hostName, port, connOptions);
526 connection.connectToHost(bindDN, bindPassword);
529 proxyAuthzControl = checkAuthzControl(connection,
250 checkAuthzControl( LDAPConnection connection, String authorizationID) argument
725 performLDAPRequest(LDAPConnection connection, ObjectFactory objFactory, org.opends.server.types.Control proxyAuthzControl, DsmlMessage request) argument
[all...]
/forgerock/openidm-v4/openidm-repo-jdbc/src/main/java/org/forgerock/openidm/repo/jdbc/impl/
H A DMSSQLTableHandler.java96 public void update(String fullId, String type, String localId, String rev, Map<String, Object> obj, Connection connection) argument
109 rs = readForUpdate(fullId, type, localId, connection);
122 updateStatement = getPreparedStatement(connection, QueryDefinition.UPDATEQUERYSTR);
123 deletePropStatement = getPreparedStatement(connection, QueryDefinition.PROPDELETEQUERYSTR);
158 writeValueProperties(fullId, dbId, localId, jv, connection);
H A DMappedTableHandler.java190 public ResourceResponse read(String fullId, String type, String localId, Connection connection) argument
197 readStatement = queries.getPreparedStatement(connection, readQueryStr);
236 * @param connection
237 * the connection to use
244 ResultSet readForUpdate(String fullId, String type, String localId, Connection connection) argument
251 queries.getPreparedStatement(connection, readForUpdateQueryStr);
279 Connection connection) throws SQLException, IOException {
281 queries.getPreparedStatement(connection, createQueryStr);
283 create(fullId, type, localId, obj, connection, createStatement, false);
300 Connection connection, PreparedStatemen
278 create(String fullId, String type, String localId, Map<String, Object> obj, Connection connection) argument
299 create(String fullId, String type, String localId, Map<String, Object> obj, Connection connection, PreparedStatement createStatement, boolean batchCreate) argument
369 update(String fullId, String type, String localId, String rev, Map<String, Object> obj, Connection connection) argument
436 delete(String fullId, String type, String localId, String rev, Connection connection) argument
490 query(String type, Map<String, Object> params, Connection connection) argument
496 command(String type, Map<String, Object> params, Connection connection) argument
517 isRetryable(SQLException ex, Connection connection) argument
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/
H A DProtocolWindowTest.java136 AddOperation addOp = connection.processAdd(tmp);
146 Operation receivedOp = addMsg.createOperation(connection);
186 DeleteOperation op = connection.processDelete(dn);
202 InternalSearchOperation op = connection.processSearch(newSearchRequest("cn=monitor", WHOLE_SUBTREE, filterString));
290 connection.processModify(personEntry.getName(), mods);
/forgerock/opendj-b2.6/tests/unit-tests-testng/src/server/org/opends/server/tasks/
H A DTasksTestCase.java79 InternalClientConnection connection =
84 connection.processAdd(taskEntry.getDN(),
102 connection.processSearch(taskEntry.getDN(),
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/core/
H A DBoundedWorkQueueStrategyTest.java81 final ClientConnection connection = mock(ClientConnection.class);
82 when(operation.getClientConnection()).thenReturn(connection);
83 when(connection.isConnectionValid()).thenReturn(isConnectionValid);

Completed in 74 milliseconds

<<11121314151617181920>>