/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/networkgroups/ |
H A D | SecurityConnectionCriteria.java | 38 * 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 D | HTTPStatsProbe.java | 35 * 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 D | LDAPManagementContext.java | 39 * 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 D | ANDConnectionCriteria.java | 41 * 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 D | AuthMethodConnectionCriteria.java | 43 * 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 D | BindDNConnectionCriteria.java | 43 * 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 D | ConnectionCriteria.java | 39 * 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 D | IPConnectionCriteria.java | 42 * 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 D | ProtocolConnectionCriteria.java | 42 * 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 D | SecurityConnectionCriteria.java | 37 * 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 D | HTTPStatsProbe.java | 34 * 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 D | LDAPManagementContext.java | 40 * 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 D | ElevatedConnectionFactoryWrapperTest.java | 53 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 D | QueryFailedException.java | 32 * @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 D | ReaperImpl.java | 42 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 D | AbstractTask.java | 42 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 D | ConnectionFactory.java | 30 * 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 D | Task.java | 30 * @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 D | LdapSearchHandler.java | 47 * 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 D | CreateTask.java | 46 * @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 D | DeleteTask.java | 44 * @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 D | PartialQueryTask.java | 51 * @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 D | QueryTask.java | 56 * @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 D | ReadTask.java | 50 * @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 D | UpdateTask.java | 49 * @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);
|