Searched refs:createRequest (Results 1 - 25 of 103) sorted by relevance

12345

/forgerock/openam-v13/openam-http-client/src/main/java/org/forgerock/http/client/request/
H A DHttpClientRequestFactory.java31 public HttpClientRequest createRequest() { method in class:HttpClientRequestFactory
/forgerock/openam/openam-http-client/src/main/java/org/forgerock/http/client/request/
H A DHttpClientRequestFactory.java31 public HttpClientRequest createRequest() { method in class:HttpClientRequestFactory
/forgerock/openidm-v4/openidm-repo-orientdb/src/test/java/org/forgerock/openidm/repo/orientdb/internal/
H A DOrientDBRepoServiceTest.javax241 CreateRequest createRequest = Requests.newCreateRequest("/repo/managed/user", content);
242 Resource resource0 = connection.create(new RootContext(), createRequest);
266 CreateRequest createRequest = Requests.newCreateRequest("/repo/config", "audit", content);
267 Resource resource0 = connection.create(new RootContext(), createRequest);
270 createRequest = Requests.newCreateRequest("/repo/config/system", "ldap", content);
271 Resource resource1 = connection.create(new RootContext(), createRequest);
319 CreateRequest createRequest = Requests.newCreateRequest("/repo/managed/user", content);
320 Resource resource0 = connection.create(new RootContext(), createRequest);
330 createRequest = Requests.newCreateRequest("/repo/managed/user", "1", content);
331 Resource resource1 = connection.create(new RootContext(), createRequest);
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/sms/
H A DSmsRealmProviderTest.java75 private CreateRequest createRequest; field in class:SmsRealmProviderTest
114 when(createRequest.getContent()).thenReturn(createContent);
140 Promise<ResourceResponse, ResourceException> result = provider.handleCreate(context, createRequest);
152 Promise<ResourceResponse, ResourceException> result = provider.handleCreate(context, createRequest);
164 Promise<ResourceResponse, ResourceException> result = provider.handleCreate(context, createRequest);
176 Promise<ResourceResponse, ResourceException> result = provider.handleCreate(context, createRequest);
188 Promise<ResourceResponse, ResourceException> result = provider.handleCreate(context, createRequest);
200 Promise<ResourceResponse, ResourceException> result = provider.handleCreate(context, createRequest);
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/
H A DPolicyV1FilterTest.java146 CreateRequest createRequest = mock(CreateRequest.class);
148 given(createRequest.getContent()).willReturn(jsonValue);
159 filter.filterCreate(context, createRequest, requestHandler);
175 CreateRequest createRequest = mock(CreateRequest.class);
177 given(createRequest.getContent()).willReturn(jsonValue);
181 filter.filterCreate(context, createRequest, requestHandler);
198 CreateRequest createRequest = mock(CreateRequest.class);
200 given(createRequest.getContent()).willReturn(jsonValue);
207 filter.filterCreate(context, createRequest, requestHandler);
226 CreateRequest createRequest
[all...]
H A DApplicationV1FilterTest.java140 CreateRequest createRequest = mock(CreateRequest.class);
141 given(createRequest.getContent()).willReturn(jsonValue);
153 given(requestHandler.handleCreate(eq(context), eq(createRequest))).willReturn(mockPromise);
157 filter.filterCreate(context, createRequest, requestHandler);
162 verify(requestHandler).handleCreate(eq(context), eq(createRequest));
184 CreateRequest createRequest = mock(CreateRequest.class);
185 given(createRequest.getContent()).willReturn(jsonValue);
203 filter.filterCreate(context, createRequest, requestHandler);
207 verify(requestHandler).handleCreate(eq(context), eq(createRequest));
228 CreateRequest createRequest
[all...]
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/
H A DPolicyV1FilterTest.java146 CreateRequest createRequest = mock(CreateRequest.class);
148 given(createRequest.getContent()).willReturn(jsonValue);
159 filter.filterCreate(context, createRequest, requestHandler);
175 CreateRequest createRequest = mock(CreateRequest.class);
177 given(createRequest.getContent()).willReturn(jsonValue);
181 filter.filterCreate(context, createRequest, requestHandler);
198 CreateRequest createRequest = mock(CreateRequest.class);
200 given(createRequest.getContent()).willReturn(jsonValue);
207 filter.filterCreate(context, createRequest, requestHandler);
226 CreateRequest createRequest
[all...]
H A DApplicationV1FilterTest.java141 CreateRequest createRequest = mock(CreateRequest.class);
142 given(createRequest.getContent()).willReturn(jsonValue);
154 given(requestHandler.handleCreate(eq(context), eq(createRequest))).willReturn(mockPromise);
158 filter.filterCreate(context, createRequest, requestHandler);
163 verify(requestHandler).handleCreate(eq(context), eq(createRequest));
185 CreateRequest createRequest = mock(CreateRequest.class);
186 given(createRequest.getContent()).willReturn(jsonValue);
204 filter.filterCreate(context, createRequest, requestHandler);
208 verify(requestHandler).handleCreate(eq(context), eq(createRequest));
229 CreateRequest createRequest
[all...]
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/rest/
H A DUmaLabelResourceTest.java64 private CreateRequest createRequest; field in class:UmaLabelResourceTest
84 createRequest = mock(CreateRequest.class);
101 given(createRequest.getContent()).willReturn(umaLabel);
108 Promise<ResourceResponse, ResourceException> promise = umaLabelResource.createInstance(serverContext, createRequest);
122 given(createRequest.getContent()).willReturn(umaLabel);
127 Promise<ResourceResponse, ResourceException> promise = umaLabelResource.createInstance(serverContext, createRequest);
141 given(createRequest.getContent()).willReturn(umaLabel);
146 Promise<ResourceResponse, ResourceException> promise = umaLabelResource.createInstance(serverContext, createRequest);
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/impl/
H A DMaintenanceFilter.java46 public Promise<ResourceResponse, ResourceException> filterCreate(Context context, CreateRequest createRequest, argument
48 return new ServiceUnavailableException("Unable to create on " + createRequest.getResourcePath() +
H A DPassthroughFilter.java46 public Promise<ResourceResponse, ResourceException> filterCreate(Context context, CreateRequest createRequest, argument
48 return requestHandler.handleCreate(context, createRequest);
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/rest/
H A DUmaLabelResourceTest.java66 private CreateRequest createRequest; field in class:UmaLabelResourceTest
86 createRequest = mock(CreateRequest.class);
103 given(createRequest.getContent()).willReturn(umaLabel);
110 Promise<ResourceResponse, ResourceException> promise = umaLabelResource.createInstance(serverContext, createRequest);
124 given(createRequest.getContent()).willReturn(umaLabel);
129 Promise<ResourceResponse, ResourceException> promise = umaLabelResource.createInstance(serverContext, createRequest);
143 given(createRequest.getContent()).willReturn(umaLabel);
148 Promise<ResourceResponse, ResourceException> promise = umaLabelResource.createInstance(serverContext, createRequest);
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/
H A DOpenAMClientRegistrationStoreTest.java90 OAuth2Request request = createRequest();
101 OAuth2Request request = createRequest();
112 OAuth2Request request = createRequest();
153 OAuth2Request request = createRequest();
182 private OAuth2Request createRequest() { method in class:OpenAMClientRegistrationStoreTest
/forgerock/openidm-v4/openidm-provisioner-openicf/src/test/java/org/forgerock/openidm/provisioner/openicf/impl/
H A DOpenICFProvisionerServiceTest.java383 CreateRequest createRequest = Requests.newCreateRequest(resourceContainer, object);
384 JsonValue createdObject = connection.create(new SecurityContext(new RootContext(), "system", null ), createRequest).getContent();
439 CreateRequest createRequest = Requests.newCreateRequest(resourceContainer, object);
441 new SecurityContext(new RootContext(), "system", null), createRequest).getContent();
467 CreateRequest createRequest = Requests.newCreateRequest(resourceContainer, object);
469 new SecurityContext(new RootContext(), "system", null), createRequest).getContent();
516 CreateRequest createRequest = Requests.newCreateRequest(resourceContainer, object);
518 new SecurityContext(new RootContext(), "system", null), createRequest).getContent();
545 CreateRequest createRequest = Requests.newCreateRequest(resourceContainer, object);
547 new SecurityContext(new RootContext(), "system", null), createRequest)
[all...]
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/resource/
H A DDecoratedCollectionResourceProvider.java64 Context context, CreateRequest createRequest) {
65 return wrappedCollectionResourceProvider.createInstance(context, createRequest);
63 createInstance( Context context, CreateRequest createRequest) argument
/forgerock/openam-v13/openam-audit/openam-audit-core/src/main/java/org/forgerock/openam/audit/
H A DDefaultAuditServiceProxy.java104 private boolean isAuditEnabled(CreateRequest createRequest) { argument
105 JsonValue auditEventValue = createRequest.getContent();
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRealmContextFilterTest.java108 Request request = createRequest(HOSTNAME, ENDPOINT_PATH_ELEMENT);
127 Request request = createRequest(DNS_ALIAS_HOSTNAME, ENDPOINT_PATH_ELEMENT);
146 Request request = createRequest(INVALID_DNS_ALIAS_HOSTNAME, ENDPOINT_PATH_ELEMENT);
162 Request request = createRequest(HOSTNAME, SUB_REALM + "/" + ENDPOINT_PATH_ELEMENT);
182 Request request = createRequest(HOSTNAME, SUB_REALM_ALIAS + "/" + ENDPOINT_PATH_ELEMENT);
202 Request request = createRequest(HOSTNAME, INVALID_SUB_REALM + "/" + ENDPOINT_PATH_ELEMENT);
222 Request request = createRequest(DNS_ALIAS_HOSTNAME, SUB_REALM + "/" + ENDPOINT_PATH_ELEMENT);
242 Request request = createRequest(DNS_ALIAS_HOSTNAME, SUB_REALM_ALIAS + "/" + ENDPOINT_PATH_ELEMENT);
262 Request request = createRequest(HOSTNAME, ENDPOINT_PATH_ELEMENT + "?realm=" + OVERRIDE_REALM + "/");
282 Request request = createRequest(HOSTNAM
503 private Request createRequest(String hostname, String path) { method in class:RealmContextFilterTest
[all...]
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/
H A DRealmContextFilterTest.java119 Request request = createRequest(HOSTNAME, ENDPOINT_PATH_ELEMENT);
138 Request request = createRequest(DNS_ALIAS_HOSTNAME, ENDPOINT_PATH_ELEMENT);
158 Request request = createRequest(INVALID_DNS_ALIAS_HOSTNAME, ENDPOINT_PATH_ELEMENT);
174 Request request = createRequest(HOSTNAME, SUB_REALM + "/" + ENDPOINT_PATH_ELEMENT);
195 Request request = createRequest(HOSTNAME, SUB_REALM_ALIAS + "/" + ENDPOINT_PATH_ELEMENT);
216 Request request = createRequest(HOSTNAME, INVALID_SUB_REALM + "/" + ENDPOINT_PATH_ELEMENT);
236 Request request = createRequest(DNS_ALIAS_HOSTNAME, SUB_REALM + "/" + ENDPOINT_PATH_ELEMENT);
257 Request request = createRequest(DNS_ALIAS_HOSTNAME, SUB_REALM_ALIAS + "/" + ENDPOINT_PATH_ELEMENT);
277 Request request = createRequest(HOSTNAME, ENDPOINT_PATH_ELEMENT + "?realm=" + OVERRIDE_REALM + "/");
298 Request request = createRequest(HOSTNAM
524 private Request createRequest(String hostname, String path) { method in class:RealmContextFilterTest
[all...]
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/fluent/
H A DAbstractAuditFilterTest.java62 protected CreateRequest createRequest; field in class:AbstractAuditFilterTest
78 createRequest = newCreateRequest("mockResource", json(object()));
137 when(filterChain.handleCreate(eq(context), eq(createRequest)))
155 when(filterChain.handleCreate(eq(context), eq(createRequest)))
H A DAuditEndpointAuditFilterTest.java88 auditEndpointAuditFilter.filterCreate(context, createRequest, filterChain);
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/fluent/
H A DAbstractAuditFilterTest.java62 protected CreateRequest createRequest; field in class:AbstractAuditFilterTest
78 createRequest = newCreateRequest("mockResource", json(object()));
137 when(filterChain.handleCreate(eq(context), eq(createRequest)))
155 when(filterChain.handleCreate(eq(context), eq(createRequest)))
H A DAuditEndpointAuditFilterTest.java88 auditEndpointAuditFilter.filterCreate(context, createRequest, filterChain);
/forgerock/openidm-v4/openidm-audit/src/test/java/org/forgerock/openidm/audit/impl/
H A DAuditServiceImplTest.java118 final CreateRequest createRequest = Requests.newCreateRequest(TEST_AUDIT_TOPIC, auditEvent.getValue());
122 new RootContext(), createRequest);
129 assertThat(resourceResponse.getContent().asMap()).isEqualTo(createRequest.getContent().asMap());
317 final CreateRequest createRequest = Requests.newCreateRequest(TEST_AUDIT_TOPIC, auditEvent.getValue());
321 new RootContext(), createRequest);
327 final JsonValue expectedResource = createRequest.getContent();
331 assertThat(content.asMap()).isEqualTo(createRequest.getContent().asMap());
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/rest/
H A DScriptResourceTest.java141 CreateRequest createRequest = mock(CreateRequest.class);
142 when(createRequest.getContent()).thenReturn(requestJson);
145 ResourceResponse response = scriptResource.createInstance(context, createRequest).getOrThrowUninterruptibly();
293 CreateRequest createRequest = mock(CreateRequest.class);
294 when(createRequest.getContent()).thenReturn(requestJson);
297 scriptResource.createInstance(context, createRequest).getOrThrowUninterruptibly();
309 CreateRequest createRequest = mock(CreateRequest.class);
310 when(createRequest.getContent()).thenReturn(requestJson);
313 scriptResource.createInstance(context, createRequest).getOrThrowUninterruptibly();
325 CreateRequest createRequest
[all...]
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/rest/
H A DScriptResourceTest.java141 CreateRequest createRequest = mock(CreateRequest.class);
142 when(createRequest.getContent()).thenReturn(requestJson);
145 ResourceResponse response = scriptResource.createInstance(context, createRequest).getOrThrowUninterruptibly();
293 CreateRequest createRequest = mock(CreateRequest.class);
294 when(createRequest.getContent()).thenReturn(requestJson);
297 scriptResource.createInstance(context, createRequest).getOrThrowUninterruptibly();
309 CreateRequest createRequest = mock(CreateRequest.class);
310 when(createRequest.getContent()).thenReturn(requestJson);
313 scriptResource.createInstance(context, createRequest).getOrThrowUninterruptibly();
325 CreateRequest createRequest
[all...]

Completed in 5812 milliseconds

12345