Searched refs:connection (Results 26 - 50 of 652) sorted by relevance

1234567891011>>

/forgerock/opendj2-hg/src/server/org/opends/server/core/networkgroups/
H A DResourceLimitsPolicy.java56 * Adds a connection to the network group.
58 * @param connection
59 * The client connection.
61 abstract void addConnection(ClientConnection connection); argument
109 * @param connection
119 * @return a boolean indicating whether the connection is allowed
121 abstract boolean isAllowed(ClientConnection connection, argument
128 * Removes a connection from the network group.
130 * @param connection
131 * The client connection t
133 removeConnection(ClientConnection connection) argument
[all...]
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...]
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 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);
/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 DTask.java30 * @param connection Connection to use.
34 <T> void execute(T connection, TokenStorageAdapter<T> adapter) throws DataLayerException; argument
/forgerock/opendj-b2.6/src/server/org/opends/server/core/networkgroups/
H A DANDConnectionCriteria.java42 * A connection criteria which matches connections if and only if all
44 * connection criteria will always match.
49 // The list of underlying connection criteria.
55 * Creates a new AND connection criteria using the provided
72 public boolean matches(ClientConnection connection) argument
76 if (!filter.matches(connection))
90 public boolean willMatchAfterBind(ClientConnection connection, argument
95 if (!filter.willMatchAfterBind(connection, bindDN, authType,
H A DIPConnectionCriteria.java43 * A connection criteria which matches connections coming from a allowed
58 * Creates a new IP connection criteria using the provided allowed and
78 public boolean matches(ClientConnection connection) argument
80 InetAddress ipAddr = connection.getRemoteAddress();
102 public boolean willMatchAfterBind(ClientConnection connection, argument
105 return matches(connection);
H A DProtocolConnectionCriteria.java43 * A connection criteria which matches connections which use a permitted
55 * Creates a new protocol connection criteria using the provided
72 public boolean matches(ClientConnection connection) argument
75 connection.getConnectionHandler().getProtocol();
104 public boolean willMatchAfterBind(ClientConnection connection, argument
107 return matches(connection);
/forgerock/opendj2/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 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);
/forgerock/opendj2.6.2/src/server/org/opends/server/core/networkgroups/
H A DANDConnectionCriteria.java42 * A connection criteria which matches connections if and only if all
44 * connection criteria will always match.
49 // The list of underlying connection criteria.
55 * Creates a new AND connection criteria using the provided
72 public boolean matches(ClientConnection connection) argument
76 if (!filter.matches(connection))
90 public boolean willMatchAfterBind(ClientConnection connection, argument
95 if (!filter.willMatchAfterBind(connection, bindDN, authType,
H A DIPConnectionCriteria.java43 * A connection criteria which matches connections coming from a allowed
58 * Creates a new IP connection criteria using the provided allowed and
78 public boolean matches(ClientConnection connection) argument
80 InetAddress ipAddr = connection.getRemoteAddress();
102 public boolean willMatchAfterBind(ClientConnection connection, argument
105 return matches(connection);
H A DProtocolConnectionCriteria.java43 * A connection criteria which matches connections which use a permitted
55 * Creates a new protocol connection criteria using the provided
72 public boolean matches(ClientConnection connection) argument
75 connection.getConnectionHandler().getProtocol();
104 public boolean willMatchAfterBind(ClientConnection connection, argument
107 return matches(connection);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/networkgroups/
H A DANDConnectionCriteria.java42 * A connection criteria which matches connections if and only if all
44 * connection criteria will always match.
49 // The list of underlying connection criteria.
55 * Creates a new AND connection criteria using the provided
72 public boolean matches(ClientConnection connection) argument
76 if (!filter.matches(connection))
90 public boolean willMatchAfterBind(ClientConnection connection, argument
95 if (!filter.willMatchAfterBind(connection, bindDN, authType,
H A DIPConnectionCriteria.java43 * A connection criteria which matches connections coming from a allowed
58 * Creates a new IP connection criteria using the provided allowed and
78 public boolean matches(ClientConnection connection) argument
80 InetAddress ipAddr = connection.getRemoteAddress();
102 public boolean willMatchAfterBind(ClientConnection connection, argument
105 return matches(connection);
H A DProtocolConnectionCriteria.java43 * A connection criteria which matches connections which use a permitted
55 * Creates a new protocol connection criteria using the provided
72 public boolean matches(ClientConnection connection) argument
75 connection.getConnectionHandler().getProtocol();
104 public boolean willMatchAfterBind(ClientConnection connection, argument
107 return matches(connection);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/sm/datalayer/impl/
H A DSimpleTaskExecutorTest.java52 Closeable connection = mock(Closeable.class);
53 when(connectionFactory.create()).thenReturn(connection);
54 when(connectionFactory.isValid(connection)).thenReturn(true);
61 verify(task).execute(connection, adapter);
67 Closeable connection = mock(Closeable.class);
68 when(connectionFactory.create()).thenReturn(connection);
75 verify(connection).close();
81 Closeable connection = mock(Closeable.class);
82 given(connectionFactory.create()).willReturn(connection);
83 given(connectionFactory.isValid(connection))
[all...]
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/sample3/tools/
H A DTestScript.groovy52 * The purpose of Test is to test the connection to the external source to ensure the
61 def connection = new Sql(connection as Connection)
63 // if the database connection isn't properly established this query will result in an error.
65 connection.execute("show databases");
/forgerock/openam/openam-samples/sts-example-code/
H A DSoapSTSInstancePublisher.java139 HttpURLConnection connection = (HttpURLConnection)new URL(publishEndpoint).openConnection();
140 connection.setRequestMethod("GET");
141 connection.setRequestProperty(COOKIE, getAdminSessionTokenCookie());
142 connection.connect();
143 return readInputStream(connection.getInputStream());
148 HttpURLConnection connection = (HttpURLConnection)getPublishAddInstanceUri().openConnection();
149 connection.setDoOutput(true);
150 connection.setRequestMethod("POST");
151 connection.setRequestProperty(SharedSTSConstants.CONTENT_TYPE, SharedSTSConstants.APPLICATION_JSON);
152 connection
179 getSuccessMessage(HttpURLConnection connection) argument
183 getErrorMessage(HttpURLConnection connection) argument
[all...]
/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/opendj2/src/dsml/org/opends/dsml/protocol/
H A DDSMLAbandonOperation.java49 private LDAPConnection connection; field in class:DSMLAbandonOperation
52 * Create an instance with the specified LDAP connection.
54 * @param connection The LDAP connection to send the request on.
56 public DSMLAbandonOperation(LDAPConnection connection) argument
58 this.connection = connection;
98 connection.getLDAPWriter().writeMessage(msg);
/forgerock/opendj-b2.6/src/dsml/org/opends/dsml/protocol/
H A DDSMLAbandonOperation.java50 private LDAPConnection connection; field in class:DSMLAbandonOperation
53 * Create an instance with the specified LDAP connection.
55 * @param connection The LDAP connection to send the request on.
57 public DSMLAbandonOperation(LDAPConnection connection) argument
59 this.connection = connection;
99 connection.getLDAPWriter().writeMessage(msg);

Completed in 54 milliseconds

1234567891011>>