Searched defs:connection (Results 76 - 100 of 361) sorted by relevance

1234567891011>>

/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/networkgroups/
H A DSecurityConnectionCriteria.java38 * A connection criteria which matches connections which are secured
45 * A connection criteria which does not require a secured connection.
51 * A connection criteria which requires a secured connection.
56 // Indicates whether or not the connection must be secured.
62 * Creates a new security connection criteria.
65 * Indicates whether or not the connection must be secured.
77 public boolean matches(ClientConnection connection) argument
79 return willMatchAfterBind(null, null, null, connection
87 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/http/
H A DHTTPStatsProbe.java35 * written to the HTTP connection. We are using
64 public void onDataSentEvent(Connection connection, Buffer buffer) argument
71 public void onDataReceivedEvent(Connection connection, Buffer buffer) argument
/forgerock/opendj2-hg/src/server/org/opends/server/admin/client/ldap/
H A DLDAPManagementContext.java39 * An LDAP management connection context.
45 * connection.
47 * @param connection
48 * The LDAP connection.
51 public static ManagementContext createFromContext(LDAPConnection connection) { argument
52 Validator.ensureNotNull(connection);
53 return new LDAPManagementContext(connection, LDAPProfile.getInstance());
62 private LDAPManagementContext(LDAPConnection connection, argument
64 this.driver = new LDAPDriver(this, connection, profile);
/forgerock/opendj2-hg/src/server/org/opends/server/core/networkgroups/
H A DANDConnectionCriteria.java41 * A connection criteria which matches connections if and only if all
43 * connection criteria will always match.
48 // The list of underlying connection criteria.
54 * Creates a new AND connection criteria using the provided
71 public boolean matches(ClientConnection connection) argument
75 if (!filter.matches(connection))
89 public boolean willMatchAfterBind(ClientConnection connection, argument
94 if (!filter.willMatchAfterBind(connection, bindDN, authType,
H A DAuthMethodConnectionCriteria.java43 * A connection criteria which matches connections authenticated using a
56 * Creates a new authentication method connection criteria using the
73 public boolean matches(ClientConnection connection) argument
75 AuthenticationInfo authInfo = connection.getAuthenticationInfo();
110 public boolean willMatchAfterBind(ClientConnection connection, argument
H A DBindDNConnectionCriteria.java43 * A connection criteria which matches connections authenticated using a
50 * Creates a new bind DN connection criteria using the provided DN
55 * @return The new bind DN connection criteria.
67 * Creates a new bind DN connection criteria using the provided DN
72 * @return The new bind DN connection criteria.
108 public boolean matches(ClientConnection connection) argument
110 DN dn = connection.getAuthenticationInfo().getAuthenticationDN();
111 return willMatchAfterBind(connection, dn, null, false);
119 public boolean willMatchAfterBind(ClientConnection connection, argument
H A DConnectionCriteria.java39 * determine whether a client connection should be associated with a
46 * A connection criteria which does not match any connections.
55 public boolean matches(ClientConnection connection)
66 ClientConnection connection, DN bindDN,
75 * A connection criteria which matches all connections.
84 public boolean matches(ClientConnection connection)
95 ClientConnection connection, DN bindDN,
106 * Indicates whether or not the provided client connection matches
107 * this connection criteria.
109 * @param connection
114 matches(ClientConnection connection) argument
135 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument
[all...]
H A DIPConnectionCriteria.java42 * A connection criteria which matches connections coming from a allowed
57 * Creates a new IP connection criteria using the provided allowed and
77 public boolean matches(ClientConnection connection) argument
79 InetAddress ipAddr = connection.getRemoteAddress();
101 public boolean willMatchAfterBind(ClientConnection connection, argument
104 return matches(connection);
H A DProtocolConnectionCriteria.java42 * A connection criteria which matches connections which use a permitted
54 * Creates a new protocol connection criteria using the provided
71 public boolean matches(ClientConnection connection) argument
74 connection.getConnectionHandler().getProtocol();
103 public boolean willMatchAfterBind(ClientConnection connection, argument
106 return matches(connection);
H A DSecurityConnectionCriteria.java37 * A connection criteria which matches connections which are secured
44 * A connection criteria which does not require a secured connection.
50 * A connection criteria which requires a secured connection.
55 // Indicates whether or not the connection must be secured.
61 * Creates a new security connection criteria.
64 * Indicates whether or not the connection must be secured.
76 public boolean matches(ClientConnection connection) argument
78 return willMatchAfterBind(null, null, null, connection
86 willMatchAfterBind(ClientConnection connection, DN bindDN, AuthenticationType authType, boolean isSecure) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/http/
H A DHTTPStatsProbe.java34 * written to the HTTP connection. We are using
63 public void onDataSentEvent(Connection connection, Buffer buffer) argument
70 public void onDataReceivedEvent(Connection connection, Buffer buffer) argument
/forgerock/opendj2-jel-hg/src/server/org/opends/server/admin/client/ldap/
H A DLDAPManagementContext.java40 * An LDAP management connection context.
46 * connection.
48 * @param connection
49 * The LDAP connection.
52 public static ManagementContext createFromContext(LDAPConnection connection) { argument
53 Validator.ensureNotNull(connection);
54 return new LDAPManagementContext(connection, LDAPProfile.getInstance());
63 private LDAPManagementContext(LDAPConnection connection, argument
65 this.driver = new LDAPDriver(this, connection, profile);
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DElevatedConnectionFactoryWrapperTest.java53 private Connection connection; field in class:ElevatedConnectionFactoryWrapperTest
80 given(internalConnectionFactory.getConnection()).willReturn(connection);
86 try (Connection connection = connectionFactory.getConnection()) {
87 connection.read(context, readRequest);
91 verify(connection).read(contextCaptor.capture(), eq(readRequest));
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/exceptions/
H A DQueryFailedException.java32 * @param connection Connection used to make the query.
37 public QueryFailedException(Connection connection, DN dn, Filter filter, Throwable cause) { argument
44 connection,
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/impl/query/reaper/
H A DReaperImpl.java42 private C connection; field in class:ReaperImpl
60 * @param connection Non null connection to use for query.
62 public void setConnection(C connection) { argument
63 Reject.ifNull(connection);
64 this.connection = connection;
72 * Note: The connection provided must not change during the course of the query.
73 * Internally the LDAP server associated the query with the connection.
81 Reject.ifTrue(connection
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/api/
H A DAbstractTask.java42 public <T> void execute(T connection, TokenStorageAdapter<T> adapter) throws DataLayerException { argument
48 performTask(connection, adapter);
58 * @param connection Non null connection to use.
62 public abstract <T> void performTask(T connection, TokenStorageAdapter<T> adapter) throws DataLayerException; argument
H A DConnectionFactory.java30 * Creates a connection asynchronously. The returned promise can be used to obtain and act on the eventually
32 * @return A promise that will be resolved with a connection.
37 * Create a connection synchronously.
38 * @return The created connection.
48 * Checks if a (possibly null) connection is valid for use.
50 boolean isValid(T connection); argument
H A DTask.java30 * @param connection Connection to use.
34 <T> void execute(T connection, TokenStorageAdapter<T> adapter) throws DataLayerException; argument
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/ldap/
H A DLdapSearchHandler.java47 * Perform a search using the provided connection.
51 * @param connection Required for perform the search.
59 public Result performSearch(Connection connection, SearchRequest request, Collection<Entry> entries) throws QueryFailedException { argument
61 return connection.search(request, entries);
69 throw new QueryFailedException(connection, ldapConfig.getTokenStoreRootSuffix(), request.getFilter(), e);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/tasks/
H A DCreateTask.java46 * @param connection Non null connection to use.
51 public void performTask(Object connection, TokenStorageAdapter adapter) throws DataLayerException { argument
52 adapter.create(connection, token);
H A DDeleteTask.java44 * @param connection Non null connection to use for the operation.
50 public void performTask(Object connection, TokenStorageAdapter adapter) throws DataLayerException { argument
51 adapter.delete(connection, tokenId);
H A DPartialQueryTask.java51 * @param connection Connection to use.
57 public void performTask(Object connection, TokenStorageAdapter adapter) throws DataLayerException { argument
60 handler.processResults(adapter.partialQuery(connection, tokenFilter));
H A DQueryTask.java56 * @param connection Connection to use.
62 public void performTask(Object connection, TokenStorageAdapter adapter) throws DataLayerException { argument
64 handler.processResults(adapter.query(connection, tokenFilter));
H A DReadTask.java50 * @param connection Non null connection.
51 * @param adapter Non null for connection-coupled operations.
55 public void performTask(Object connection, TokenStorageAdapter adapter) throws DataLayerException { argument
56 Token token = adapter.read(connection, tokenId);
H A DUpdateTask.java49 * @param connection Non null Connection.
50 * @param adapter Non null for connection-coupled operations.
54 public void performTask(Object connection, TokenStorageAdapter adapter) throws DataLayerException { argument
55 Token previous = adapter.read(connection, token.getTokenId());
57 adapter.create(connection, token);
59 adapter.update(connection, previous, token);

Completed in 91 milliseconds

1234567891011>>