Searched refs:read (Results 126 - 150 of 882) sorted by relevance

1234567891011>>

/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/
H A DFileUtil.java38 * The FileUtil class contains common methods to read text files.
53 * when the source {@code file} can not be read
58 channel.read(buffer);
70 * when the source {@code file} can not be read
84 while ((len = in.read(buf)) != -1) {
/forgerock/jee-agents-v3.5/jee-agents-jetty/jee-agents-jetty-v61/src/main/java/com/sun/identity/agents/tools/jetty/v61/
H A DServerClasspathBase.java75 //int read = oldJarInputStream.read(bytes, 0, BUFF_SIZE);
76 //while (read > 0) {
77 // fos.write(bytes, 0, read);
78 // read = oldJarInputStream.read(bytes, 0, BUFF_SIZE);
257 int read = in.read(bytes, 0, BUFF_SIZE);
258 while (read > 0) {
259 out.write(bytes, 0, read);
[all...]
/forgerock/jee-agents-v3.5/jee-agents-jetty/jee-agents-jetty-v7/src/main/java/com/sun/identity/agents/tools/jetty/v7/
H A DServerClasspathBase.java240 int read = in.read(bytes, 0, BUFF_SIZE);
241 while (read > 0) {
242 out.write(bytes, 0, read);
243 read = in.read(bytes, 0, BUFF_SIZE);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/sm/datalayer/store/
H A DTokenDataStoreTest.java124 when(taskFactory.read(anyString(), any(ResultHandler.class))).thenAnswer(new Answer<Task>() {
133 Object result = store.read("123");
136 verify(taskFactory).read(eq("123"), any(ResultHandler.class));
148 when(taskFactory.read(anyString(), any(ResultHandler.class))).thenAnswer(new Answer<Task>() {
157 store.read("123");
167 when(taskFactory.read(anyString(), any(ResultHandler.class))).thenAnswer(new Answer<Task>() {
176 store.read("123");
186 when(taskFactory.read(anyString(), any(ResultHandler.class))).thenAnswer(new Answer<Task>() {
196 store.read("123");
206 when(taskFactory.read(e
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/
H A DASN1InputStreamReader.java68 * The input stream to be read.
82 * Determines if a complete ASN.1 element is ready to be read from the
119 * be read. This method will block until enough data is available on the
160 * @return <code>true</code> if the type byte was successfully read
174 int type = in.read();
201 * @return <code>true</code> if the length bytes was successfully read
215 int readByte = in.read();
246 readByte = in.read();
285 * @return <code>true</code> if the length bytes was successfully read.
302 readByte = in.read();
[all...]
/forgerock/opendj2/src/server/org/opends/server/protocols/asn1/
H A DASN1InputStreamReader.java67 * The input stream to be read.
81 * Determines if a complete ASN.1 element is ready to be read from the
118 * be read. This method will block until enough data is available on the
159 * @return <code>true</code> if the type byte was successfully read
173 int type = in.read();
200 * @return <code>true</code> if the length bytes was successfully read
214 int readByte = in.read();
245 readByte = in.read();
284 * @return <code>true</code> if the length bytes was successfully read.
301 readByte = in.read();
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/asn1/
H A DASN1InputStreamReader.java68 * The input stream to be read.
82 * Determines if a complete ASN.1 element is ready to be read from the
119 * be read. This method will block until enough data is available on the
160 * @return <code>true</code> if the type byte was successfully read
174 int type = in.read();
201 * @return <code>true</code> if the length bytes was successfully read
215 int readByte = in.read();
246 readByte = in.read();
285 * @return <code>true</code> if the length bytes was successfully read.
302 readByte = in.read();
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/asn1/
H A DASN1InputStreamReader.java68 * The input stream to be read.
82 * Determines if a complete ASN.1 element is ready to be read from the
119 * be read. This method will block until enough data is available on the
160 * @return <code>true</code> if the type byte was successfully read
174 int type = in.read();
201 * @return <code>true</code> if the length bytes was successfully read
215 int readByte = in.read();
246 readByte = in.read();
285 * @return <code>true</code> if the length bytes was successfully read.
302 readByte = in.read();
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/asn1/
H A DASN1InputStreamReader.java67 * The input stream to be read.
81 * Determines if a complete ASN.1 element is ready to be read from the
118 * be read. This method will block until enough data is available on the
159 * @return <code>true</code> if the type byte was successfully read
173 int type = in.read();
200 * @return <code>true</code> if the length bytes was successfully read
214 int readByte = in.read();
245 readByte = in.read();
284 * @return <code>true</code> if the length bytes was successfully read.
301 readByte = in.read();
[all...]
/forgerock/openam-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/
H A DOpenAMTokenStoreTest.java116 given(tokenStore.read("TOKEN_ID")).willReturn(token);
139 given(tokenStore.read("TOKEN_ID")).willReturn(token);
157 given(tokenStore.read("TOKEN_ID")).willReturn(null);
171 doThrow(CoreTokenException.class).when(tokenStore).read("TOKEN_ID");
204 given(tokenStore.read("TOKEN_ID")).willReturn(token);
261 given(tokenStore.read("123")).willReturn(json(object(field("tokenName", asSet("device_code")))));
270 given(tokenStore.read("123")).willReturn(json(object(
298 given(tokenStore.read("123")).willReturn(code);
319 given(tokenStore.read("123")).willReturn(code);
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/
H A DOpenAMResourceSetStore.java91 public ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) throws NotFoundException, method in class:OpenAMResourceSetStore
107 public ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException { method in class:OpenAMResourceSetStore
108 return read(resourceSetId, new ResourceSetOwnerFilter(resourceOwnerId));
115 throw new ServerException("Could not read token with id, " + resourceSetDescription.getId()
118 read(resourceSetDescription.getId(), resourceSetDescription.getResourceOwnerId());
130 ResourceSetDescription token = read(resourceSetId, resourceOwnerId);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/
H A DASN1ByteChannelReader.java45 * and save any unread ASN.1 elements if required. All data read from
46 * the channel will be ready to be read as ASN.1 elements no matter
47 * how many times the channel is read. However, to minimize the the
48 * amount of memory used by this reader, the client should read ASN.1
49 * elements as soon as they are read off the channel.
59 * If bytes are read from the channel, the client should call
61 * be read. However, if no data is actually read, the client should
64 * As long as a complete element is ready, the client should read the
67 * again to read mor
136 public int read() method in class:ASN1ByteChannelReader.CombinedBufferInputStream
176 public int read(byte[] b) method in class:ASN1ByteChannelReader.CombinedBufferInputStream
210 public int read(byte[] b, int off, int len) method in class:ASN1ByteChannelReader.CombinedBufferInputStream
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/
H A DOpenAMResourceSetStore.java81 public ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) throws NotFoundException, method in class:OpenAMResourceSetStore
97 public ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException { method in class:OpenAMResourceSetStore
98 return read(resourceSetId, new ResourceSetOwnerFilter(resourceOwnerId));
105 throw new ServerException("Could not read token with id, " + resourceSetDescription.getId()
108 read(resourceSetDescription.getId(), resourceSetDescription.getResourceOwnerId());
120 ResourceSetDescription token = read(resourceSetId, resourceOwnerId);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/sms/
H A DSmsRequestHandler.java146 private final Lock read = lock.readLock(); field in class:SmsRequestHandler
646 read.lock();
649 read.unlock();
662 read.lock();
665 read.unlock();
679 read.lock();
682 read.unlock();
696 read.lock();
699 read.unlock();
714 read
[all...]
/forgerock/opendj2/src/server/org/opends/server/backends/jeb/
H A DDN2ID.java212 * @param txn A JE database transaction to be used for the database read, or
215 * @param lockMode The JE locking mode to be used for the read.
228 status = read(txn, key, data, LockMode.DEFAULT);
240 public OperationStatus read(Transaction txn, method in class:DN2ID
244 return super.read(txn, key, data, lockMode);
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/jeb/
H A DDN2ID.java213 * @param txn A JE database transaction to be used for the database read, or
216 * @param lockMode The JE locking mode to be used for the read.
229 status = read(txn, key, data, LockMode.DEFAULT);
241 public OperationStatus read(Transaction txn, method in class:DN2ID
245 return super.read(txn, key, data, lockMode);
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/jeb/
H A DDN2ID.java213 * @param txn A JE database transaction to be used for the database read, or
216 * @param lockMode The JE locking mode to be used for the read.
229 status = read(txn, key, data, LockMode.DEFAULT);
241 public OperationStatus read(Transaction txn, method in class:DN2ID
245 return super.read(txn, key, data, lockMode);
/forgerock/opendj2-hg/src/server/org/opends/server/backends/jeb/
H A DDN2ID.java212 * @param txn A JE database transaction to be used for the database read, or
215 * @param lockMode The JE locking mode to be used for the read.
228 status = read(txn, key, data, LockMode.DEFAULT);
240 public OperationStatus read(Transaction txn, method in class:DN2ID
244 return super.read(txn, key, data, lockMode);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/backends/jeb/
H A DDN2ID.java213 * @param txn A JE database transaction to be used for the database read, or
216 * @param lockMode The JE locking mode to be used for the read.
229 status = read(txn, key, data, LockMode.DEFAULT);
241 public OperationStatus read(Transaction txn, method in class:DN2ID
245 return super.read(txn, key, data, lockMode);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/impl/queue/
H A DTaskDispatcherTest.java77 queue.read(null, null);
137 given(mockTaskFactory.read("123", mockHandler)).willReturn(task);
140 queue.read("123", mockHandler);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/session/blacklist/
H A DCTSSessionBlacklistTest.java79 given(mockCts.read(SID)).willReturn(new Token(SID, TokenType.SESSION_BLACKLIST));
91 given(mockCts.read(SID)).willReturn(null);
103 given(mockCts.read(SID)).willThrow(new CoreTokenException("test"));
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/workflow/
H A Dgettasksview.js40 processInstance = openidm.read("workflow/processinstance/"+processInstanceId);
49 taskDefinition = openidm.read("workflow/processdefinition/" + processDefinitionId + "/taskdefinition/" + taskDefinitionKey)
143 task = openidm.read("workflow/taskinstance/"+taskId);
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/blacklist/
H A DCTSBlacklistTest.java81 given(mockCts.read(SID)).willReturn(new Token(SID, TokenType.SESSION_BLACKLIST));
93 given(mockCts.read(SID)).willReturn(null);
105 given(mockCts.read(SID)).willThrow(new CoreTokenException("test"));
/forgerock/authenticator-ios-v2/unit-tests/
H A DFRAMechanismReaderActionTests.m92 [action read:qrCode view:nil];
126 [action read:firstCode view:nil];
127 [action read:secondCode view:nil];
/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/
H A Drouter-authz.js114 taskInstance = openidm.read("workflow/taskinstance/" + taskInstanceId);
173 var processesForUser = openidm.read("endpoint/getprocessesforuser").processes,
214 var ui_config = openidm.read("config/ui/configuration"),
223 // in the case of a literal read on themselves
261 var managedConfig = openidm.read("config/managed"),
280 currentObject = openidm.read(request.resourcePath);
351 currentUser = openidm.read(request.resourcePath);
468 // We only need to block non-AJAX requests when the action is not "read"
469 if (context.http !== undefined && request.method !== "read" && !isAJAXRequest()) {

Completed in 104 milliseconds

1234567891011>>