/forgerock/opendj2.6.2/src/server/org/opends/server/loggers/ |
H A D | AbstractTextAccessLogPublisher.java | 260 public boolean isConnectLoggable(final ClientConnection connection) argument 267 if (!filterClientConnection(connection)) 281 public boolean isDisconnectLoggable(final ClientConnection connection) argument 288 if (!filterClientConnection(connection)) 293 if (!filterUser(connection)) 309 final ClientConnection connection = operation.getClientConnection(); 312 && filterClientConnection(connection) 313 && filterUser(connection) && filterRequest(operation); 361 private boolean filterClientConnection(final ClientConnection connection) argument 367 final String protocol = toLowerCase(connection 644 filterUser(final ClientConnection connection) argument 669 filterUserBindDN(final ClientConnection connection) argument 708 filterUserIsMemberOf(final ClientConnection connection) argument 784 isConnectLoggable(ClientConnection connection) argument 795 isDisconnectLoggable(ClientConnection connection) argument 848 isConnectLoggable(final ClientConnection connection) argument 867 isDisconnectLoggable(final ClientConnection connection) argument 963 isConnectLoggable(final ClientConnection connection) argument 989 isDisconnectLoggable(final ClientConnection connection) argument [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/tools/ |
H A D | ManageAccount.java | 490 // The connection to the server. 491 private static LDAPConnection connection; field in class:ManageAccount 823 // Close the connection to the server if it's active. 824 if (connection != null) 826 connection.close(nextMessageID); 835 * arguments, and establishes a connection to the server. 1259 // Create the LDAP connection options object, which will be used to 1302 // SSL connection factory. 1377 connection = new LDAPConnection(host.getValue(), port.getIntValue(), 1379 connection [all...] |
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/ |
H A D | NetworkGroupTest.java | 369 * and the expected result (true if the connection with 638 // Create a client connection for the test. 639 InternalClientConnection connection = 643 searchEntry(connection, suffix, true); 644 searchEntry(connection, suffix2, false); 650 connection, backendConfigDN, 652 addBaseEntry(connection, suffix2, "networkgroup suffix"); 655 searchEntry(connection, suffix, true); 656 searchEntry(connection, suffix2, true); 660 connection, backendConfigD 1139 searchPublicNamingContexts( InternalClientConnection connection, boolean shouldExist, int expectedNamingContexts ) argument 1168 searchEntry( InternalClientConnection connection, String baseDN, boolean shouldExist ) argument 1198 addBaseEntry( InternalClientConnection connection, String suffix, String namingAttribute ) argument 1229 modifyAttribute( InternalClientConnection connection, String baseDN, ModificationType modType, String attributeName, String attributeValue ) argument [all...] |
/forgerock/opendj2.6.2/tests/unit-tests-testng/src/server/org/opends/server/replication/ |
H A D | ReplicationTestCase.java | 103 * The internal connection used for operation 105 protected InternalClientConnection connection; field in class:ReplicationTestCase 168 // Create an internal connection 169 connection = InternalClientConnection.getRootConnection(); 254 * Check connection of the provided ds to the 255 * replication server. Waits for connection to be ok up to secTimeout seconds 262 // Go out of the loop only if connection is verified or if timeout occurs 265 // Test connection 271 TRACER.debugInfo("checkConnection: connection of broker " 372 op = new DeleteOperationBasis(connection, InternalClientConnectio [all...] |
/forgerock/opendj2.6.2/src/dsml/org/opends/dsml/protocol/ |
H A D | DSMLServlet.java | 250 * @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 D | DSMLServlet.java | 253 * @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/core/networkgroups/ |
H A D | NetworkGroupTest.java | 294 * and the expected result (true if the connection with 563 // Create a client connection for the test. 564 InternalClientConnection connection = 568 searchEntry(connection, suffix, true); 569 searchEntry(connection, suffix2, false); 575 connection, backendConfigDN, 577 addBaseEntry(connection, suffix2, "networkgroup suffix"); 580 searchEntry(connection, suffix, true); 581 searchEntry(connection, suffix2, true); 585 connection, backendConfigD 1062 searchPublicNamingContexts( InternalClientConnection connection, boolean shouldExist, int expectedNamingContexts ) argument 1091 searchEntry( InternalClientConnection connection, String baseDN, boolean shouldExist ) argument 1121 addBaseEntry( InternalClientConnection connection, String suffix, String namingAttribute ) argument 1152 modifyAttribute( InternalClientConnection connection, String baseDN, ModificationType modType, String attributeName, String attributeValue ) argument [all...] |
/forgerock/opendj2-jel-hg/src/dsml/org/opends/dsml/protocol/ |
H A D | DSMLServlet.java | 250 * @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-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/ |
H A D | NetworkGroupTest.java | 410 * and the expected result (true if the connection with 698 // Create a client connection for the test. 699 InternalClientConnection connection = 703 searchEntry(connection, suffix, true); 704 searchEntry(connection, suffix2, false); 710 connection, backendConfigDN, 712 addBaseEntry(connection, suffix2, "networkgroup suffix"); 715 searchEntry(connection, suffix, true); 716 searchEntry(connection, suffix2, true); 720 connection, backendConfigD 1203 searchPublicNamingContexts( InternalClientConnection connection, boolean shouldExist, int expectedNamingContexts ) argument 1232 searchEntry( InternalClientConnection connection, String baseDN, boolean shouldExist ) argument 1262 addBaseEntry( InternalClientConnection connection, String suffix, String namingAttribute ) argument 1293 modifyAttribute( InternalClientConnection connection, String baseDN, ModificationType modType, String attributeName, String attributeValue ) argument [all...] |
/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/ |
H A D | ReplicationTestCase.java | 103 * The internal connection used for operation 105 protected InternalClientConnection connection; field in class:ReplicationTestCase 168 // Create an internal connection 169 connection = InternalClientConnection.getRootConnection(); 254 * Check connection of the provided ds to the 255 * replication server. Waits for connection to be ok up to secTimeout seconds 262 // Go out of the loop only if connection is verified or if timeout occurs 265 // Test connection 271 TRACER.debugInfo("checkConnection: connection of broker " 372 op = new DeleteOperationBasis(connection, InternalClientConnectio [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/loggers/ |
H A D | AbstractTextAccessLogPublisher.java | 260 public boolean isConnectLoggable(final ClientConnection connection) argument 267 if (!filterClientConnection(connection)) 281 public boolean isDisconnectLoggable(final ClientConnection connection) argument 288 if (!filterClientConnection(connection)) 293 if (!filterUser(connection)) 309 final ClientConnection connection = operation.getClientConnection(); 312 && filterClientConnection(connection) 313 && filterUser(connection) && filterRequest(operation); 361 private boolean filterClientConnection(final ClientConnection connection) argument 367 final String protocol = toLowerCase(connection 644 filterUser(final ClientConnection connection) argument 669 filterUserBindDN(final ClientConnection connection) argument 708 filterUserIsMemberOf(final ClientConnection connection) argument 784 isConnectLoggable(ClientConnection connection) argument 795 isDisconnectLoggable(ClientConnection connection) argument 848 isConnectLoggable(final ClientConnection connection) argument 867 isDisconnectLoggable(final ClientConnection connection) argument 963 isConnectLoggable(final ClientConnection connection) argument 989 isDisconnectLoggable(final ClientConnection connection) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/tools/ |
H A D | ManageAccount.java | 490 // The connection to the server. 491 private static LDAPConnection connection; field in class:ManageAccount 823 // Close the connection to the server if it's active. 824 if (connection != null) 826 connection.close(nextMessageID); 835 * arguments, and establishes a connection to the server. 1259 // Create the LDAP connection options object, which will be used to 1302 // SSL connection factory. 1377 connection = new LDAPConnection(host.getValue(), port.getIntValue(), 1379 connection [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/loggers/ |
H A D | AbstractTextAccessLogPublisher.java | 222 public boolean isConnectLoggable(final ClientConnection connection) argument 229 if (!filterClientConnection(connection)) 243 public boolean isDisconnectLoggable(final ClientConnection connection) argument 250 if (!filterClientConnection(connection)) 255 if (!filterUser(connection)) 271 final ClientConnection connection = operation.getClientConnection(); 274 && filterClientConnection(connection) 275 && filterUser(connection) && filterRequest(operation); 323 private boolean filterClientConnection(final ClientConnection connection) argument 329 final String protocol = toLowerCase(connection 601 filterUser(final ClientConnection connection) argument 626 filterUserBindDN(final ClientConnection connection) argument 642 filterUserIsMemberOf(final ClientConnection connection) argument 718 isConnectLoggable(ClientConnection connection) argument 729 isDisconnectLoggable(ClientConnection connection) argument 782 isConnectLoggable(final ClientConnection connection) argument 801 isDisconnectLoggable(final ClientConnection connection) argument 897 isConnectLoggable(final ClientConnection connection) argument 923 isDisconnectLoggable(final ClientConnection connection) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/tools/ |
H A D | ManageAccount.java | 487 // The connection to the server. 488 private static LDAPConnection connection; field in class:ManageAccount 801 // Close the connection to the server if it's active. 802 if (connection != null) 804 connection.close(nextMessageID); 813 * arguments, and establishes a connection to the server. 1237 // Create the LDAP connection options object, which will be used to 1280 // SSL connection factory. 1355 connection = new LDAPConnection(host.getValue(), port.getIntValue(), 1357 connection [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/loggers/ |
H A D | AbstractTextAccessLogPublisher.java | 221 public boolean isConnectLoggable(final ClientConnection connection) argument 223 return logConnectRecords && filterClientConnection(connection); 230 public boolean isDisconnectLoggable(final ClientConnection connection) argument 233 && filterClientConnection(connection) 234 && filterUser(connection); 243 final ClientConnection connection = operation.getClientConnection(); 245 && filterClientConnection(connection) 246 && filterUser(connection) && filterRequest(operation); 277 private boolean filterClientConnection(final ClientConnection connection) argument 282 final String protocol = toLowerCase(connection 535 filterUser(final ClientConnection connection) argument 551 filterUserBindDN(final ClientConnection connection) argument 567 filterUserIsMemberOf(final ClientConnection connection) argument 637 isConnectLoggable(ClientConnection connection) argument 648 isDisconnectLoggable(ClientConnection connection) argument 699 isConnectLoggable(final ClientConnection connection) argument 716 isDisconnectLoggable(final ClientConnection connection) argument 806 isConnectLoggable(final ClientConnection connection) argument 830 isDisconnectLoggable(final ClientConnection connection) argument [all...] |
/forgerock/openam-v13/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/ |
H A D | OAuth.java | 684 HttpURLConnection connection = HttpURLConnectionManager.getConnection(urlC); 685 connection.setDoOutput(true); 686 connection.setRequestMethod("GET"); 688 connection.setRequestProperty("Authorization", authorizationHeader); 690 connection.connect(); 692 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { 694 is = connection.getInputStream(); 697 String errorStream = getErrorStream(connection); 700 " Response code: " + connection.getResponseCode() + "\n " + 701 " Response message: " + connection 716 getErrorStream(HttpURLConnection connection) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/tools/ |
H A D | ManageAccount.java | 491 /** The connection to the server. */ 492 private static LDAPConnection connection; field in class:ManageAccount 794 // Close the connection to the server if it's active. 795 if (connection != null) 797 connection.close(nextMessageID); 806 * arguments, and establishes a connection to the server. 1221 // Create the LDAP connection options object, which will be used to 1258 // SSL connection factory. 1329 connection = new LDAPConnection(host.getValue(), port.getIntValue(), 1331 connection [all...] |
/forgerock/opendj-v3/opendj-dsml-servlet/src/main/java/org/opends/dsml/protocol/ |
H A D | DSMLServlet.java | 243 * @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 D | JDBCRepoService.java | 257 Connection connection = null; 260 connection = getConnection(); 261 connection.setAutoCommit(true); // Ensure this does not get 268 result = handler.read(request.getResourcePath(), type, localId, connection); 283 CleanupHelper.loggedClose(connection); 313 Connection connection = null; 325 connection = getConnection(); 326 connection.setAutoCommit(false); 328 handler.create(fullId, type, localId, obj.asMap(), connection); 330 connection 804 rollback(Connection connection) argument [all...] |
/forgerock/openidm-v4/openidm-provisioner-openicf/src/test/java/org/forgerock/openidm/provisioner/openicf/impl/ |
H A D | OpenICFProvisionerServiceTest.java | 159 private Connection connection = null; field in class:OpenICFProvisionerServiceTest 349 connection = Resources.newInternalConnection(router); 384 JsonValue createdObject = connection.create(new SecurityContext(new RootContext(), "system", null ), createRequest).getContent(); 390 JsonValue patchResult = connection.patch(new RootContext(), patchRequest).getContent(); 396 patchResult = connection.patch(new RootContext(), patchRequest).getContent(); 402 patchResult = connection.patch(new RootContext(), patchRequest).getContent(); 408 patchResult = connection.patch(new RootContext(), patchRequest).getContent(); 414 patchResult = connection.patch(new RootContext(), patchRequest).getContent(); 420 patchResult = connection.patch(new RootContext(), patchRequest).getContent(); 424 connection [all...] |
/forgerock/openam/openam-authentication/openam-auth-oauth2/src/main/java/org/forgerock/openam/authentication/modules/oauth2/ |
H A D | OAuth.java | 711 HttpURLConnection connection = HttpURLConnectionManager.getConnection(urlC); 712 connection.setDoOutput(true); 713 connection.setRequestMethod("GET"); 715 connection.setRequestProperty("Authorization", authorizationHeader); 717 connection.connect(); 719 if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) { 721 is = connection.getInputStream(); 724 String errorStream = getErrorStream(connection); 727 " Response code: " + connection.getResponseCode() + "\n " + 728 " Response message: " + connection 745 getErrorStream(HttpURLConnection connection) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/core/networkgroups/ |
H A D | NetworkGroup.java | 86 * connection belongs to a network group whenever it satisfies all the 87 * network group criteria. As soon as a client connection belongs to a 346 * @param connection 347 * the client connection 357 ClientConnection connection, DN dn, AuthenticationType authType, 362 if (ng.matchAfterBind(connection, dn, authType, isSecure)) 375 * @param connection 376 * the client connection 380 ClientConnection connection) 384 if (ng.match(connection)) 356 findBindMatchingNetworkGroup( ClientConnection connection, DN dn, AuthenticationType authType, boolean isSecure) argument 379 findMatchingNetworkGroup( ClientConnection connection) argument 885 addConnection(ClientConnection connection) argument 933 checkResourceLimitsPolicy(ClientConnection connection, PreParseOperation operation, boolean fullCheck, List<Message> messages) argument 1305 removeConnection(ClientConnection connection) argument 1808 match(ClientConnection connection) argument 1837 matchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | LDAPPassThroughAuthenticationPolicyFactory.java | 85 * A simplistic load-balancer connection factory implementation using 92 * A connection which automatically retries operations on other servers. 96 private Connection connection; field in class:LDAPPassThroughAuthenticationPolicyFactory.AbstractLoadBalancer.FailoverConnection 116 connection = factory.getConnection(); 150 connection.close(); 166 return connection.search(baseDN, scope, filter); 192 connection.simpleBind(username, password); 211 // If the error does not indicate that the connection has failed, then 218 // The associated server is unavailable, so close the connection and 219 // try the next connection factor 598 private Connection connection; field in class:LDAPPassThroughAuthenticationPolicyFactory.ConnectionPool.PooledConnection 603 PooledConnection(final Connection connection) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/backends/ |
H A D | RootDSEBackend.java | 469 * @param connection 470 * The client connection, or {@code null} if there is no associated 471 * client connection. 474 public Entry getRootDSE(ClientConnection connection) argument 485 if (connection == null) 492 for (WorkflowTopologyNode node : connection.getNetworkGroup() 575 if (connection != null) 577 // Only return the list of enabled protocols / ciphers for the connection 579 supportedTlsProtocols = connection.getConnectionHandler() 581 supportedTlsCiphers = connection [all...] |
/forgerock/opendj2/src/server/org/opends/server/core/networkgroups/ |
H A D | NetworkGroup.java | 85 * connection belongs to a network group whenever it satisfies all the 86 * network group criteria. As soon as a client connection belongs to a 345 * @param connection 346 * the client connection 356 ClientConnection connection, DN dn, AuthenticationType authType, 361 if (ng.matchAfterBind(connection, dn, authType, isSecure)) 374 * @param connection 375 * the client connection 379 ClientConnection connection) 383 if (ng.match(connection)) 355 findBindMatchingNetworkGroup( ClientConnection connection, DN dn, AuthenticationType authType, boolean isSecure) argument 378 findMatchingNetworkGroup( ClientConnection connection) argument 884 addConnection(ClientConnection connection) argument 932 checkResourceLimitsPolicy(ClientConnection connection, PreParseOperation operation, boolean fullCheck, List<Message> messages) argument 1304 removeConnection(ClientConnection connection) argument 1807 match(ClientConnection connection) argument 1836 matchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument [all...] |